{"info":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","description":"<html><head></head><body><p>The LeadCenter.AI API is a REST API that uses JSON for all requests and responses. It provides endpoints to manage leads, users, notes, tasks, calendar and other resources.</p>\n<h3 id=\"authentication\">Authentication:</h3>\n<p>All endpoints require authentication via a Bearer token, which is provided after a successful login or registration, or generated from the LeadCenter.AI <strong>CRM Settings → Integrations page</strong> (Web Interface), or obtained through the OAuth 2.0 flow.</p>\n<h3 id=\"errors\">Errors:</h3>\n<p>LeadCenter.AI uses standard HTTP response codes to indicate the status of an API request. Generally, 2xx response codes indicate success, 4xx represents a problem that occurred (e.x., authentication token was not included in request, or required fields were not present to create a \"contact\"). 5xx codes indicate there was an error on the server, even though your request appears valid.</p>\n<h3 id=\"pagination\">Pagination:</h3>\n<h4 id=\"all-resources-in-the-api-have-support-for-pagination\">All resources in the API have support for pagination</h4>\n<p>This requires both <code>per_page</code> and a <code>page</code> parameter to be passed when retrieving paginated data.</p>\n<h5 id=\"pagination-example\">Pagination example</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [{...}, {...}, {...}, {...}],\n    \"links\": {\n        \"first\": \"{{domain}}/v1/task-lists?page=1\",\n        \"last\": \"{{domain}}/v1/task-lists?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"« Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"{{domain}}/v1/task-lists?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next »\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"{{domain}}/v1/task-lists\",\n        \"per_page\": 10,\n        \"to\": 4,\n        \"total\": 4\n    }\n}\n\n</code></pre>\n<h3 id=\"responses\">Responses:</h3>\n<blockquote>\n<p><em>Each request made to the API will generate a JSON response. The responses can be classified into 3 distinct types.</em> </p>\n</blockquote>\n<h5 id=\"successful-response-returning-a-single-resource\">Successful response returning a single resource</h5>\n<p>When returning a single resource, the object is represented as a JSON object of its properties.</p>\n<h5 id=\"successful-response-returning-a-collection-of-resources\">Successful response returning a collection of resources</h5>\n<p>When returning a collection of resources, the response is an array of objects (<code>[{}]</code>) by default. If the collection is paginated, the response is wrapped in a JSON object with a <code>data</code> property, and includes <code>meta</code> and <code>links</code> for pagination details.</p>\n<h5 id=\"unsuccessful-response\">Unsuccessful response</h5>\n<p>When a request is unsuccessful, the API returns a JSON object with three keys: <code>success</code> (set to <code>false</code>), <code>message</code> (providing a brief overview of the error), and <code>errors</code> (containing one or more specific error details).</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"31945693","collectionId":"40e76ef0-46a5-4edd-aede-229b92d0770d","publishedId":"2sB2qUmPrr","public":true,"customColor":{"top-bar":"fff","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-05-13T21:55:21.000Z"},"item":[{"name":"Auth","item":[{"name":"Login","event":[{"listen":"test","script":{"id":"8929f706-8b52-4c39-a459-1f0e952d3cd8","exec":[""],"type":"text/javascript","packages":{}}}],"id":"6a619036-8e29-4c67-a8e7-65967ab3b726","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"farhan@leadcenter.ai\",\n    \"password\": \"pieDroid@1234\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/auth/login","description":"<h3 id=\"request\">Request</h3>\n<p>This endpoint allows the user to log in by sending a POST request to the specified URL. The request should include the user's email and password in the request body.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p>email (string): The email of the user.</p>\n</li>\n<li><p>password (string): The password of the user.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response will be in JSON format with the following schema:</p>\n<h4 id=\"success\"><strong>Success:</strong></h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"access_token\": \"******************************\",\n    \"token_type\": \"bearer\"\n}\n\n</code></pre>\n<h4 id=\"error\"><strong>Error:</strong></h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"The provided credentials are incorrect.\",\n    \"errors\": [\n        \"The provided credentials are incorrect.\"\n    ],\n    \"success\": false\n}\n\n</code></pre>\n","urlObject":{"path":["v1","auth","login"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"431f2dac-b3c5-4d91-9e65-8c7540a24c6c","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"janet.smith@example.com\",\n    \"password\": \"Strongpassword11\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 14:32:41 GMT"},{"key":"X-RateLimit-Limit","value":"120"},{"key":"X-RateLimit-Remaining","value":"119"},{"key":"phpdebugbar-id","value":"X425b6fb16a646fbe2ad556cef1bd6b03"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"215|********************************************\",\n    \"token_type\": \"bearer\"\n}"},{"id":"b18e548c-cd70-4232-a343-a8d06929da2a","name":"Error","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"sprinter@example.com\",\n    \"password\": \"sprinter\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/auth/login"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 14:21:55 GMT"},{"key":"X-RateLimit-Limit","value":"120"},{"key":"X-RateLimit-Remaining","value":"119"},{"key":"phpdebugbar-id","value":"Xf0cb7f52530bdf1a5343a884716b4406"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The provided credentials are incorrect.\",\n    \"errors\": [\n        \"The provided credentials are incorrect.\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"6a619036-8e29-4c67-a8e7-65967ab3b726"},{"name":"Register","id":"97c56132-c1f1-43ff-a285-3b103296feda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Janet Smith\",\n    \"email\": \"janet.smith@example.com\",\n    \"password\": \"Strongpassword11\",\n    \"mobile\": \"+55555555555\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/auth/register","description":"<h3 id=\"register-user\">Register User</h3>\n<p>This endpoint allows you to register a new user.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p><code>name</code> (string): The name of the user.</p>\n<p><code>email</code> (string): The email address of the user.</p>\n<p><code>password</code> (string): The password for the user account.</p>\n<p><code>mobile</code> (string): The mobile number of the user.</p>\n<h4 id=\"response\">Response</h4>\n<h4 id=\"success\"><strong>Success</strong></h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"access_token\": \"161|5DbnqqNSvTXZRxbYCJuR7iG2J55T7CRHSFo07PfU099f3cb3\",\n    \"token_type\": \"bearer\"\n}\n\n</code></pre>\n<h4 id=\"errors\"><strong>Errors</strong></h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Validation failed\",\n    \"errors\": [\n        \"The email has already been taken.\"\n        \"The password field must be at least 8 characters.\"\n    ],\n    \"success\": false\n}\n\n</code></pre>\n","urlObject":{"path":["v1","auth","register"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"6782f506-9880-4303-b57b-9bf2098ed840","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Janet Smith\",\n    \"email\": \"janet.smith@example.com\",\n    \"password\": \"Strongpassword11\",\n    \"mobile\": \"+55555555555\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/auth/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 14:24:38 GMT"},{"key":"X-RateLimit-Limit","value":"120"},{"key":"X-RateLimit-Remaining","value":"119"},{"key":"phpdebugbar-id","value":"Xabca2585005684f8e4bbf35423de97aa"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"214|********************************************\",\n    \"token_type\": \"bearer\"\n}"},{"id":"3131fa27-87ec-421f-b4f6-55c39485855f","name":"Error","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Janet Smith\",\n    \"email\": \"janet.smith@example.com\",\n    \"password\": \"Strongpassword11\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/auth/register"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 14:35:24 GMT"},{"key":"X-RateLimit-Limit","value":"120"},{"key":"X-RateLimit-Remaining","value":"118"},{"key":"phpdebugbar-id","value":"X888d0780aa09be7f7ac5bad7f408b744"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validation failed\",\n    \"errors\": [\n        \"The email has already been taken.\",\n        \"The mobile field is required.\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"97c56132-c1f1-43ff-a285-3b103296feda"},{"name":"Forgot Password","id":"b3257bf0-0a9d-4cfe-a99d-1d73568d2169","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"janet.smith@example.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/auth/forgot-password","description":"<p>This endpoint is used to initiate the process of resetting a user's password by sending a reset code to the provided email address.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<p><code>email</code> (string, required): The email address for which the password reset link will be sent.</p>\n<h3 id=\"response\">Response</h3>\n<p>The response will indicate the success or failure of the request to initiate the password reset process.</p>\n<h4 id=\"success\">Success:</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"If the provided email is associated with an account, a reset code will be sent.\"\n}\n\n</code></pre>\n<h4 id=\"error\"><strong>Error:</strong></h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"The email field must be a valid email address.\",\n    \"errors\": [\n        \"The email field must be a valid email address.\"\n    ],\n    \"success\": false\n}\n\n</code></pre>\n","urlObject":{"path":["v1","auth","forgot-password"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"bbb1dadd-cd81-4fa8-87ce-b7e37d66bdcd","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"janet.smith@example.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/auth/forgot-password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 15:05:12 GMT"},{"key":"X-RateLimit-Limit","value":"120"},{"key":"X-RateLimit-Remaining","value":"119"},{"key":"phpdebugbar-id","value":"Xf4cea9928eb7431582864a2468a36bce"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"If the provided email is associated with an account, a reset code will be sent.\"\n}"},{"id":"c60a43e3-aa65-4eaf-b14f-c9d7614e715f","name":"Error","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"janet.smith\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/auth/forgot-password"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 15:05:40 GMT"},{"key":"X-RateLimit-Limit","value":"120"},{"key":"X-RateLimit-Remaining","value":"116"},{"key":"phpdebugbar-id","value":"X1220f8d9a5bd95a62908acd0745ca07a"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validation failed\",\n    \"errors\": [\n        \"The email field must be a valid email address.\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"b3257bf0-0a9d-4cfe-a99d-1d73568d2169"},{"name":"Reset Password","id":"7b40ffc0-6544-48df-b1ea-73463fb3a889","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"password\": \"StrongPassword11\",\n    \"password_confirmation\": \"StrongPassword11\",\n    \"token\": \"UB0v1bqC\",\n    \"email\": \"janet.smith@example.com\"\n}\n","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/auth/reset-password","description":"<h3 id=\"reset-password\">Reset Password</h3>\n<p>This endpoint is used to reset the password for a user account.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>password</code> (string, required): The new password for the user account.</p>\n</li>\n<li><p><code>password_confirmation</code> (string, required): The confirmation of the new password.</p>\n</li>\n<li><p><code>token</code> (string, required): The reset token received by the user.</p>\n</li>\n<li><p><code>email</code> (string, required): The email address of the user.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will indicate the success or failure of the password reset request.</p>\n<h4 id=\"success\">Success</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Password has been reset successfully\"\n}\n\n</code></pre>\n<h4 id=\"error\">Error</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Invalid token\",\n    \"errors\": [\"Token expired or invalid\"],\n    \"success\": false\n}\n\n</code></pre>\n","urlObject":{"path":["v1","auth","reset-password"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"6cd6cbbc-1b8f-47c9-809c-bd6ed0bb3a58","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"password\": \"StrongPassword11\",\n    \"password_confirmation\": \"StrongPassword11\",\n    \"token\": \"UB0v1bqC\",\n    \"email\": \"janet.smith@example.com\"\n}\n","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/auth/reset-password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 15:07:07 GMT"},{"key":"X-RateLimit-Limit","value":"120"},{"key":"X-RateLimit-Remaining","value":"118"},{"key":"phpdebugbar-id","value":"Xca8c9c28138d002e28ccbefe3d6ead7e"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Password has been reset successfully\"\n}"},{"id":"653ecd3e-e41f-430a-86a6-038bb8a9ef1c","name":"Error","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"password\": \"StrongPassword11\",\n    \"password_confirmation\": \"StrongPassword11\",\n    \"token\": \"UB0v1bqCx\",\n    \"email\": \"janet.smith@example.com\"\n}\n","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/auth/reset-password"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 15:06:56 GMT"},{"key":"X-RateLimit-Limit","value":"120"},{"key":"X-RateLimit-Remaining","value":"119"},{"key":"phpdebugbar-id","value":"Xe02f012ce29b9bc2033743dee0630a61"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid token\",\n    \"errors\": [\n        \"Token expired or invalid\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"7b40ffc0-6544-48df-b1ea-73463fb3a889"},{"name":"Verify Email","id":"a367aa26-f6be-489c-b460-e19889ac1b58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"token\": \"eE2WrkWC\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/auth/verify-email","description":"<h3 id=\"verify-email\">Verify Email</h3>\n<p>This endpoint is used to verify the user's email by providing the verification token.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p><strong><code>token</code></strong> (string, required): The verification token received by the user.</p>\n<h4 id=\"response\">Response</h4>\n<h4 id=\"success\"><strong>Success</strong></h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Email verified successfully\"\n}\n\n</code></pre>\n<h4 id=\"errors\"><strong>Errors</strong></h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Validation failed\",\n    \"errors\": [\"Token is required\"],\n    \"success\": false\n}\n\n</code></pre>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"980ad87a-ad74-4fa0-80eb-dcd82dc5fccb","id":"980ad87a-ad74-4fa0-80eb-dcd82dc5fccb","name":"Auth","type":"folder"}},"urlObject":{"path":["v1","auth","verify-email"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"0562c722-d39f-4a08-805b-de408f856dcb","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"token\": \"eE2WrkWC\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/auth/verify-email"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 15:08:22 GMT"},{"key":"X-RateLimit-Limit","value":"120"},{"key":"X-RateLimit-Remaining","value":"119"},{"key":"phpdebugbar-id","value":"X3366f4ea359cd3eaf0e0c8afb12c52c6"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Email verified successfully\"\n}"},{"id":"0cc1f391-6c1d-44cd-8f65-730ab14f37f3","name":"Error","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"token\": \"eE2WrkWC\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/auth/verify-email"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 15:09:52 GMT"},{"key":"X-RateLimit-Limit","value":"120"},{"key":"X-RateLimit-Remaining","value":"119"},{"key":"phpdebugbar-id","value":"X9d56badb2cc8a93b2fb5483ade9c7995"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid token\",\n    \"errors\": [\n        \"Token expired or invalid\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"a367aa26-f6be-489c-b460-e19889ac1b58"}],"id":"980ad87a-ad74-4fa0-80eb-dcd82dc5fccb","description":"<p>All requests to LeadCenter.AI must be authenticated. You can authorize requests either by using a personal API access token (available in your user settings) or by obtaining a token through the Login or Register endpoints.</p>\n<p>LeadCenter’s API supports OAuth 2.0 authentication using both the authorization code grant and refresh token flow, as outlined in RFC 6749. Access is granted on a per-user basis, meaning each user’s permissions may vary.</p>\n<p>To get started, you'll need to register your application so we can provide a unique client ID and client secret. The client ID is safe to expose during the authorization flow, while the client secret must be kept confidential—it's used to verify your app’s identity with LeadCenter. If you think your secret has been exposed, reach out to us right away to get it rotated.</p>\n<p>To request credentials and register your app, email us at <a href=\"https://null\"><b>support@leadcenter.ai</b></a> with details about your application.</p>\n<hr />\n<h3 id=\"oauth-20-authorization-code-grant-flow\"><strong>OAuth 2.0 (Authorization Code Grant) Flow:</strong></h3>\n<h4 id=\"1-authorization-request\">1. <strong>Authorization Request</strong></h4>\n<p>Redirect the user to:</p>\n<p><code>https://app.leadcenter.ai/oauth/authorize</code></p>\n<p><strong>Parameters</strong></p>\n<p><code>client_id</code>: Must match what was sent to <a href=\"https://mailto:support@leadcenter.ai\">support@leadcenter.ai</a></p>\n<p><code>redirect_uri</code>: Must match what was sent to <a href=\"https://mailto:support@leadcenter.ai\">support@leadcenter.ai</a></p>\n<p><code>response_type</code>: code</p>\n<p><code>scope</code>: Optional</p>\n<p><strong>Example</strong></p>\n<p><code>https://app.leadcenter.ai/oauth/authorize?client_id=YOUR_CLIENT_ID&amp;redirect_uri=YOUR_REDIRECT_URI&amp;response_type=code&amp;scope=\\\\*</code></p>\n<p>If the user is not already logged into LeadCenter.ai, they’ll be prompted to log in and then approve access for your application.</p>\n<h4 id=\"2-token-exchange\">2. <strong>Token Exchange</strong></h4>\n<p>After the user grants access, they’ll be redirected back to your <code>redirect_uri</code> with an authorization <code>code</code>.</p>\n<p>Exchange this code for an access token by making a <code>POST</code> request to:</p>\n<p><code>https://app.leadcenter.ai/oauth/token</code></p>\n<p><strong>Example request body:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"client_id\":\"CLIENT_ID\",\n    \"client_secret\":\"CLIENT_SECRET\",\n    \"code\":\"AUTHORIZATION_CODE\",\n    \"grant_type\":\"authorization_code\",\n    \"redirect_uri\":\"CALLBACK_URL\"\n}\n\n</code></pre>\n<p><strong>Example response body:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"access_token\": \"eyjxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    \"created_at\": 10588285800,\n    \"expires_in\": 7200,\n    \"refresh_token\": \"eyjxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    \"scope\": \"\",\n    \"token_type\": \"Bearer\"\n}\n\n</code></pre>\n<h4 id=\"3-refreshing-the-token\">3. Refreshing the Token</h4>\n<p>To obtain a new access token using the refresh token:</p>\n<p><code>POST https://app.leadcenter.ai/oauth/token</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"client_id\":\"CLIENT_ID\",\n    \"client_secret\":\"CLIENT_SECRET\",\n    \"code\":\"AUTHORIZATION_CODE\",\n    \"grant_type\":\"refresh_token\",\n    \"refresh_token\":\"REFRESH_TOKEN\"\n}\n\n</code></pre>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"9d80b4e5-d6fc-4146-b921-701ea111c551","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"7bf57c3c-94c9-48d8-87f3-d174c856a17d","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"980ad87a-ad74-4fa0-80eb-dcd82dc5fccb"},{"name":"Leads","item":[{"name":"Communication","item":[{"name":"Emails","item":[{"name":"List","id":"ecab0017-3a5a-4915-bb74-b5785f1520df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{domain}}/v1/leads/:id/communication/emails","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","communication","emails"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[{"id":"cc5d5741-5c63-4625-8961-db99dde24928","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{domain}}/v1/leads/:id/communication/emails","host":["{{domain}}"],"path":["v1","leads",":id","communication","emails"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 15:20:20 GMT"},{"key":"phpdebugbar-id","value":"X8cd3923a43a6bae45de27d191abb97a0"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 204082,\n        \"lead_id\": 416823,\n        \"lead\": {\n            \"id\": 416823,\n            \"first_name\": \"James\",\n            \"last_name\": \"Harper\",\n            \"email\": \"james,harper@example.com\",\n            \"phone\": \"(708) 379-7184\",\n            \"created_at\": \"2025-05-03T00:33:51.000000Z\",\n            \"updated_at\": \"2025-05-08T13:18:11.000000Z\"\n        },\n        \"from\": \"support@leadcenter.ai\",\n        \"to\": [\n            \"james,harper@example.com\"\n        ],\n        \"cc\": null,\n        \"subject\": \"Your Weekly Performance Report\",\n        \"body\": \"Hi Olivia, here’s your report for this week. Keep up the great work!\",\n        \"is_private\": false,\n        \"sent_at\": \"2025-05-03T00:33:54.000000Z\",\n        \"created_at\": \"2025-05-03T00:33:54.000000Z\",\n        \"updated_at\": \"2025-05-03T00:33:54.000000Z\"\n    },\n    {\n        \"id\": 204093,\n        \"lead_id\": 416823,\n        \"lead\": {\n            \"id\": 416823,\n            \"first_name\": \"James\",\n            \"last_name\": \"Harper\",\n            \"email\": \"james,harper@example.com\",\n            \"phone\": \"(708) 379-7184\",\n            \"created_at\": \"2025-05-03T00:33:51.000000Z\",\n            \"updated_at\": \"2025-05-08T13:18:11.000000Z\"\n        },\n        \"from\": \"support@leadcenter.ai\",\n        \"to\": [\n            \"james,harper@example.com\",\n            \"ethan.collins@example.com\"\n        ],\n        \"cc\": [\"ava.mitchell@example.com\"],\n        \"subject\": \"Welcome to LeadCenter\",\n        \"body\": \"Hi John, thank you for signing up. Let us know if you need anything!\",\n        \"is_private\": false,\n        \"sent_at\": \"2025-05-05T14:45:00.000000Z\",\n        \"created_at\": \"2025-05-05T15:35:15.000000Z\",\n        \"updated_at\": \"2025-05-05T15:35:15.000000Z\"\n    }\n]"},{"id":"a1936164-20f4-463b-9ea7-7b46309c1506","name":"Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{domain}}/v1/leads/:id/communication/emails","host":["{{domain}}"],"path":["v1","leads",":id","communication","emails"],"variable":[{"key":"id","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 15:20:53 GMT"},{"key":"phpdebugbar-id","value":"X6455fa2f82bc870998f8e0ac4c960535"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead not found\",\n    \"errors\": [\n        \"The requested lead could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"ecab0017-3a5a-4915-bb74-b5785f1520df"}],"id":"00d8b5f4-4b29-4ca3-a1fb-00cf660e5d80","description":"<p>Returns a collection of all email messages sent to or received from the lead. Each entry includes metadata such as subject, sender, recipient, timestamp, and status (e.g., delivered, opened).</p>\n","_postman_id":"00d8b5f4-4b29-4ca3-a1fb-00cf660e5d80","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"Calls","item":[{"name":"List","id":"d8687e97-ae70-4262-a3d3-0ec5f37c75f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{domain}}/v1/leads/:id/communication/calls","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","communication","calls"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[{"id":"e9dbc518-75b9-4894-9b6d-091615f78d7b","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{domain}}/v1/leads/:id/communication/calls","host":["{{domain}}"],"path":["v1","leads",":id","communication","calls"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 15:34:55 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n    {\n        \"id\": 78577,\n        \"call_sid\": \"CA34c159a89a480402b5e422d4daece6a5\",\n        \"lead_id\": 461168,\n        \"lead\": {\n            \"id\": 461168,\n            \"first_name\": \"John\",\n            \"last_name\": \"Carter\",\n            \"email\": \"john.carter@example.com\",\n            \"phone\": \"+14029510921\",\n            \"created_at\": \"2025-05-01T10:15:00Z\",\n            \"updated_at\": \"2025-05-12T11:30:00Z\"\n        },\n        \"direction\": \"outbound-dial\",\n        \"call_type\": \"inbound\",\n        \"caller_number\": \"+99999999999\",\n        \"called_number\": \"+55555555555\",\n        \"call_status\": \"completed\",\n        \"duration\": 25,\n        \"is_private\": false\n    }\n]"},{"id":"317703c0-3e66-4493-9e02-77ca1c5807f4","name":"Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{domain}}/v1/leads/:id/communication/calls","host":["{{domain}}"],"path":["v1","leads",":id","communication","calls"],"variable":[{"key":"id","value":"4611681"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 15:39:41 GMT"},{"key":"phpdebugbar-id","value":"X5e2affb6782d291e080a68a03023466d"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead not found\",\n    \"errors\": [\n        \"The requested lead could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"d8687e97-ae70-4262-a3d3-0ec5f37c75f2"}],"id":"e56a7dd5-affa-4d9d-a404-de045a2c23fe","description":"<p>Contains a history of phone calls associated with the lead. Each call record includes the call type (inbound/outbound), duration, timestamp, and optional notes or call summaries.</p>\n","_postman_id":"e56a7dd5-affa-4d9d-a404-de045a2c23fe","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"Messages","item":[{"name":"List","id":"79028b3d-85ab-4804-a313-206a6972a38d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{domain}}/v1/leads/:id/communication/messages","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","communication","messages"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[{"id":"1ec3fa16-2d69-443b-a163-2354fb116fe1","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{domain}}/v1/leads/:id/communication/messages","host":["{{domain}}"],"path":["v1","leads",":id","communication","messages"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 15:45:12 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n    {\n        \"id\": 43504,\n        \"lead_id\": 461168,\n        \"lead\": {\n            \"id\": 461168,\n            \"first_name\": \"John\",\n            \"last_name\": \"Carter\",\n            \"email\": \"john.carter@example.com\",\n            \"phone\": \"+14029510921\",\n            \"created_at\": \"2025-05-01T10:15:00Z\",\n            \"updated_at\": \"2025-05-12T11:30:00Z\"\n        },\n        \"from\": \"+12818004771\",\n        \"to\": \"+919953846309\",\n        \"message\": \"Hi John, just a reminder — you have an appointment with Steve Doe on Tuesday, January 28th at 8:00 PM (EST). Reply 1 to confirm, 2 to reschedule, or 3 to cancel.\",\n        \"is_outgoing\": true,\n        \"is_private\": false,\n        \"status\": \"delivered\",\n        \"created_at\": \"2025-01-28T14:10:08Z\"\n    }\n]\n"},{"id":"69c55745-f808-4c4c-ab6f-3f37f6516cf1","name":"Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{domain}}/v1/leads/:id/communication/messages","host":["{{domain}}"],"path":["v1","leads",":id","communication","messages"],"variable":[{"key":"id","value":"409928"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 15:43:48 GMT"},{"key":"phpdebugbar-id","value":"X4776d3579d47cea48ce033d4350bbac0"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead not found\",\n    \"errors\": [\n        \"The requested lead could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"79028b3d-85ab-4804-a313-206a6972a38d"}],"id":"f8700f84-73f4-476c-bd8c-ce6eb102f78a","description":"<p>Represents SMS or internal chat messages. Each message includes sender/receiver info, content, delivery status, and timestamp.</p>\n","_postman_id":"f8700f84-73f4-476c-bd8c-ce6eb102f78a","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}}],"id":"e5f1faf2-05a3-498b-bc80-8d4626257bfd","description":"<p>The <code>communication</code> resource provides access to all interaction records related to a specific lead</p>\n","_postman_id":"e5f1faf2-05a3-498b-bc80-8d4626257bfd","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"Notes","item":[{"name":"List","id":"57eabe31-3718-4446-bc0f-5f5d724db6e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{domain}}/v1/leads/:id/notes","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","notes"],"host":["{{domain}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"48a9b10c-2c66-4d06-8038-27628eb75c7e","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{domain}}/v1/leads/:id/notes","host":["{{domain}}"],"path":["v1","leads",":id","notes"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 15:50:27 GMT"},{"key":"phpdebugbar-id","value":"Xebcf68abe4fdf719d4485bd0c97ae544"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 83607,\n    \"created_by\": 17673,\n    \"comment\": \"@MarkDoe please confirm rates\",\n    \"lead_id\": 416823,\n    \"lead\": {\n      \"id\": 416823,\n      \"first_name\": \"Joanne\",\n      \"last_name\": \"Hettinger-Pacocha\",\n      \"email\": \"joanne.hettinger@example.com\",\n      \"phone\": \"(708) 379-7184\",\n      \"created_at\": \"2025-05-03T00:33:51Z\",\n      \"updated_at\": \"2025-05-08T13:18:11Z\"\n    },\n    \"is_private\": false,\n    \"created_at\": \"2025-05-07T09:39:08Z\",\n    \"updated_at\": \"2025-05-07T10:03:56Z\"\n  }\n]\n"},{"id":"25fd9aa2-d40e-49d1-b6b6-14fb23024c3d","name":"Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{domain}}/v1/leads/:id/notes","host":["{{domain}}"],"path":["v1","leads",":id","notes"],"query":[{"key":"","value":"","type":"text","disabled":true}],"variable":[{"key":"id","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 19:49:58 GMT"},{"key":"phpdebugbar-id","value":"Xbe2c55e41483cf110751699bd2658790"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead not found\",\n    \"errors\": [\n        \"The requested lead could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"57eabe31-3718-4446-bc0f-5f5d724db6e8"},{"name":"Create","id":"33df80e6-8b58-43a2-995d-f09815d9036c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"comment\": \"Client confirmed appointment\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/leads/:id/notes","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","notes"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"e751ea7b-a393-408b-82d2-6f849c94119e","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"comment\": \"Client confirmed appointment\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/leads/:id/notes","host":["{{domain}}"],"path":["v1","leads",":id","notes"],"variable":[{"key":"id","value":""}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 19:55:23 GMT"},{"key":"phpdebugbar-id","value":"X2944a8de26120816076509af8b378fa2"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 83611,\n    \"created_by\": 17673,\n    \"creator\": {\n        \"id\": 17673,\n        \"first_name\": \"Mark\",\n        \"last_name\": \"Joe\",\n        \"email\": \"mark.joe@example.com\",\n        \"phone\": null,\n        \"created_at\": \"2023-09-05T22:51:03.000000Z\",\n        \"updated_at\": \"2025-05-12T15:00:19.000000Z\"\n    },\n    \"comment\": \"Client confirmed appointment\",\n    \"appointment_id\": null,\n    \"event_id\": null,\n    \"lead_id\": 416823,\n    \"lead\": {\n        \"id\": 416823,\n        \"first_name\": \"Joanne\",\n        \"last_name\": \"Hettinger-Pacocha\",\n        \"email\": \"joanne.hettinger@example.com\",\n        \"phone\": \"(708) 379-7184\",\n        \"created_at\": \"2025-05-03T00:33:51Z\",\n        \"updated_at\": \"2025-05-08T13:18:11Z\"\n    },\n    \"is_private\": false,\n    \"created_at\": \"2025-05-12T19:55:23.000000Z\",\n    \"updated_at\": \"2025-05-12T19:55:23.000000Z\"\n}"},{"id":"f7e7417b-0689-450f-b3c5-f49bd38a5d87","name":"Error","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"comment\": \"Client confirmed appointment\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/leads/:id/notes","host":["{{domain}}"],"path":["v1","leads",":id","notes"],"variable":[{"key":"id","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 19:57:42 GMT"},{"key":"phpdebugbar-id","value":"Xaffdcba5f8a435bf11a037fe19111549"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead not found\",\n    \"errors\": [\n        \"The requested lead could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"33df80e6-8b58-43a2-995d-f09815d9036c"},{"name":"Update","id":"65cd2b8c-c2d0-4eea-9116-d5bf16ffcccf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"comment\": \"@MarkDoe please confirm rates [UPDATED]\",\n    \"is_private\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/leads/:id/notes/:noteId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","notes",":noteId"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"},{"description":{"content":"<p>Note ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"noteId"}]}},"response":[{"id":"ece66d3c-3508-45b6-ae40-1aa67a15ded2","name":"Success","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"comment\": \"@MarkDoe please confirm rates [UPDATED]\",\n    \"is_private\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/leads/:id/notes/:noteId","host":["{{domain}}"],"path":["v1","leads",":id","notes",":noteId"],"variable":[{"key":"id","value":"","description":"Lead ID"},{"key":"noteId","value":"","description":"Note ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 22:24:51 GMT"},{"key":"phpdebugbar-id","value":"X9891195efcf61c885c16ac2447522a40"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 83611,\n    \"created_by\": 17673,\n    \"creator\": {\n        \"id\": 17673,\n        \"first_name\": \"Mark\",\n        \"last_name\": \"Joe\",\n        \"email\": \"mark.joe@example.com\",\n        \"phone\": null,\n        \"created_at\": \"2023-09-05T22:51:03.000000Z\",\n        \"updated_at\": \"2025-05-12T15:00:19.000000Z\"\n    },\n    \"comment\": \"@MarkDoe please confirm rates [UPDATED]\",\n    \"appointment_id\": null,\n    \"event_id\": null,\n    \"lead_id\": 416823,\n    \"lead\": {\n        \"id\": 416823,\n        \"first_name\": \"Joanne\",\n        \"last_name\": \"Hettinger-Pacocha\",\n        \"email\": \"joanne.hettinger@example.com\",\n        \"phone\": \"(708) 379-7184\",\n        \"created_at\": \"2025-05-03T00:33:51Z\",\n        \"updated_at\": \"2025-05-08T13:18:11Z\"\n    },\n    \"is_private\": true,\n    \"created_at\": \"2025-05-12T19:55:23.000000Z\",\n    \"updated_at\": \"2025-05-12T19:55:23.000000Z\"\n}"},{"id":"7ca830df-f31e-43e8-aed4-5bc8819f044e","name":"Error","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"comment\": \"@MarkDoe please confirm rates [UPDATED]\",\n    \"is_private\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/leads/:id/notes/:noteId","host":["{{domain}}"],"path":["v1","leads",":id","notes",":noteId"],"variable":[{"key":"id","value":"416823"},{"key":"noteId","value":"83601"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 22:24:31 GMT"},{"key":"phpdebugbar-id","value":"X5dc85b677c6c97e8d05402dbe20ae479"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Note not found\",\n    \"errors\": [\n        \"The requested note could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"65cd2b8c-c2d0-4eea-9116-d5bf16ffcccf"},{"name":"Delete","id":"266265f0-d948-4f15-a6dd-554e1d6a2b72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{domain}}/v1/leads/:id/notes/:noteId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","notes",":noteId"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"},{"description":{"content":"<p>Note ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"noteId"}]}},"response":[{"id":"f64e4eaf-85bf-4b9f-ac2d-9801a974ea14","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{domain}}/v1/leads/:id/notes/:noteId","host":["{{domain}}"],"path":["v1","leads",":id","notes",":noteId"],"variable":[{"key":"id","value":"","description":"Lead ID"},{"key":"noteId","value":"","description":"Note ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 22:33:35 GMT"},{"key":"phpdebugbar-id","value":"Xb3aff9c9a545b727c77f436fc80510f6"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Note deleted successfully\"\n}"},{"id":"27092484-ffe9-448f-a880-9613ba4078b4","name":"Error","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{domain}}/v1/leads/:id/notes/:noteId","host":["{{domain}}"],"path":["v1","leads",":id","notes",":noteId"],"variable":[{"key":"id","value":"416823","description":"Lead ID"},{"key":"noteId","value":"83611","description":"Note ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 22:28:50 GMT"},{"key":"phpdebugbar-id","value":"Xb89a154e316de358d8a5264aa09a97bc"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Note not found\",\n    \"errors\": [\n        \"The requested note could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"266265f0-d948-4f15-a6dd-554e1d6a2b72"},{"name":"Get","id":"c51151f4-dd6a-40f6-bae2-d33537ee3a23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/leads/:id/notes/:noteId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","notes",":noteId"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"},{"description":{"content":"<p>Note ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"noteId"}]}},"response":[{"id":"e73cb080-4be8-4e75-80b5-64f2b4862f1e","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/notes/:noteId","host":["{{domain}}"],"path":["v1","leads",":id","notes",":noteId"],"variable":[{"key":"id","value":"","description":"Lead ID"},{"key":"noteId","value":"","description":"Note ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 22:35:26 GMT"},{"key":"phpdebugbar-id","value":"X7c5f94f39c3a67cfbe1862810385bb97"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 83611,\n    \"created_by\": 17673,\n    \"creator\": {\n        \"id\": 17673,\n        \"first_name\": \"Mark\",\n        \"last_name\": \"Joe\",\n        \"email\": \"mark.joe@example.com\",\n        \"phone\": null,\n        \"created_at\": \"2023-09-05T22:51:03.000000Z\",\n        \"updated_at\": \"2025-05-12T15:00:19.000000Z\"\n    },\n    \"comment\": \"Client confirmed appointment\",\n    \"appointment_id\": null,\n    \"event_id\": null,\n    \"lead_id\": 416823,\n    \"lead\": {\n        \"id\": 416823,\n        \"first_name\": \"Joanne\",\n        \"last_name\": \"Hettinger-Pacocha\",\n        \"email\": \"joanne.hettinger@example.com\",\n        \"phone\": \"(708) 379-7184\",\n        \"created_at\": \"2025-05-03T00:33:51Z\",\n        \"updated_at\": \"2025-05-08T13:18:11Z\"\n    },\n    \"is_private\": false,\n    \"created_at\": \"2025-05-12T19:55:23.000000Z\",\n    \"updated_at\": \"2025-05-12T19:55:23.000000Z\"\n}"},{"id":"e1a26a2d-6142-4a11-9478-b26b4c6c2d81","name":"Error","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/notes/:noteId","host":["{{domain}}"],"path":["v1","leads",":id","notes",":noteId"],"variable":[{"key":"id","value":"416723","description":"Lead ID"},{"key":"noteId","value":"8361","description":"Note ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 22:36:40 GMT"},{"key":"phpdebugbar-id","value":"Xe306af4b88bd4492583b583cd36c8692"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Note not found\",\n    \"errors\": [\n        \"The requested note could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"c51151f4-dd6a-40f6-bae2-d33537ee3a23"}],"id":"0de0d48d-5263-4dbf-841c-f638238f8591","_postman_id":"0de0d48d-5263-4dbf-841c-f638238f8591","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"Upcoming Activities","item":[{"name":"List","id":"338b9a8b-4a5f-4545-aad1-d589c76115d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/leads/:id/upcoming-activities","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","upcoming-activities"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"6b033a30-e1ed-4a26-80fa-b32c5d8f5e74","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/upcoming-activities","host":["{{domain}}"],"path":["v1","leads",":id","upcoming-activities"],"variable":[{"key":"id","value":"","description":"Lead ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 22:45:24 GMT"},{"key":"phpdebugbar-id","value":"Xaea31edfd747b0323e5d9a83f13c8da5"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"appointments\": [\n        {\n            \"id\": 22455,\n            \"crm_type\": \"crm:appointment\",\n            \"title\": \"Initial Consultation\",\n            \"type\": \"appointment\",\n            \"lead_id\": 159481,\n            \"lead\": {\n                \"id\": 159481,\n                \"first_name\": \"Elfrieda\",\n                \"last_name\": \"Hand\",\n                \"email\": \"elfrieda.hand@example.com\",\n                \"phone\": \"(312) 555-0198\",\n                \"created_at\": \"2023-09-23T09:38:00Z\",\n                \"updated_at\": \"2025-05-12T22:45:21Z\"\n            },\n            \"host_user_calendar_id\": 1109,\n            \"host_user_id\": 12345,\n            \"host_user\": {\n                \"id\": 12345,\n                \"name\": \"Amanda Ross\",\n                \"first_name\": \"Amanda\",\n                \"last_name\": \"Ross\",\n                \"admin\": 1,\n                \"email\": \"amanda.ross@example.com\",\n                \"timezone\": \"America/New_York\",\n                \"calendar_id\": 1109\n            },\n            \"creator_id\": 12345,\n            \"creator\": {\n                \"id\": 12345,\n                \"name\": \"Amanda Ross\",\n                \"first_name\": \"Amanda\",\n                \"last_name\": \"Ross\",\n                \"admin\": 1,\n                \"email\": \"amanda.ross@example.com\",\n                \"timezone\": \"America/New_York\",\n                \"calendar_id\": 1109\n            },\n            \"organizers\": [\n                {\n                    \"name\": \"Amanda Ross\",\n                    \"email\": \"amanda.ross@example.com\"\n                }\n            ],\n            \"guests\": [],\n            \"location\": \"Custom location\",\n            \"calendar_ids\": [\n                1109\n            ],\n            \"start_time\": \"2025-05-14T23:30:00Z\",\n            \"end_time\": \"2025-05-15T00:30:00Z\",\n            \"is_all_day\": false,\n            \"timezone\": \"America/New_York\",\n            \"meeting_type\": \"custom\",\n            \"meeting_details\": \"Custom location\",\n            \"meeting_link_details\": null,\n            \"is_private\": false,\n            \"comment\": \"<p>Appointments description</p>\",\n            \"is_busy\": true,\n            \"user_available_locations\": [],\n            \"status_id\": 3,\n            \"status\": {\n                \"id\": 3,\n                \"name\": \"CONFIRMED\",\n                \"created_at\": \"2020-07-23T15:55:51.000000Z\",\n                \"updated_at\": \"2020-07-23T15:55:51.000000Z\"\n            },\n            \"parent_id\": null,\n            \"is_recurring\": false,\n            \"recurrence_rule\": null,\n            \"cancelled_at\": null,\n            \"cancellation_reason\": null,\n            \"priority\": null,\n            \"importance\": null,\n            \"category_id\": 622,\n            \"category\": {\n                \"id\": 622,\n                \"tenant_id\": 17673,\n                \"source\": \"redtail\",\n                \"source_id\": \"4\",\n                \"name\": \"Customer Service\",\n                \"color\": null,\n                \"is_public\": 0,\n                \"created_at\": \"2024-03-02T08:15:10.000000Z\",\n                \"updated_at\": \"2024-03-02T08:15:10.000000Z\",\n                \"deleted_at\": null\n            },\n            \"appointment_answers\": null,\n            \"is_spouse_included\": false,\n            \"zoomJoinUrl\": \"\",\n            \"spouse\": null,\n            \"source\": \"leadcenter\",\n            \"source_color\": \"#1f6cc4\",\n            \"created_at\": \"2025-05-12T22:44:17.000000Z\",\n            \"updated_at\": \"2025-05-12T22:44:30.000000Z\"\n        }\n    ],\n    \"tasks\": [\n        {\n            \"id\": 20133,\n            \"type\": \"task\",\n            \"title\": \"Upcoming task\",\n            \"owner_id\": 17673,\n            \"owner\": {\n                \"id\": 17673,\n                \"name\": \"Amanda Ross\",\n                \"first_name\": \"Amanda\",\n                \"last_name\": \"Ross\",\n                \"admin\": 1,\n                \"email\": \"amanda.ross@example.com\",\n                \"timezone\": \"America/New_York\",\n                \"phone\": null,\n                \"last_login\": null,\n                \"calendar_id\": 1109\n            },\n            \"team_id\": null,\n            \"team\": null,\n            \"lead_id\": 159481,\n            \"lead\": {\n                \"id\": 159481,\n                \"first_name\": \"Elfrieda\",\n                \"last_name\": \"Hand\",\n                \"email\": \"elfrieda.hand@example.com\",\n                \"phone\": \"(312) 555-0198\",\n                \"created_at\": \"2023-09-23T09:38:00Z\",\n                \"updated_at\": \"2025-05-12T22:45:21Z\"\n            },\n            \"task_list_id\": 243,\n            \"task_list\": {\n                \"id\": 243,\n                \"name\": \"PRIVATE LIST\",\n                \"description\": \"\",\n                \"order\": 4,\n                \"is_private\": true,\n                \"created_at\": \"2025-03-03T13:45:31.000000Z\",\n                \"updated_at\": \"2025-03-03T15:04:49.000000Z\"\n            },\n            \"state_id\": 2,\n            \"state\": {\n                \"id\": 2,\n                \"name\": \"In Progress\",\n                \"color\": \"lime\",\n                \"icon\": null,\n                \"created_at\": \"2020-11-14T07:35:29.000000Z\",\n                \"updated_at\": \"2023-12-01T13:31:55.000000Z\"\n            },\n            \"appointment_id\": null,\n            \"priority\": \"medium\",\n            \"is_recurring\": true,\n            \"recurrence_rule\": \"FREQ=DAILY;INTERVAL=1\",\n            \"recurrence_start_date\": \"2025-05-12\",\n            \"recurrence_summary\": \"Daily\",\n            \"completed_at\": null,\n            \"due_at\": \"2025-05-12T04:00:00.000000Z\",\n            \"cancelled_at\": null,\n            \"created_at\": \"2025-05-12T22:45:21.000000Z\",\n            \"updated_at\": \"2025-05-12T22:45:21.000000Z\",\n            \"deleted_at\": null\n        }\n    ]\n}"},{"id":"8276664f-ccfa-4824-b1d5-2342bc627cd7","name":"Error","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/upcoming-activities","host":["{{domain}}"],"path":["v1","leads",":id","upcoming-activities"],"variable":[{"key":"id","value":"","description":"Lead ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 12 May 2025 22:38:06 GMT"},{"key":"phpdebugbar-id","value":"X25adccf6a10b68ed5955a52abe4f58b0"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead not found\",\n    \"errors\": [\n        \"The requested lead could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"338b9a8b-4a5f-4545-aad1-d589c76115d2"}],"id":"a1ad21f3-c3ca-4bd2-8d8c-6553fe4da793","description":"<p>Retrieves a lead’s upcoming activities. Currently, this includes only upcoming <strong>tasks</strong> and <strong>appointments</strong>.</p>\n","_postman_id":"a1ad21f3-c3ca-4bd2-8d8c-6553fe4da793","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"Emails","item":[{"name":"List","id":"a985ae6b-7759-4620-a109-d8794721a85f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/leads/:id/emails","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","emails"],"host":["{{domain}}"],"query":[{"disabled":true,"key":"per_page","value":"10"},{"disabled":true,"key":"page","value":"1"}],"variable":[{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"f69eb3ae-73a6-417a-9551-28fce5ee6a48","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/emails","host":["{{domain}}"],"path":["v1","leads",":id","emails"],"query":[{"key":"per_page","value":"10","type":"text","disabled":true},{"key":"page","value":"1","disabled":true}],"variable":[{"key":"id","value":"","description":"Lead ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 08:35:42 GMT"},{"key":"phpdebugbar-id","value":"X8eaaf4470ba2deafbc36f432bd9a62d2"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 194936,\n        \"lead_id\": 416723,\n        \"title\": \"Home\",\n        \"type\": \"Home\",\n        \"email\": \"steve.doe@example.com\",\n        \"description\": null,\n        \"is_primary\": false,\n        \"is_preferred\": false,\n        \"created_at\": \"2025-03-11T17:16:27.000000Z\",\n        \"updated_at\": \"2025-04-27T16:33:16.000000Z\"\n    },\n    {\n        \"id\": 195017,\n        \"lead_id\": 416723,\n        \"title\": \"Main Email\",\n        \"type\": \"Home\",\n        \"email\": \"janet@example.com\",\n        \"description\": \"Client wants to change her email to janet@lexample.com\",\n        \"is_primary\": true,\n        \"is_preferred\": true,\n        \"created_at\": \"2025-04-27T16:33:16.000000Z\",\n        \"updated_at\": \"2025-04-27T16:33:16.000000Z\"\n    }\n]"},{"id":"ac63ac9f-2c38-43ab-b252-452eb84f5ba4","name":"Error","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/emails","host":["{{domain}}"],"path":["v1","leads",":id","emails"],"query":[{"key":"per_page","value":"10","type":"text","disabled":true},{"key":"page","value":"1","disabled":true}],"variable":[{"key":"id","value":"","description":"Lead ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 08:40:41 GMT"},{"key":"phpdebugbar-id","value":"Xa7d32098476e001aee64d9143c34b91a"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead not found\",\n    \"errors\": [\n        \"The requested lead could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"a985ae6b-7759-4620-a109-d8794721a85f"},{"name":"Create","id":"2bc9ec82-b6af-4d83-b3c8-20f40db42597","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Main Email\",\n    \"description\": \"Client wants to change her email to janet@leadcenter.ai\",\n    \"email\": \"janet.smith@example.com\",\n    \"type\": \"Home\", // ['Home', 'Work', 'Other']\n    \"is_primary\": true,\n    \"is_preferred\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/leads/:id/emails","description":"<h3 id=\"create-lead-email\">Create Lead Email</h3>\n<p>This endpoint allows you to add a new email to a specific lead identified by the <code>:id</code>.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>title</code> (string): The title of the email.</p>\n</li>\n<li><p><code>description</code> (string): A description of the email.</p>\n</li>\n<li><p><code>email</code> (string): The email address.</p>\n</li>\n<li><p><code>type</code> (string): The type of email Options (home, work, other).</p>\n</li>\n<li><p><code>is_primary</code> (boolean): Indicates if the email is the primary one.</p>\n</li>\n<li><p><code>is_preferred</code> (boolean): Indicates if the email is preferred by client.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will be in JSON format with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": 195023,\n    \"lead_id\": 416723,\n    \"title\": \"Main Email\",\n    \"type\": \"Home\",\n    \"email\": \"janet.smith@example.com\",\n    \"description\": \"Client wants to change her email to janet.smith@example.com\",\n    \"is_primary\": true,\n    \"is_preferred\": true,\n    \"created_at\": \"2025-05-13T08:39:25.000000Z\",\n    \"updated_at\": \"2025-05-13T08:39:25.000000Z\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","emails"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[{"id":"04879dd7-4522-4793-aa6e-61f64455c470","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Main Email\",\n    \"description\": \"Client wants to change her email to janet@leadcenter.ai\",\n    \"email\": \"janet.smith@example.com\",\n    \"type\": \"Home\", // ['Home', 'Work', 'Other']\n    \"is_primary\": true,\n    \"is_preferred\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/leads/:id/emails","host":["{{domain}}"],"path":["v1","leads",":id","emails"],"variable":[{"key":"id","value":""}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 08:39:25 GMT"},{"key":"phpdebugbar-id","value":"Xf68ca1edc6cb15f8ca1b58972c63e61c"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 195023,\n    \"lead_id\": 416723,\n    \"title\": \"Main Email\",\n    \"type\": \"Home\",\n    \"email\": \"janet.smith@example.com\",\n    \"description\": \"Client wants to change her email to janet.smith@example.com\",\n    \"is_primary\": true,\n    \"is_preferred\": true,\n    \"created_at\": \"2025-05-13T08:39:25.000000Z\",\n    \"updated_at\": \"2025-05-13T08:39:25.000000Z\"\n}"},{"id":"9cb226cd-002d-4715-ae54-3b2aa3072908","name":"Error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Main Email\",\n    \"description\": \"Client wants to change her email to janet@leadcenter.ai\",\n    \"email\": \"janet.smith@example.com\",\n    \"type\": \"Home\", // ['Home', 'Work', 'Other']\n    \"is_primary\": true,\n    \"is_preferred\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/leads/:id/emails","host":["{{domain}}"],"path":["v1","leads",":id","emails"],"variable":[{"key":"id","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 08:40:26 GMT"},{"key":"phpdebugbar-id","value":"X7ef6c77f4a229f93a0369fdefb912156"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead not found\",\n    \"errors\": [\n        \"The requested lead could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"2bc9ec82-b6af-4d83-b3c8-20f40db42597"},{"name":"Update","id":"b46dc5c7-9220-4b92-966a-ec96a4a62854","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"janet.smith@example.com\",\n    \"title\": \"Main Email\",\n    \"description\": \"Client wants to change her email to janet.smith@example.com\",\n    \"type\": \"Home\",\n    \"is_primary\": true,\n    \"is_preferred\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/leads/:id/emails/:emailId","description":"<p>This endpoint allows you to update the email details for a specific lead by providing the lead ID and email ID in the URL path. The request should be sent as an HTTP PUT to the specified URL.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request body should be in raw format and include the following parameters:</p>\n<ul>\n<li><p><code>title</code> (string): The title of the email.</p>\n</li>\n<li><p><code>description</code> (string): A description of the email.</p>\n</li>\n<li><p><code>email</code> (string): The email address.</p>\n</li>\n<li><p><code>type</code> (string): The type of email Options (home, work, other).</p>\n</li>\n<li><p><code>is_primary</code> (boolean): Indicates if the email is the primary one.</p>\n</li>\n<li><p><code>is_preferred</code> (boolean): Indicates if the email is preferred by client.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response to this request will include the updated details of the email for the specified lead, confirming the changes made.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": 195023,\n    \"lead_id\": 416723,\n    \"title\": \"Main Email\",\n    \"type\": \"Home\",\n    \"email\": \"janet.smith@example.com\",\n    \"description\": \"Client wants to change her email to janet.smith@example.com\",\n    \"is_primary\": true,\n    \"is_preferred\": true,\n    \"created_at\": \"2025-05-13T08:39:25.000000Z\",\n    \"updated_at\": \"2025-05-13T08:39:25.000000Z\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","emails",":emailId"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"},{"description":{"content":"<p>Email ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"emailId"}]}},"response":[{"id":"fa9c29c5-cb18-4e33-bf08-748efecbff2a","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"janet.smith@example.com\",\n    \"title\": \"Main Email\",\n    \"description\": \"Client wants to change her email to janet.smith@example.com\",\n    \"type\": \"Home\",\n    \"is_primary\": true,\n    \"is_preferred\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/leads/:id/emails/:emailId","host":["{{domain}}"],"path":["v1","leads",":id","emails",":emailId"],"variable":[{"key":"id","value":"416723","description":"Lead ID"},{"key":"emailId","value":"195023","description":"Email ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 08:49:07 GMT"},{"key":"phpdebugbar-id","value":"X5255c48a08bf5d4fe2594bd8af8a5cb3"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 195023,\n    \"lead_id\": 416723,\n    \"title\": \"Main Email\",\n    \"type\": \"Home\",\n    \"email\": \"janet.smith@example.com\",\n    \"description\": \"Client wants to change her email to janet.smith@example.com\",\n    \"is_primary\": true,\n    \"is_preferred\": false,\n    \"created_at\": \"2025-05-13T08:39:25.000000Z\",\n    \"updated_at\": \"2025-05-13T08:49:07.000000Z\"\n}"},{"id":"e6758d67-9c86-4fbe-9265-8ba815c7c864","name":"Error","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"janet.smith@example.com\",\n    \"title\": \"Main Email\",\n    \"description\": \"Client wants to change her email to janet.smith@example.com\",\n    \"type\": \"Home\",\n    \"is_primary\": true,\n    \"is_preferred\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/leads/:id/emails/:emailId","host":["{{domain}}"],"path":["v1","leads",":id","emails",":emailId"],"variable":[{"key":"id","value":"416723","description":"Lead ID"},{"key":"emailId","value":"","description":"Email ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 08:49:25 GMT"},{"key":"phpdebugbar-id","value":"Xea834871da1b33a8adbafc83ec6c3b85"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead email address not found\",\n    \"errors\": [\n        \"The requested lead email address could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"b46dc5c7-9220-4b92-966a-ec96a4a62854"},{"name":"Get","id":"9a79b60e-dd73-4e9e-9620-4222e9b5c7a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/leads/:id/emails/:emailId","description":"<h3 id=\"get-lead-email-details\">Get Lead Email Details</h3>\n<p>This endpoint retrieves the details of a specific email associated with a lead.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>{{domain}}/v1/leads/:id/emails/:emailId</code></p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will contain the details of the email associated with the lead in JSON format.</p>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": 195023,\n    \"lead_id\": 416723,\n    \"title\": \"Main Email\",\n    \"type\": \"Home\",\n    \"email\": \"janet.smith@example.com\",\n    \"description\": \"Client wants to change her email to janet.smith@example.com\",\n    \"is_primary\": true,\n    \"is_preferred\": false,\n    \"created_at\": \"2025-05-13T08:39:25.000000Z\",\n    \"updated_at\": \"2025-05-13T08:49:07.000000Z\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","emails",":emailId"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"},{"description":{"content":"<p>Email ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"emailId"}]}},"response":[{"id":"de1118a0-f444-4d9a-9969-3f908590d9c5","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/emails/:emailId","host":["{{domain}}"],"path":["v1","leads",":id","emails",":emailId"],"variable":[{"key":"id","value":"","description":"Lead ID"},{"key":"emailId","value":"","description":"Email ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 08:51:40 GMT"},{"key":"phpdebugbar-id","value":"Xaadb8bdf7b20c29052c0372124735ebf"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 195023,\n    \"lead_id\": 416723,\n    \"title\": \"Main Email\",\n    \"type\": \"Home\",\n    \"email\": \"janet.smith@example.com\",\n    \"description\": \"Client wants to change her email to janet.smith@example.com\",\n    \"is_primary\": true,\n    \"is_preferred\": false,\n    \"created_at\": \"2025-05-13T08:39:25.000000Z\",\n    \"updated_at\": \"2025-05-13T08:49:07.000000Z\"\n}"},{"id":"26fab444-9c15-4626-8d19-3d1064d785c4","name":"Error","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/emails/:emailId","host":["{{domain}}"],"path":["v1","leads",":id","emails",":emailId"],"variable":[{"key":"id","value":"","description":"Lead ID"},{"key":"emailId","value":"","description":"Email ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 08:52:59 GMT"},{"key":"phpdebugbar-id","value":"X95be7f95a7fcc67015751d6311ebcd55"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead not found\",\n    \"errors\": [\n        \"The requested lead could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"9a79b60e-dd73-4e9e-9620-4222e9b5c7a9"},{"name":"Delete","id":"b07708db-2156-43f8-a4b9-0ee791d75e32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{domain}}/v1/leads/:id/emails/:emailId","description":"<h3 id=\"delete-lead-email\">Delete Lead Email</h3>\n<p>This endpoint is used to delete a specific email associated with a lead.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: DELETE</p>\n</li>\n<li><p>URL: <code>{{domain}}/v1/leads/:id/emails/:emailId</code></p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will contain a <code>message</code> key with a string value, indicating the status of the deletion operation.</p>\n<p>The response for this request is a JSON object with the following schema:</p>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Lead email address deleted successfully\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","emails",":emailId"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"},{"description":{"content":"<p>Email ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"emailId"}]}},"response":[{"id":"6c2f7066-f019-480a-bfe1-120f82430761","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/emails/:emailId","host":["{{domain}}"],"path":["v1","leads",":id","emails",":emailId"],"variable":[{"key":"id","value":"","description":"Lead ID"},{"key":"emailId","value":"","description":"Email ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 08:54:34 GMT"},{"key":"phpdebugbar-id","value":"Xf123c7a62641635d4f7b6514f397224a"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead email address deleted successfully\"\n}"},{"id":"c7ca4dc0-c74a-49b1-94ac-e97dbf5728a8","name":"Error","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/emails/:emailId","host":["{{domain}}"],"path":["v1","leads",":id","emails",":emailId"],"variable":[{"key":"id","value":"","description":"Lead ID"},{"key":"emailId","value":"","description":"Email ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 08:53:56 GMT"},{"key":"phpdebugbar-id","value":"X4a3100c612e03f82b57cdd5e4516d839"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead email address not found\",\n    \"errors\": [\n        \"The requested lead email address could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"b07708db-2156-43f8-a4b9-0ee791d75e32"}],"id":"3706463c-6068-472c-bce1-721b688d28f6","_postman_id":"3706463c-6068-472c-bce1-721b688d28f6","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"Address","item":[{"name":"List","id":"3c4c34c3-1e63-41e1-92cf-bb10f831907b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/leads/:id/addresses","description":"<h3 id=\"get-lead-addresses\">Get Lead Addresses</h3>\n<p>This endpoint retrieves the addresses associated with a specific lead.</p>\n<p><strong>Request Body</strong><br />This request does not require a request body.</p>\n<p><strong>Response</strong></p>\n<ul>\n<li><p><code>id</code> (integer): The unique identifier for the address.</p>\n</li>\n<li><p><code>type</code> (string): The type of address.</p>\n</li>\n<li><p><code>title</code> (string): The title of the address.</p>\n</li>\n<li><p><code>description</code> (string): Additional description of the address.</p>\n</li>\n<li><p><code>country</code> (string): The country of the address.</p>\n</li>\n<li><p><code>state</code> (string): The state of the address.</p>\n</li>\n<li><p><code>city</code> (string): The city of the address.</p>\n</li>\n<li><p><code>address_line_1</code> (string): The first line of the address.</p>\n</li>\n<li><p><code>address_line_2</code> (string): The second line of the address.</p>\n</li>\n<li><p><code>zip_code</code> (string): The postal code of the address.</p>\n</li>\n<li><p><code>is_primary</code> (boolean): Indicates if the address is the primary address.</p>\n</li>\n<li><p><code>is_preferred</code> (boolean): Indicates if the address is the preferred address.</p>\n</li>\n<li><p><code>created_at</code> (string): The date and time when the address was created.</p>\n</li>\n<li><p><code>updated_at</code> (string): The date and time when the address was last updated.</p>\n</li>\n</ul>\n<p><strong>Example Response</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id\": 191348,\n        \"type\": \"Home\",\n        \"title\": \"Primary Residence\",\n        \"description\": \"\", \n        \"country\": \"United States\",\n        \"state\": \"California\",\n        \"city\": \"Los Angeles\",\n        \"address_line_1\": \"1234 Sunset Blvd\",\n        \"address_line_2\": \"Apt 5B\",\n        \"zip_code\": \"90001\",\n        \"is_primary\": false,\n        \"is_preferred\": false,\n        \"created_at\": \"2025-04-27T16:58:57Z\",\n        \"updated_at\": \"2025-04-27T17:07:26Z\"\n    }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","addresses"],"host":["{{domain}}"],"query":[{"disabled":true,"key":"per_page","value":"10"}],"variable":[{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"ed273180-1957-4b55-90d7-1b7b91336526","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/addresses","host":["{{domain}}"],"path":["v1","leads",":id","addresses"],"query":[{"key":"per_page","value":"10","type":"text","disabled":true}],"variable":[{"key":"id","value":"416723","description":"Lead ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 09:06:01 GMT"},{"key":"phpdebugbar-id","value":"X60ecbe3350ab83528a331f15f4569222"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 191348,\n        \"type\": \"Home\",\n        \"title\": \"Primary Residence\",\n        \"description\": \"\",\n        \"country\": \"United States\",\n        \"state\": \"California\",\n        \"city\": \"Los Angeles\",\n        \"address_line_1\": \"1234 Sunset Blvd\",\n        \"address_line_2\": \"Apt 5B\",\n        \"zip_code\": \"90001\",\n        \"is_primary\": false,\n        \"is_preferred\": false,\n        \"created_at\": \"2025-04-27T16:58:57Z\",\n        \"updated_at\": \"2025-04-27T17:07:26Z\"\n    }\n]"},{"id":"26032af9-3a86-46ca-9c05-d4af14b9ba3a","name":"Error","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/addresses","host":["{{domain}}"],"path":["v1","leads",":id","addresses"],"query":[{"key":"per_page","value":"10","type":"text","disabled":true}],"variable":[{"key":"id","value":"","description":"Lead ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 09:07:04 GMT"},{"key":"phpdebugbar-id","value":"X87ededfb4133d319f7a37d9cec015a6c"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead not found\",\n    \"errors\": [\n        \"The requested lead could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"3c4c34c3-1e63-41e1-92cf-bb10f831907b"},{"name":"Create","id":"6c2bee0a-3d46-4ba7-909e-de13bcc906ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Primary Home Address\",\n  \"description\": \"Client moved recently and requested this address be set as their primary and preferred location.\",\n  \"address_line_1\": \"456 Elm Street\",\n  \"address_line_2\": \"Suite 300\",\n  \"city\": \"Orlando\",\n  \"state_id\": 1,\n  \"country_id\": 1,\n  \"zip_code\": \"80001\",\n  \"type\": \"Home\", // ['Home', 'Work', 'Mailing', 'Other']\n  \"is_primary\": true,\n  \"is_preferred\": true\n}\n","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/leads/:id/addresses","description":"<h3 id=\"create-lead-address\">Create Lead Address</h3>\n<p>This endpoint allows the user to add a new address for a specific lead.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>title</code> (string, required): The title of the address.</p>\n</li>\n<li><p><code>description</code> (string, required): Description of the address.</p>\n</li>\n<li><p><code>address_line_1</code> (string, required): First line of the address.</p>\n</li>\n<li><p><code>address_line_2</code> (string): Second line of the address.</p>\n</li>\n<li><p><code>city</code> (string, required): City of the address.</p>\n</li>\n<li><p><code>state_id</code> (integer, required): ID of the state for the address. (Retrieve states list from List -&gt; System -&gt; States)</p>\n</li>\n<li><p><code>country_id</code> (integer, required): ID of the country for the address. (Retrieve countries list from List -&gt; System -&gt; Countries)</p>\n</li>\n<li><p><code>zip_code</code> (string, required): Zip code of the address.</p>\n</li>\n<li><p><code>type</code> (string, required): Type of the address Options: ['Home', 'Work', 'Mailing', 'Other'].</p>\n</li>\n<li><p><code>is_primary</code> (boolean, required): Indicates if the address is the primary address.</p>\n</li>\n<li><p><code>is_preferred</code> (boolean, required): Indicates if the address is the preferred address.</p>\n</li>\n</ul>\n<h4 id=\"response-json-schema\">Response (JSON Schema)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"title\": \"Primary Home Address\",\n  \"description\": \"Client moved recently and requested this address be set as their primary and preferred location.\",\n  \"address_line_1\": \"456 Elm Street\",\n  \"address_line_2\": \"Suite 300\",\n  \"city\": \"Orlando\",\n  \"state_id\": 1,\n  \"country_id\": 1,\n  \"zip_code\": \"80001\",\n  \"type\": \"Home\", // ['Home', 'Work', 'Mailing', 'Other']\n  \"is_primary\": true,\n  \"is_preferred\": true\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","addresses"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"47215f35-5da0-4859-93ba-49e0170e8ddf","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Primary Home Address\",\n  \"description\": \"Client moved recently and requested this address be set as their primary and preferred location.\",\n  \"address_line_1\": \"456 Elm Street\",\n  \"address_line_2\": \"Suite 300\",\n  \"city\": \"Orlando\",\n  \"state_id\": 1,\n  \"country_id\": 1,\n  \"zip_code\": \"80001\",\n  \"type\": \"Home\", // ['Home', 'Work', 'Mailing', 'Other']\n  \"is_primary\": true,\n  \"is_preferred\": true\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/leads/:id/addresses","host":["{{domain}}"],"path":["v1","leads",":id","addresses"],"variable":[{"key":"id","value":"416723"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 09:12:08 GMT"},{"key":"phpdebugbar-id","value":"X225b9575dacb1edd57808a53c84436cd"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 191350,\n    \"type\": \"Home\",\n    \"title\": \"Primary Home Address\",\n    \"description\": \"Client moved recently and requested this address be set as their primary and preferred location.\",\n    \"country\": \"United States\",\n    \"state\": \"Alaska\",\n    \"city\": \"Orlando\",\n    \"address_line_1\": \"456 Elm Street\",\n    \"address_line_2\": \"Suite 300\",\n    \"zip_code\": \"80001\",\n    \"is_primary\": true,\n    \"is_preferred\": true,\n    \"created_at\": \"2025-05-13T09:12:08.000000Z\",\n    \"updated_at\": \"2025-05-13T09:12:08.000000Z\"\n}"},{"id":"411451c4-e1a9-46ef-8c2c-5a4bdf8eabbe","name":"Error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Primary Home Address\",\n  \"description\": \"Client moved recently and requested this address be set as their primary and preferred location.\",\n  \"address_line_1\": \"456 Elm Street\",\n  \"address_line_2\": \"Suite 300\",\n  \"city\": \"Orlando\",\n  \"state_id\": 1,\n  \"country_id\": 1,\n  \"zip_code\": \"80001\",\n  \"type\": \"Home\", // ['Home', 'Work', 'Mailing', 'Other']\n  \"is_primary\": true,\n  \"is_preferred\": true\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/leads/:id/addresses","host":["{{domain}}"],"path":["v1","leads",":id","addresses"],"variable":[{"key":"id","value":"","description":"Lead ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 09:18:26 GMT"},{"key":"phpdebugbar-id","value":"Xc80c5344306b4de9c6e077d679716f5e"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead not found\",\n    \"errors\": [\n        \"The requested lead could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"6c2bee0a-3d46-4ba7-909e-de13bcc906ce"},{"name":"Update","id":"a2d905c0-3268-488f-bce2-fc270557a945","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Primary Home Address\",\n  \"description\": \"Client moved recently and requested this address be set as their primary and preferred location.\",\n  \"address_line_1\": \"456 Elm Street\",\n  \"address_line_2\": \"Suite 300\",\n  \"city\": \"Orlando\",\n  \"state_id\": 1,\n  \"country_id\": 1,\n  \"zip_code\": \"80001\",\n  \"type\": \"Mailing\", // ['Home', 'Work', 'Mailing', 'Other']\n  \"is_primary\": true,\n  \"is_preferred\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/leads/:id/addresses/:addressId","description":"<h3 id=\"update-lead-address\">Update Lead Address</h3>\n<p>This endpoint allows the client to update a specific address associated with a lead.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: PUT</p>\n</li>\n<li><p>URL: <code>{{domain}}/v1/leads/:id/addresses/:addressId</code></p>\n</li>\n<li><p>Body (raw, JSON):</p>\n</li>\n</ul>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>title</code> (string, required): The title of the address.</p>\n</li>\n<li><p><code>description</code> (string, required): Description of the address.</p>\n</li>\n<li><p><code>address_line_1</code> (string, required): First line of the address.</p>\n</li>\n<li><p><code>address_line_2</code> (string): Second line of the address.</p>\n</li>\n<li><p><code>city</code> (string, required): City of the address.</p>\n</li>\n<li><p><code>state_id</code> (integer, required): ID of the state for the address. (Retrieve states list from List -&gt; System -&gt; States)</p>\n</li>\n<li><p><code>country_id</code> (integer, required): ID of the country for the address. (Retrieve countries list from List -&gt; System -&gt; Countries)</p>\n</li>\n<li><p><code>zip_code</code> (string, required): Zip code of the address.</p>\n</li>\n<li><p><code>type</code> (string, required): Type of the address Options: ['Home', 'Work', 'Mailing', 'Other'].</p>\n</li>\n<li><p><code>is_primary</code> (boolean, required): Indicates if the address is the primary address.</p>\n</li>\n<li><p><code>is_preferred</code> (boolean, required): Indicates if the address is the preferred address.</p>\n</li>\n</ul>\n<h4 id=\"response-json-schema\">Response (JSON Schema)</h4>\n<p>The response is in JSON format and follows the schema below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": 191348,\n    \"type\": \"Mailing\",\n    \"title\": \"Primary Home Address\",\n    \"description\": \"Client moved recently and requested this address be set as their primary and preferred location.\",\n    \"country\": \"United States\",\n    \"state\": \"Alaska\",\n    \"city\": \"Orlando\",\n    \"address_line_1\": \"456 Elm Street\",\n    \"address_line_2\": \"Suite 300\",\n    \"zip_code\": \"80001\",\n    \"is_primary\": true,\n    \"is_preferred\": false,\n    \"created_at\": \"2025-04-27T16:58:57.000000Z\",\n    \"updated_at\": \"2025-05-13T09:19:27.000000Z\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","addresses",":addressId"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"},{"description":{"content":"<p>Address ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"addressId"}]}},"response":[{"id":"45bbc334-17cd-47e9-b7bf-e4a7afd9b502","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Primary Home Address\",\n  \"description\": \"Client moved recently and requested this address be set as their primary and preferred location.\",\n  \"address_line_1\": \"456 Elm Street\",\n  \"address_line_2\": \"Suite 300\",\n  \"city\": \"Orlando\",\n  \"state_id\": 1,\n  \"country_id\": 1,\n  \"zip_code\": \"80001\",\n  \"type\": \"Mailing\", // ['Home', 'Work', 'Mailing', 'Other']\n  \"is_primary\": true,\n  \"is_preferred\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/leads/:id/addresses/:addressId","host":["{{domain}}"],"path":["v1","leads",":id","addresses",":addressId"],"variable":[{"key":"id","value":"416723","description":"Lead ID"},{"key":"addressId","value":"191348","description":"Address ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 09:19:27 GMT"},{"key":"phpdebugbar-id","value":"Xf87f3dd22e3b45da674fee8822aca5da"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 191348,\n    \"type\": \"Mailing\",\n    \"title\": \"Primary Home Address\",\n    \"description\": \"Client moved recently and requested this address be set as their primary and preferred location.\",\n    \"country\": \"United States\",\n    \"state\": \"Alaska\",\n    \"city\": \"Orlando\",\n    \"address_line_1\": \"456 Elm Street\",\n    \"address_line_2\": \"Suite 300\",\n    \"zip_code\": \"80001\",\n    \"is_primary\": true,\n    \"is_preferred\": false,\n    \"created_at\": \"2025-04-27T16:58:57.000000Z\",\n    \"updated_at\": \"2025-05-13T09:19:27.000000Z\"\n}"},{"id":"b919878f-38a8-4529-8a85-a8cfbb4358c2","name":"Error","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Primary Home Address\",\n  \"description\": \"Client moved recently and requested this address be set as their primary and preferred location.\",\n  \"address_line_1\": \"456 Elm Street\",\n  \"address_line_2\": \"Suite 300\",\n  \"city\": \"Orlando\",\n  \"state_id\": 1,\n  \"country_id\": 1,\n  \"zip_code\": \"80001\",\n  \"type\": \"Mailing\", // ['Home', 'Work', 'Mailing', 'Other']\n  \"is_primary\": true,\n  \"is_preferred\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/leads/:id/addresses/:addressId","host":["{{domain}}"],"path":["v1","leads",":id","addresses",":addressId"],"variable":[{"key":"id","value":"","description":"Lead ID"},{"key":"addressId","value":"","description":"Address ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 09:21:37 GMT"},{"key":"phpdebugbar-id","value":"X12e25220001aa866c4e797f96362587d"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead not found\",\n    \"errors\": [\n        \"The requested lead could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"a2d905c0-3268-488f-bce2-fc270557a945"},{"name":"Get","id":"779a5686-52ef-404f-a457-d61de7eac99d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/leads/:id/addresses/:addressId","description":"<h3 id=\"get-lead-address\">Get Lead Address</h3>\n<p>This endpoint retrieves the details of a specific address associated with a lead.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>{{domain}}/v1/leads/:id/addresses/:addressId</code></p>\n</li>\n</ul>\n<h4 id=\"response-json-schema\">Response (JSON Schema)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": 191348,\n    \"type\": \"Mailing\",\n    \"title\": \"Primary Home Address\",\n    \"description\": \"Client moved recently and requested this address be set as their primary and preferred location.\",\n    \"country\": \"United States\",\n    \"state\": \"Alaska\",\n    \"city\": \"Orlando\",\n    \"address_line_1\": \"456 Elm Street\",\n    \"address_line_2\": \"Suite 300\",\n    \"zip_code\": \"80001\",\n    \"is_primary\": true,\n    \"is_preferred\": false,\n    \"created_at\": \"2025-04-27T16:58:57.000000Z\",\n    \"updated_at\": \"2025-05-13T09:19:27.000000Z\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","addresses",":addressId"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"},{"description":{"content":"<p>Address ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"addressId"}]}},"response":[{"id":"9a67a86c-c585-4429-86bc-a02781ba00bb","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/addresses/:addressId","host":["{{domain}}"],"path":["v1","leads",":id","addresses",":addressId"],"variable":[{"key":"id","value":"","description":"Lead ID"},{"key":"addressId","value":"","description":"Address ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 09:24:24 GMT"},{"key":"phpdebugbar-id","value":"Xb76e9371ef77c5747a394f189bc2b611"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 191348,\n    \"type\": \"Mailing\",\n    \"title\": \"Primary Home Address\",\n    \"description\": \"Client moved recently and requested this address be set as their primary and preferred location.\",\n    \"country\": \"United States\",\n    \"state\": \"Alaska\",\n    \"city\": \"Orlando\",\n    \"address_line_1\": \"456 Elm Street\",\n    \"address_line_2\": \"Suite 300\",\n    \"zip_code\": \"80001\",\n    \"is_primary\": true,\n    \"is_preferred\": false,\n    \"created_at\": \"2025-04-27T16:58:57.000000Z\",\n    \"updated_at\": \"2025-05-13T09:19:27.000000Z\"\n}"},{"id":"a543101d-88bf-4eec-a6d6-23a9f824d16b","name":"Error","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/addresses/:addressId","host":["{{domain}}"],"path":["v1","leads",":id","addresses",":addressId"],"variable":[{"key":"id","value":"","description":"Lead ID"},{"key":"addressId","value":"","description":"Address ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 09:27:13 GMT"},{"key":"phpdebugbar-id","value":"X8f52bb3c061222a44f2cea7bb2df0765"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead not found\",\n    \"errors\": [\n        \"The requested lead could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"779a5686-52ef-404f-a457-d61de7eac99d"},{"name":"Delete","id":"9f5e5dd7-0292-45a2-a81c-387086a67c57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{domain}}/v1/leads/:id/addresses/:addressId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","addresses",":addressId"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"},{"description":{"content":"<p>Address ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"addressId"}]}},"response":[{"id":"90410627-455d-4d92-809d-36b3e347453e","name":"Delete","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/addresses/:addressId","host":["{{domain}}"],"path":["v1","leads",":id","addresses",":addressId"],"variable":[{"key":"id","value":"","description":"Lead ID"},{"key":"addressId","value":"","description":"Address ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 09:28:10 GMT"},{"key":"phpdebugbar-id","value":"Xaeee54f1ac627e2888776362100c77a9"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Lead address deleted successfully\"\n}"},{"id":"646f24e0-6aef-473a-8492-8ee524627b87","name":"Error","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/addresses/:addressId","host":["{{domain}}"],"path":["v1","leads",":id","addresses",":addressId"],"variable":[{"key":"id","value":"","description":"Lead ID"},{"key":"addressId","value":"","description":"Address ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 09:27:34 GMT"},{"key":"phpdebugbar-id","value":"Xe12e5cd0754cdce5dac0eb6259b69d0d"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead address not found\",\n    \"errors\": [\n        \"The requested lead address could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"9f5e5dd7-0292-45a2-a81c-387086a67c57"}],"id":"d0db9a09-3a82-44ce-ac75-cf8b7e15f540","_postman_id":"d0db9a09-3a82-44ce-ac75-cf8b7e15f540","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"Phones","item":[{"name":"List","id":"ccb5c1ad-9af5-425e-a1f9-d8678cd3aeaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/leads/:id/phones","description":"<h3 id=\"get-lead-phones\">Get Lead Phones</h3>\n<p>This endpoint retrieves the list of phones associated with a specific lead.</p>\n<p><strong>Request</strong></p>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>{{domain}}/v1/leads/:id/phones</code></p>\n</li>\n</ul>\n<p><strong>Response</strong><br />The response will contain an array of phone objects, with each object having the following properties:</p>\n<ul>\n<li><p><code>id</code> (number): The unique identifier for the phone.</p>\n</li>\n<li><p><code>lead_id</code> (number): The ID of the lead associated with the phone.</p>\n</li>\n<li><p><code>title</code> (string): The title of the phone.</p>\n</li>\n<li><p><code>description</code> (string): The description of the phone.</p>\n</li>\n<li><p><code>type</code> (string): The type of the phone.</p>\n</li>\n<li><p><code>phone</code> (string): The phone number.</p>\n</li>\n<li><p><code>formatted_phone</code> (string): The formatted version of the phone number.</p>\n</li>\n<li><p><code>is_primary</code> (boolean): Indicates if the phone is the primary phone for the lead.</p>\n</li>\n<li><p><code>is_preferred</code> (boolean): Indicates if the phone is the preferred phone for the lead.</p>\n</li>\n<li><p><code>created_at</code> (string): The date and time when the phone record was created.</p>\n</li>\n<li><p><code>updated_at</code> (string): The date and time when the phone record was last updated.</p>\n</li>\n</ul>\n<p><strong>Example Response</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id\": 215596,\n        \"lead_id\": 416723,\n        \"title\": \"Mobile\",\n        \"description\": null,\n        \"type\": \"Mobile\",\n        \"phone\": \"+13125551234\",\n        \"formatted_phone\": \"+1 (312) 555-1234\",\n        \"is_primary\": false,\n        \"is_preferred\": false,\n        \"created_at\": \"2025-03-11T17:16:27Z\",\n        \"updated_at\": \"2025-04-28T09:19:25Z\"\n    }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","phones"],"host":["{{domain}}"],"query":[{"disabled":true,"key":"per_page","value":"10"}],"variable":[{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"b8ead722-5cd0-4617-8a06-221812af7337","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/phones","host":["{{domain}}"],"path":["v1","leads",":id","phones"],"query":[{"key":"per_page","value":"10","disabled":true}],"variable":[{"key":"id","value":"","description":"Lead ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 09:29:52 GMT"},{"key":"phpdebugbar-id","value":"X390c2241381367f75b10ea70f3f6531f"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n    {\n        \"id\": 215596,\n        \"lead_id\": 416723,\n        \"title\": \"Mobile\",\n        \"description\": null,\n        \"type\": \"Mobile\",\n        \"phone\": \"+13125551234\",\n        \"formatted_phone\": \"+1 (312) 555-1234\",\n        \"is_primary\": false,\n        \"is_preferred\": false,\n        \"created_at\": \"2025-03-11T17:16:27Z\",\n        \"updated_at\": \"2025-04-28T09:19:25Z\"\n    },\n    {\n        \"id\": 215643,\n        \"lead_id\": 416723,\n        \"title\": \"Main Phone\",\n        \"description\": \"Client wants to update her contact number for follow-up calls.\",\n        \"type\": \"Home\",\n        \"phone\": \"+12125559876\",\n        \"formatted_phone\": null,\n        \"is_primary\": true,\n        \"is_preferred\": false,\n        \"created_at\": \"2025-04-28T09:18:38Z\",\n        \"updated_at\": \"2025-04-28T09:19:25Z\"\n    }\n]\n"},{"id":"3ca04990-bd43-4bed-b02d-bde1b847a47f","name":"Error","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/phones","host":["{{domain}}"],"path":["v1","leads",":id","phones"],"query":[{"key":"per_page","value":"10","disabled":true}],"variable":[{"key":"id","value":"","description":"Lead ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 09:46:22 GMT"},{"key":"phpdebugbar-id","value":"Xeaebbb3e809185a6a1c76dd891549ee0"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead not found\",\n    \"errors\": [\n        \"The requested lead could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"ccb5c1ad-9af5-425e-a1f9-d8678cd3aeaf"},{"name":"Create","id":"ca872166-7b76-4ceb-8284-c3300fc198b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Primary Contact Number\",\n  \"description\": \"Client requested to update their main contact number.\",\n  \"phone\": \"+13125559876\",\n  \"type\": \"Mobile\",\n  \"is_primary\": true,\n  \"is_preferred\": true\n}\n","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/leads/:id/phones","description":"<h3 id=\"endpoint-description\">Endpoint Description</h3>\n<p>This endpoint allows the addition of a phone number to a specific lead.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><p><code>title</code> (string): Title of the phone number.</p>\n</li>\n<li><p><code>description</code> (string): Description related to the phone number.</p>\n</li>\n<li><p><code>phone</code> (string): Phone number.</p>\n</li>\n<li><p><code>type</code> (string): Type of phone number. Options: <code>['Direct Dial', 'Fax', 'Home', 'Work', 'Mobile', 'Toll Free', 'Other']</code></p>\n</li>\n<li><p><code>is_primary</code> (boolean): Indicates if the phone number is the primary contact number.</p>\n</li>\n<li><p><code>is_preferred</code> (boolean): Indicates if the phone number is preferred.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response for this request is in the form of a JSON schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": 215649,\n    \"lead_id\": 416723,\n    \"title\": \"Primary Contact Number\",\n    \"description\": \"Client requested to update their main contact number.\",\n    \"type\": \"Mobile\",\n    \"phone\": \"+13125559876\",\n    \"formatted_phone\": \"+13125559876\",\n    \"is_primary\": true,\n    \"is_preferred\": true,\n    \"created_at\": \"2025-05-13T09:50:29.000000Z\",\n    \"updated_at\": \"2025-05-13T09:50:29.000000Z\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","phones"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"00833ce2-6309-41c3-8ff5-3861bef64d3e","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Primary Contact Number\",\n  \"description\": \"Client requested to update their main contact number.\",\n  \"phone\": \"+13125559876\",\n  \"type\": \"Mobile\", // ['Direct Dial', 'Fax', 'Home', 'Work', 'Mobile', 'Toll Free','Other']\n  \"is_primary\": true,\n  \"is_preferred\": true\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/leads/:id/phones","host":["{{domain}}"],"path":["v1","leads",":id","phones"],"variable":[{"key":"id","value":"416723","description":"Lead ID"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 09:50:29 GMT"},{"key":"phpdebugbar-id","value":"X6a16fc7eb967c78a250798beb092a350"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 215649,\n    \"lead_id\": 416723,\n    \"title\": \"Primary Contact Number\",\n    \"description\": \"Client requested to update their main contact number.\",\n    \"type\": \"Mobile\",\n    \"phone\": \"+13125559876\",\n    \"formatted_phone\": \"+13125559876\",\n    \"is_primary\": true,\n    \"is_preferred\": true,\n    \"created_at\": \"2025-05-13T09:50:29.000000Z\",\n    \"updated_at\": \"2025-05-13T09:50:29.000000Z\"\n}"},{"id":"f0c125ea-a691-42dc-8630-d93745c96f6b","name":"Error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Primary Contact Number\",\n  \"description\": \"Client requested to update their main contact number.\",\n  \"phone\": \"+13125559876\",\n  \"is_primary\": true,\n  \"is_preferred\": true\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/leads/:id/phones","host":["{{domain}}"],"path":["v1","leads",":id","phones"],"variable":[{"key":"id","value":"","description":"Lead ID"}]}},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 09:51:38 GMT"},{"key":"phpdebugbar-id","value":"Xf1611c6b052c78675628814ae363f666"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validation failed\",\n    \"errors\": [\n        \"The type field is required.\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"ca872166-7b76-4ceb-8284-c3300fc198b6"},{"name":"Update","id":"ad907bf1-8056-4f96-9b35-3045fe0e6ced","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Primary Contact Number\",\n  \"description\": \"Client requested to update their main contact number.\",\n  \"phone\": \"+13125559876\",\n  \"type\": \"Mobile\",\n  \"is_primary\": true,\n  \"is_preferred\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/leads/:id/phones/:phoneId","description":"<h3 id=\"update-lead-phone\">Update Lead Phone</h3>\n<p>This endpoint allows the user to update a specific phone number associated with a lead.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>title</code> (string): The title of the phone number.</p>\n</li>\n<li><p><code>description</code> (string): A description of the phone number update.</p>\n</li>\n<li><p><code>phone</code> (string): The updated phone number.</p>\n</li>\n<li><p><code>type</code> (string): The type of the phone number. Options: <code>['Direct Dial', 'Fax', 'Home', 'Work', 'Mobile', 'Toll Free', 'Other']</code></p>\n</li>\n<li><p><code>is_primary</code> (boolean): Indicates if the phone number is the primary contact number.</p>\n</li>\n<li><p><code>is_preferred</code> (boolean): Indicates if the phone number is preferred.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p><code>id</code> (integer): The unique identifier of the updated phone number.</p>\n</li>\n<li><p><code>lead_id</code> (integer): The unique identifier of the associated lead.</p>\n</li>\n<li><p><code>title</code> (string): The title of the phone number.</p>\n</li>\n<li><p><code>description</code> (string): The description of the phone number.</p>\n</li>\n<li><p><code>type</code> (string): The type of the phone number.</p>\n</li>\n<li><p><code>phone</code> (string): The updated phone number.</p>\n</li>\n<li><p><code>formatted_phone</code> (string): The formatted version of the phone number.</p>\n</li>\n<li><p><code>is_primary</code> (boolean): Indicates if the phone number is the primary contact number.</p>\n</li>\n<li><p><code>is_preferred</code> (boolean): Indicates if the phone number is preferred.</p>\n</li>\n<li><p><code>created_at</code> (string): The timestamp of creation.</p>\n</li>\n<li><p><code>updated_at</code> (string): The timestamp of the last update.</p>\n</li>\n</ul>\n<h4 id=\"example-request\">Example Request</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"title\": \"Primary Contact Number\",\n  \"description\": \"Client requested to update their main contact number.\",\n  \"phone\": \"+13125559876\",\n  \"type\": \"Mobile\",\n  \"is_primary\": true,\n  \"is_preferred\": false\n}\n\n</code></pre>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": 215649,\n  \"lead_id\": 416723,\n  \"title\": \"Primary Contact Number\",\n  \"description\": \"Client requested to update their main contact number.\",\n  \"type\": \"Mobile\",\n  \"phone\": \"+13125559876\",\n  \"formatted_phone\": \"+13125559876\",\n  \"is_primary\": true,\n  \"is_preferred\": true,\n  \"created_at\": \"2025-05-13T09:50:29.000000Z\",\n  \"updated_at\": \"2025-05-13T09:50:29.000000Z\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","phones",":phoneId"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"},{"description":{"content":"<p>Phone ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"phoneId"}]}},"response":[{"id":"78b4a783-f7c3-4195-b6ee-7117951cd629","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Primary Contact Number\",\n  \"description\": \"Client requested to update their main contact number.\",\n  \"phone\": \"+13125559876\",\n  \"type\": \"Mobile\",\n  \"is_primary\": true,\n  \"is_preferred\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/leads/:id/phones/:phoneId","host":["{{domain}}"],"path":["v1","leads",":id","phones",":phoneId"],"variable":[{"key":"id","value":"","description":"Lead ID"},{"key":"phoneId","value":"","description":"Phone ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 09:54:32 GMT"},{"key":"phpdebugbar-id","value":"Xe94ea1cad784f9bb958472746ee80599"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 215649,\n    \"lead_id\": 416723,\n    \"title\": \"Primary Contact Number\",\n    \"description\": \"Client requested to update their main contact number.\",\n    \"type\": \"Mobile\",\n    \"phone\": \"+13125559876\",\n    \"formatted_phone\": \"+13125559876\",\n    \"is_primary\": true,\n    \"is_preferred\": false,\n    \"created_at\": \"2025-05-13T09:50:29.000000Z\",\n    \"updated_at\": \"2025-05-13T09:54:32.000000Z\"\n}"},{"id":"b5a01bb0-5481-404f-9d22-0bd529678036","name":"Error","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Primary Contact Number\",\n  \"description\": \"Client requested to update their main contact number.\",\n  \"phone\": \"+13125559876\",\n  \"type\": \"Mobile\",\n  \"is_primary\": true,\n  \"is_preferred\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/leads/:id/phones/:phoneId","host":["{{domain}}"],"path":["v1","leads",":id","phones",":phoneId"],"variable":[{"key":"id","value":"416723","description":"Lead ID"},{"key":"phoneId","value":"","description":"Phone ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 09:55:17 GMT"},{"key":"phpdebugbar-id","value":"X82163d79c980a627739c748e5eae88fc"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead phone not found\",\n    \"errors\": [\n        \"The requested lead phone could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"ad907bf1-8056-4f96-9b35-3045fe0e6ced"},{"name":"Get","id":"f96859dd-7392-4d46-b928-2fb995355087","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/leads/:id/phones/:phoneId","description":"<h3 id=\"get-lead-phone-details\">Get Lead Phone Details</h3>\n<p>This endpoint retrieves the details of a specific phone associated with a lead.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>{{domain}}/v1/leads/:id/phones/:phoneId</code></p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>Example response body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": 215649,\n    \"lead_id\": 416723,\n    \"title\": \"Primary Contact Number\",\n    \"description\": \"Client requested to update their main contact number.\",\n    \"type\": \"Mobile\",\n    \"phone\": \"+13125559876\",\n    \"formatted_phone\": \"+13125559876\",\n    \"is_primary\": true,\n    \"is_preferred\": false,\n    \"created_at\": \"2025-05-13T09:50:29.000000Z\",\n    \"updated_at\": \"2025-05-13T09:54:32.000000Z\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","phones",":phoneId"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"","key":"id"},{"type":"any","value":"","key":"phoneId"}]}},"response":[{"id":"c13e2406-d23f-46ca-a243-ae9cede02289","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/phones/:phoneId","host":["{{domain}}"],"path":["v1","leads",":id","phones",":phoneId"],"variable":[{"key":"id","value":"","description":"Lead ID"},{"key":"phoneId","value":"","description":"Phone ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 09:58:01 GMT"},{"key":"phpdebugbar-id","value":"X96be9284475289b51319184e61ca738e"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 215649,\n    \"lead_id\": 416723,\n    \"title\": \"Primary Contact Number\",\n    \"description\": \"Client requested to update their main contact number.\",\n    \"type\": \"Mobile\",\n    \"phone\": \"+13125559876\",\n    \"formatted_phone\": \"+13125559876\",\n    \"is_primary\": true,\n    \"is_preferred\": false,\n    \"created_at\": \"2025-05-13T09:50:29.000000Z\",\n    \"updated_at\": \"2025-05-13T09:54:32.000000Z\"\n}"},{"id":"c6b31f69-a059-4946-b9c2-03dfa7cad949","name":"Error","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/phones/:phoneId","host":["{{domain}}"],"path":["v1","leads",":id","phones",":phoneId"],"variable":[{"key":"id","value":"416723"},{"key":"phoneId","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 09:58:26 GMT"},{"key":"phpdebugbar-id","value":"Xda3f18ae41ab42400db523ff65fbc861"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead phone not found\",\n    \"errors\": [\n        \"The requested lead phone could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"f96859dd-7392-4d46-b928-2fb995355087"},{"name":"Delete","id":"494a3c5b-2253-44bd-ae60-d7ff3bb9ee01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{domain}}/v1/leads/:id/phones/:phoneId","description":"<p>This endpoint sends an HTTP DELETE request to delete a specific phone number associated with a lead. The request should include the lead ID and the phone ID in the URL parameters.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p>URL: <code>{{domain}}/v1/leads/:id/phones/:phoneId</code></p>\n</li>\n<li><p>Method: <code>DELETE</code></p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response will contain a JSON object with a message indicating the result of the deletion operation.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Lead phone deleted successfully\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","phones",":phoneId"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"},{"description":{"content":"<p>Phone ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"phoneId"}]}},"response":[{"id":"cada3137-47e8-4694-acd6-3e99b46d29a4","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/phones/:phoneId","host":["{{domain}}"],"path":["v1","leads",":id","phones",":phoneId"],"variable":[{"key":"id","value":"","description":"Lead ID"},{"key":"phoneId","value":"","description":"Phone ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 10:00:44 GMT"},{"key":"phpdebugbar-id","value":"Xe8e50e32e890cf4b571387cfd457fda0"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead phone deleted successfully\"\n}"},{"id":"402cb5d5-63c6-4c5b-9d6c-0f0af5c30ebf","name":"Error","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/phones/:phoneId","host":["{{domain}}"],"path":["v1","leads",":id","phones",":phoneId"],"variable":[{"key":"id","value":"416723","description":"Lead ID"},{"key":"phoneId","value":"215642","description":"Phone ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 10:00:11 GMT"},{"key":"phpdebugbar-id","value":"X245a5c25491032d98eb99e6cac86af9a"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead phone not found\",\n    \"errors\": [\n        \"The requested lead phone could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"494a3c5b-2253-44bd-ae60-d7ff3bb9ee01"}],"id":"9858722b-2a73-428c-8112-3b634b77a5be","_postman_id":"9858722b-2a73-428c-8112-3b634b77a5be","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"Custom Fields","item":[{"name":"Index","id":"d9051750-ce65-4d89-89c2-b7e34e7cd0a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/leads/:id/custom-fields","description":"<h3 id=\"get-custom-fields-for-a-lead\">Get Custom Fields for a Lead</h3>\n<p>This endpoint retrieves custom fields for a specific lead identified by the <code>:id</code> parameter.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>{{domain}}/v1/leads/:id/custom-fields</code></p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will be a JSON array containing custom field objects with the following properties:</p>\n<ul>\n<li><p><code>id</code> (number): The ID of the custom field</p>\n</li>\n<li><p><code>definition</code> (object): An object containing the definition of the custom field</p>\n<ul>\n<li><p><code>id</code> (number): The ID of the definition</p>\n</li>\n<li><p><code>name</code> (string): The name of the custom field</p>\n</li>\n<li><p><code>field_type</code> (string): The type of the custom field</p>\n</li>\n<li><p><code>options</code> (array): An array of options for the custom field</p>\n</li>\n</ul>\n</li>\n<li><p><code>name</code> (string): The name of the custom field</p>\n</li>\n<li><p><code>value</code> (string): The value of the custom field</p>\n</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id\": 1556,\n        \"definition\": {\n            \"id\": 1556,\n            \"name\": \"Custom fullname\",\n            \"field_type\": \"single_line_text_input\",\n            \"options\": []\n        },\n        \"name\": \"Custom fullname\",\n        \"value\": \"John Doe\"\n    }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","custom-fields"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"416844","key":"id"}]}},"response":[{"id":"2c8cd999-12d9-4629-89e8-22c0bdc224fd","name":"Sucess","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{domain}}/v1/leads/:id/custom-fields","host":["{{domain}}"],"path":["v1","leads",":id","custom-fields"],"variable":[{"key":"id","value":"416844"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 03 Jun 2025 15:10:27 GMT"},{"key":"phpdebugbar-id","value":"01JWV5G1774T4VS9H8ZHC05T0A"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1556,\n        \"definition\": {\n            \"id\": 1556,\n            \"name\": \"Custom fullname\",\n            \"field_type\": \"single_line_text_input\",\n            \"options\": []\n        },\n        \"name\": \"Custom fullname\",\n        \"value\": \"John Doe\"\n    },\n    {\n        \"id\": 1826,\n        \"definition\": {\n            \"id\": 1826,\n            \"name\": \"Custom notes\",\n            \"field_type\": \"multiline_text_input\",\n            \"options\": []\n        },\n        \"name\": \"Custom notes\",\n        \"value\": null\n    },\n    {\n        \"id\": 1827,\n        \"definition\": {\n            \"id\": 1827,\n            \"name\": \"Custom lead source\",\n            \"field_type\": \"dropdown_list\",\n            \"options\": [\n                \"Marketing\",\n                \"Cold\",\n                \"Youtube\"\n            ]\n        },\n        \"name\": \"Custom lead source\",\n        \"value\": null\n    },\n    {\n        \"id\": 1828,\n        \"definition\": {\n            \"id\": 1828,\n            \"name\": \"Has account ?\",\n            \"field_type\": \"single_checkbox\",\n            \"options\": []\n        },\n        \"name\": \"Has account ?\",\n        \"value\": null\n    },\n    {\n        \"id\": 1829,\n        \"definition\": {\n            \"id\": 1829,\n            \"name\": \"Custom services Interested\",\n            \"field_type\": \"set_of_checkboxes\",\n            \"options\": [\n                \"OPT A\",\n                \"OPT B\",\n                \"OPT C\"\n            ]\n        },\n        \"name\": \"Custom services Interested\",\n        \"value\": null\n    },\n    {\n        \"id\": 1830,\n        \"definition\": {\n            \"id\": 1830,\n            \"name\": \"Custom contact method\",\n            \"field_type\": \"set_of_radio_buttons\",\n            \"options\": [\n                \"1\",\n                \"2\",\n                \"3\",\n                \"4\"\n            ]\n        },\n        \"name\": \"Custom contact method\",\n        \"value\": null\n    },\n    {\n        \"id\": 1831,\n        \"definition\": {\n            \"id\": 1831,\n            \"name\": \"Custom account register date\",\n            \"field_type\": \"date_picker\",\n            \"options\": []\n        },\n        \"name\": \"Custom account register date\",\n        \"value\": null\n    }\n]"}],"_postman_id":"d9051750-ce65-4d89-89c2-b7e34e7cd0a8"},{"name":"Update","id":"8ed8ce63-b0e1-487e-8d84-fe2a46afa4e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"definition_id\": \"1556\",\n        \"value\": \"John Doe\"\n    },\n    {\n        \"definition_id\": \"1826\",\n        \"value\": \"Custom notes\"\n    },\n    {\n        \"definition_id\": \"1827\"\n    }\n    \n]","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/leads/:id/custom-fields","description":"<h3 id=\"update-lead-custom-fields\">Update Lead Custom Fields</h3>\n<p>This endpoint allows updating custom fields for a specific lead.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request body should be in the raw format and contain an array of objects, each representing a custom field to be updated. Each object should have the following keys:</p>\n<ul>\n<li><p><code>definition_id</code> (string) - The ID of the custom field definition.</p>\n</li>\n<li><p><code>value</code> (string) - The new value for the custom field.</p>\n</li>\n</ul>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"definition_id\": \"1556\",\n        \"value\": \"John Doe\"\n    },\n    {...},\n    {...}\n]\n\n</code></pre>\n<p>Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id\": 1556,\n        \"definition\": {\n            \"id\": 1556,\n            \"name\": \"Custom fullname\",\n            \"field_type\": \"single_line_text_input\",\n            \"options\": []\n        },\n        \"name\": \"Custom fullname\",\n        \"value\": \"John Doe\"\n    }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id","custom-fields"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[{"id":"2979a4ac-daa4-495b-a213-e06181afe7bc","name":"Sucess","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"definition_id\": \"1556\",\n        \"value\": \"John Doe\"\n    },\n    {\n        \"definition_id\": \"1826\",\n        \"value\": \"Custom notes\"\n    },\n    {\n        \"definition_id\": \"1827\",\n        \"value\": \"Marketing\"\n    }\n    \n]","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/leads/:id/custom-fields","host":["{{domain}}"],"path":["v1","leads",":id","custom-fields"],"variable":[{"key":"id","value":"416845"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 03 Jun 2025 14:11:02 GMT"},{"key":"phpdebugbar-id","value":"01JWV237AAQ4PFC9Z4VYSX58T2"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1556,\n        \"definition\": {\n            \"id\": 1556,\n            \"name\": \"Custom fullname\",\n            \"field_type\": \"single_line_text_input\",\n            \"options\": []\n        },\n        \"name\": \"Custom fullname\",\n        \"value\": \"Markus markies\"\n    },\n    {\n        \"id\": 1826,\n        \"definition\": {\n            \"id\": 1826,\n            \"name\": \"Custom notes\",\n            \"field_type\": \"multiline_text_input\",\n            \"options\": []\n        },\n        \"name\": \"Custom notes\",\n        \"value\": \"Long notes very long notes\"\n    },\n    {\n        \"id\": 1827,\n        \"definition\": {\n            \"id\": 1827,\n            \"name\": \"Custom lead source\",\n            \"field_type\": \"dropdown_list\",\n            \"options\": [\n                \"Marketing\",\n                \"Cold\",\n                \"Youtube\"\n            ]\n        },\n        \"name\": \"Custom lead source\",\n        \"value\": \"Marketing\"\n    },\n    {\n        \"id\": 1828,\n        \"definition\": {\n            \"id\": 1828,\n            \"name\": \"Has account ?\",\n            \"field_type\": \"single_checkbox\",\n            \"options\": []\n        },\n        \"name\": \"Has account ?\",\n        \"value\": null\n    },\n    {\n        \"id\": 1829,\n        \"definition\": {\n            \"id\": 1829,\n            \"name\": \"Custom services Interested\",\n            \"field_type\": \"set_of_checkboxes\",\n            \"options\": [\n                \"OPT A\",\n                \"OPT B\",\n                \"OPT C\"\n            ]\n        },\n        \"name\": \"Custom services Interested\",\n        \"value\": null\n    },\n    {\n        \"id\": 1830,\n        \"definition\": {\n            \"id\": 1830,\n            \"name\": \"Custom contact method\",\n            \"field_type\": \"set_of_radio_buttons\",\n            \"options\": [\n                \"1\",\n                \"2\",\n                \"3\",\n                \"4\"\n            ]\n        },\n        \"name\": \"Custom contact method\",\n        \"value\": null\n    },\n    {\n        \"id\": 1831,\n        \"definition\": {\n            \"id\": 1831,\n            \"name\": \"Custom account register date\",\n            \"field_type\": \"date_picker\",\n            \"options\": []\n        },\n        \"name\": \"Custom account register date\",\n        \"value\": null\n    }\n]"},{"id":"3391b694-dab3-45f2-a555-ab8899c00820","name":"Error","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"definition_id\": \"1556\",\n        \"value\": \"John Doe\"\n    },\n    {\n        \"definition_id\": \"1826\",\n        \"value\": \"Custom notes\"\n    },\n    {\n        \"definition_id\": \"1827\"\n    }\n    \n]","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/leads/:id/custom-fields","host":["{{domain}}"],"path":["v1","leads",":id","custom-fields"],"variable":[{"key":"id","value":"416845"}]}},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 03 Jun 2025 15:08:30 GMT"},{"key":"phpdebugbar-id","value":"01JWV5CEQH4TT5J74AP0YF7FXX"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validation failed\",\n    \"errors\": {\n        \"2\": [\n            \"The value field is required.\"\n        ]\n    },\n    \"success\": false\n}"}],"_postman_id":"8ed8ce63-b0e1-487e-8d84-fe2a46afa4e2"}],"id":"67e87c51-e749-43c0-be93-b91218694a97","_postman_id":"67e87c51-e749-43c0-be93-b91218694a97","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"List","id":"31efd60c-127f-4475-8473-2fe5f4bb5e9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{domain}}/v1/leads?limit=10","description":"<p>Retrieves leads/contacts data, returning a structured JSON response that includes lead records, associated metadata, and related entities. The schema below outlines the response format.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [\n        {\n            \"id\": 416824,\n            \"type\": \"lead\",\n            \"owner_id\": 17673,\n            \"is_lead\": true,\n            \"owner\": {\n                \"id\": 17673,\n                \"name\": \"Amanda Ross\",\n                \"email\": \"amanda.ross@example.com\",\n                \"phone\": null,\n                \"created_at\": \"2023-09-05T22:51:03.000000Z\",\n                \"updated_at\": \"2025-05-12T15:00:19.000000Z\"\n            },\n            \"referred_by\": \"John Doe\",\n            \"nickname\": \"James\",\n            \"maiden_name\": \"Anderson\",\n            \"family_name\": \"Smith\",\n            \"first_name\": \"James\",\n            \"last_name\": \"Smith\",\n            \"full_name\": \"James L Smith\",\n            \"client_status_id\": 416,\n            \"client_status\": {\n                \"id\": 416,\n                \"name\": \"Client\",\n                \"created_at\": \"2023-10-05T18:18:48.000000Z\",\n                \"updated_at\": \"2023-10-05T18:18:48.000000Z\"\n            },\n            \"email\": \"james.smith@example.com\",\n            \"phone\": \"(555) 555-5555\",\n            \"salutation\": \"Mr.\",\n            \"suffix\": null,\n            \"job_title\": \"Attorney\",\n            \"company\": \"LeadCenter.AI\",\n            \"date_of_birth\": \"2025-05-08T05:00:00.000000Z\",\n            \"client_since\": \"2025-05-02T05:00:00.000000Z\",\n            \"date_of_death\": null,\n            \"client_termination_date\": null,\n            \"termination_reason\": null,\n            \"gender\": \"Male\",\n            \"marital_status\": \"Single\",\n            \"marital_anniversary_date\": null,\n            \"investment_objective\": \"Aggressive Growth\",\n            \"time_horizon\": \"long-term\",\n            \"risk_tolerance\": \"moderate\",\n            \"employment\": [\n                {\n                    \"id\": 11,\n                    \"occupation\": \"Attorney\",\n                    \"occupation_start_date\": \"2017-05-01T05:00:00.000000Z\"\n                }\n            ],\n            \"family\": {\n                \"id\": 117938,\n                \"name\": \"Smith's Family\",\n                \"created_at\": \"2025-05-13T10:07:53.000000Z\",\n                \"updated_at\": \"2025-05-13T10:07:53.000000Z\",\n                \"members\": [\n                    {\n                        \"id\": 416824,\n                        \"type\": \"lead\",\n                        \"full_name\": \"James L Smith\",\n                        \"email\": \"james.smith@example.com\",\n                        \"phone\": \"(555) 555-5555\",\n                        \"created_at\": \"2025-05-07T11:19:05.000000Z\",\n                        \"updated_at\": \"2025-05-13T10:03:43.000000Z\",\n                        \"relationship\": \"Hoh\"\n                    },\n                    {\n                        \"id\": 416826,\n                        \"type\": \"lead\",\n                        \"full_name\": \"Sarah Smith\",\n                        \"email\": \"sarah.smith@example.com\",\n                        \"phone\": \"(555) 555-5555\",\n                        \"created_at\": \"2025-05-13T10:08:38.000000Z\",\n                        \"updated_at\": \"2025-05-13T10:08:38.000000Z\",\n                        \"relationship\": \"Spouse\"\n                    }\n                ]\n            },\n            \"addresses\": [],\n            \"emails\": [\n                {\n                    \"id\": 195021,\n                    \"lead_id\": 416824,\n                    \"title\": \"Primary Email\",\n                    \"type\": \"Home\",\n                    \"email\": \"james.smith@example.com\",\n                    \"description\": null,\n                    \"is_primary\": true,\n                    \"is_preferred\": false,\n                    \"created_at\": \"2025-05-07T11:19:06.000000Z\",\n                    \"updated_at\": \"2025-05-07T11:19:06.000000Z\"\n                }\n            ],\n            \"phone_numbers\": [\n                {\n                    \"id\": 215647,\n                    \"lead_id\": 416824,\n                    \"tenant_id\": 17673,\n                    \"title\": \"Primary Mobile\",\n                    \"description\": null,\n                    \"type\": \"Mobile\",\n                    \"phone\": \"+15555555555\",\n                    \"formatted_phone\": \"+15555555555\",\n                    \"is_primary\": 1,\n                    \"is_preferred\": 0,\n                    \"created_at\": \"2025-05-07T11:19:06.000000Z\",\n                    \"updated_at\": \"2025-05-07T11:19:06.000000Z\"\n                }\n            ],\n            \"websites\": [],\n            \"medium_id\": 4,\n            \"medium\": {\n                \"id\": 4,\n                \"name\": \"Offline\",\n                \"description\": \"Contacts added from sales pipeline or contacts dashboard in LeadCenter.\",\n                \"created_at\": \"2021-07-07T10:27:16.000000Z\",\n                \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n            },\n            \"stage_id\": 99830,\n            \"stage\": {\n                \"id\": 99830,\n                \"name\": \"To be Qualified\",\n                \"description\": null,\n                \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n                \"updated_at\": \"2025-02-20T11:40:15.000000Z\"\n            },\n            \"source_id\": 66980,\n            \"source\": {\n                \"id\": 66980,\n                \"name\": \"Email Marketing\",\n                \"description\": null,\n                \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n                \"updated_at\": \"2023-09-05T22:51:05.000000Z\"\n            },\n            \"category_id\": 2775,\n            \"category\": {\n                \"id\": 2775,\n                \"name\": \"AAA Client\",\n                \"description\": null,\n                \"created_at\": \"2025-05-07T11:19:45.000000Z\",\n                \"updated_at\": \"2025-05-07T11:19:45.000000Z\"\n            },\n            \"created_at\": \"2025-05-07T11:19:05.000000Z\",\n            \"updated_at\": \"2025-05-13T10:03:43.000000Z\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"https://api.leadcenter.test/v1/leads?page=1\",\n        \"last\": \"https://api.leadcenter.test/v1/leads?page=20\",\n        \"prev\": null,\n        \"next\": \"https://api.leadcenter.test/v1/leads?page=2\"\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 20,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"« Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=2\",\n                \"label\": \"2\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=3\",\n                \"label\": \"3\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=4\",\n                \"label\": \"4\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=5\",\n                \"label\": \"5\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=6\",\n                \"label\": \"6\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=7\",\n                \"label\": \"7\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=8\",\n                \"label\": \"8\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=9\",\n                \"label\": \"9\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=10\",\n                \"label\": \"10\",\n                \"active\": false\n            },\n            {\n                \"url\": null,\n                \"label\": \"...\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=19\",\n                \"label\": \"19\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=20\",\n                \"label\": \"20\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=2\",\n                \"label\": \"Next »\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"https://api.leadcenter.test/v1/leads\",\n        \"per_page\": 10,\n        \"to\": 10,\n        \"total\": 193\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads"],"host":["{{domain}}"],"query":[{"disabled":true,"description":{"content":"<p>Search contacts by id, email, phone, name</p>\n","type":"text/plain"},"key":"query","value":""},{"disabled":true,"description":{"content":"<p>The id of the stage being searched for</p>\n","type":"text/plain"},"key":"stage_id","value":""},{"disabled":true,"description":{"content":"<p>The id of the category being searched for</p>\n","type":"text/plain"},"key":"category_id","value":""},{"disabled":true,"description":{"content":"<p>The id of the medium being searched for</p>\n","type":"text/plain"},"key":"medium_id","value":""},{"disabled":true,"description":{"content":"<p>The id of the client status being searched for</p>\n","type":"text/plain"},"key":"client_status_id","value":""},{"disabled":true,"description":{"content":"<p>The id of the source being searched for</p>\n","type":"text/plain"},"key":"source_id","value":""},{"disabled":true,"description":{"content":"<p>The id of the tag being searched for</p>\n","type":"text/plain"},"key":"tag_id","value":""},{"disabled":true,"description":{"content":"<p>The id of the owner contact is assigned to</p>\n","type":"text/plain"},"key":"owner_id","value":""},{"disabled":true,"description":{"content":"<p>Optional modules to load</p>\n","type":"text/plain"},"key":"load","value":"tags,notes,appointments,email_verification,phone_verification"},{"disabled":true,"key":"per_page","value":""},{"disabled":true,"key":"order_direction","value":"desc"},{"disabled":true,"key":"order_by_field","value":"updated_at"},{"description":{"content":"<p>When the limit parameter is provided, default pagination is disabled. The value must be greater than 0 and less than 100.</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[]}},"response":[{"id":"2c768172-b01a-468a-96af-f69398b3e2a4","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{domain}}/v1/leads","host":["{{domain}}"],"path":["v1","leads"],"query":[{"key":"query","value":"","description":"Search contacts by id, email, phone, name","disabled":true},{"key":"stage_id","value":"","description":"The id of the stage being searched for","disabled":true},{"key":"category_id","value":"","description":"The id of the category being searched for","type":"text","disabled":true},{"key":"medium_id","value":"","description":"The id of the medium being searched for","type":"text","disabled":true},{"key":"client_status_id","value":"","description":"The id of the client status being searched for","type":"text","disabled":true},{"key":"source_id","value":"","description":"The id of the source being searched for","disabled":true},{"key":"tag_id","value":"","description":"The id of the tag being searched for","type":"text","disabled":true},{"key":"owner_id","value":"","description":"The id of the owner contact is assigned to","type":"text","disabled":true},{"key":"load","value":"tags,notes,appointments,email_verification,phone_verification","description":"Optional modules to load","disabled":true},{"key":"per_page","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 10:03:47 GMT"},{"key":"phpdebugbar-id","value":"X64ff602570134d89429af34a415c14c4"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 416824,\n            \"type\": \"lead\",\n            \"owner_id\": 17673,\n            \"is_lead\": true,\n            \"owner\": {\n                \"id\": 17673,\n                \"name\": \"Amanda Ross\",\n                \"email\": \"amanda.ross@example.com\",\n                \"phone\": null,\n                \"created_at\": \"2023-09-05T22:51:03.000000Z\",\n                \"updated_at\": \"2025-05-12T15:00:19.000000Z\"\n            },\n            \"referred_by\": \"John Doe\",\n            \"nickname\": \"James\",\n            \"maiden_name\": \"Anderson\",\n            \"family_name\": \"Smith\",\n            \"first_name\": \"James\",\n            \"last_name\": \"Smith\",\n            \"full_name\": \"James L Smith\",\n            \"client_status_id\": 416,\n            \"client_status\": {\n                \"id\": 416,\n                \"name\": \"Client\",\n                \"created_at\": \"2023-10-05T18:18:48.000000Z\",\n                \"updated_at\": \"2023-10-05T18:18:48.000000Z\"\n            },\n            \"email\": \"james.smith@example.com\",\n            \"phone\": \"(555) 555-5555\",\n            \"salutation\": \"Mr.\",\n            \"suffix\": null,\n            \"job_title\": \"Attorney\",\n            \"company\": \"LeadCenter.AI\",\n            \"date_of_birth\": \"2025-05-08T05:00:00.000000Z\",\n            \"client_since\": \"2025-05-02T05:00:00.000000Z\",\n            \"date_of_death\": null,\n            \"client_termination_date\": null,\n            \"termination_reason\": null,\n            \"gender\": \"Male\",\n            \"marital_status\": \"Single\",\n            \"marital_anniversary_date\": null,\n            \"investment_objective\": \"Aggressive Growth\",\n            \"time_horizon\": \"long-term\",\n            \"risk_tolerance\": \"moderate\",\n            \"employment\": [\n                {\n                    \"id\": 11,\n                    \"occupation\": \"Attorney\",\n                    \"occupation_start_date\": \"2017-05-01T05:00:00.000000Z\"\n                }\n            ],\n            \"family\": {\n                \"id\": 117938,\n                \"name\": \"Smith's Family\",\n                \"created_at\": \"2025-05-13T10:07:53.000000Z\",\n                \"updated_at\": \"2025-05-13T10:07:53.000000Z\",\n                \"members\": [\n                    {\n                        \"id\": 416824,\n                        \"type\": \"lead\",\n                        \"full_name\": \"James L Smith\",\n                        \"email\": \"james.smith@example.com\",\n                        \"phone\": \"(555) 555-5555\",\n                        \"created_at\": \"2025-05-07T11:19:05.000000Z\",\n                        \"updated_at\": \"2025-05-13T10:03:43.000000Z\",\n                        \"relationship\": \"Hoh\"\n                    },\n                    {\n                        \"id\": 416826,\n                        \"type\": \"lead\",\n                        \"full_name\": \"Sarah Smith\",\n                        \"email\": \"sarah.smith@example.com\",\n                        \"phone\": \"(555) 555-5555\",\n                        \"created_at\": \"2025-05-13T10:08:38.000000Z\",\n                        \"updated_at\": \"2025-05-13T10:08:38.000000Z\",\n                        \"relationship\": \"Spouse\"\n                    }\n                ]\n            },\n            \"addresses\": [],\n            \"emails\": [\n                {\n                    \"id\": 195021,\n                    \"lead_id\": 416824,\n                    \"title\": \"Primary Email\",\n                    \"type\": \"Home\",\n                    \"email\": \"james.smith@example.com\",\n                    \"description\": null,\n                    \"is_primary\": true,\n                    \"is_preferred\": false,\n                    \"created_at\": \"2025-05-07T11:19:06.000000Z\",\n                    \"updated_at\": \"2025-05-07T11:19:06.000000Z\"\n                }\n            ],\n            \"phone_numbers\": [\n                {\n                    \"id\": 215647,\n                    \"lead_id\": 416824,\n                    \"tenant_id\": 17673,\n                    \"title\": \"Primary Mobile\",\n                    \"description\": null,\n                    \"type\": \"Mobile\",\n                    \"phone\": \"+15555555555\",\n                    \"formatted_phone\": \"+15555555555\",\n                    \"is_primary\": 1,\n                    \"is_preferred\": 0,\n                    \"created_at\": \"2025-05-07T11:19:06.000000Z\",\n                    \"updated_at\": \"2025-05-07T11:19:06.000000Z\"\n                }\n            ],\n            \"websites\": [],\n            \"medium_id\": 4,\n            \"medium\": {\n                \"id\": 4,\n                \"name\": \"Offline\",\n                \"description\": \"Contacts added from sales pipeline or contacts dashboard in LeadCenter.\",\n                \"created_at\": \"2021-07-07T10:27:16.000000Z\",\n                \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n            },\n            \"stage_id\": 99830,\n            \"stage\": {\n                \"id\": 99830,\n                \"name\": \"To be Qualified\",\n                \"description\": null,\n                \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n                \"updated_at\": \"2025-02-20T11:40:15.000000Z\"\n            },\n            \"source_id\": 66980,\n            \"source\": {\n                \"id\": 66980,\n                \"name\": \"Email Marketing\",\n                \"description\": null,\n                \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n                \"updated_at\": \"2023-09-05T22:51:05.000000Z\"\n            },\n            \"category_id\": 2775,\n            \"category\": {\n                \"id\": 2775,\n                \"name\": \"AAA Client\",\n                \"description\": null,\n                \"created_at\": \"2025-05-07T11:19:45.000000Z\",\n                \"updated_at\": \"2025-05-07T11:19:45.000000Z\"\n            },\n            \"created_at\": \"2025-05-07T11:19:05.000000Z\",\n            \"updated_at\": \"2025-05-13T10:03:43.000000Z\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"https://api.leadcenter.test/v1/leads?page=1\",\n        \"last\": \"https://api.leadcenter.test/v1/leads?page=20\",\n        \"prev\": null,\n        \"next\": \"https://api.leadcenter.test/v1/leads?page=2\"\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 20,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=2\",\n                \"label\": \"2\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=3\",\n                \"label\": \"3\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=4\",\n                \"label\": \"4\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=5\",\n                \"label\": \"5\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=6\",\n                \"label\": \"6\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=7\",\n                \"label\": \"7\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=8\",\n                \"label\": \"8\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=9\",\n                \"label\": \"9\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=10\",\n                \"label\": \"10\",\n                \"active\": false\n            },\n            {\n                \"url\": null,\n                \"label\": \"...\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=19\",\n                \"label\": \"19\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=20\",\n                \"label\": \"20\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/leads?page=2\",\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"https://api.leadcenter.test/v1/leads\",\n        \"per_page\": 10,\n        \"to\": 10,\n        \"total\": 193\n    }\n}"}],"_postman_id":"31efd60c-127f-4475-8473-2fe5f4bb5e9b"},{"name":"Update","id":"cc5d5113-c8e6-4576-9a54-eb639f3a8f9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"owner_id\": 17673, // Default is authenticated user\n    \"first_name\": \"John\",\n    \"last_name\": \"Smith\",\n    \"nick_name\": \"John\",\n    \"middle_name\": \"L\",\n    \"maiden_name\": \"Richard\",\n    \"family_name\": \"John's Family\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+155555555555\",\n    \"company\": \"LeadCenter.AI\",\n    \"job_title\": \"Attorney\",\n    \"is_lead\": true,\n    \"medium_id\": 4,\n    \"source_id\": 66980,\n    \"stage_id\": 99830,\n    \"category_id\": 2775,\n    \"client_status_id\": 416,\n    \"spouse_lead_id\": null,\n    \"is_head_of_household\": true,\n    \"marital_status_id\": 2, // [1 = SINGLE, 2 = MARRIED, 3 = DIVORCED, 4 = WIDOWED, 5 = UNKNOWN, 6 = SEPARATED]\n    \"salutation_id\": 1, // [1 = 'DR', 2 = 'MISS', 3 = 'MR', 4 = 'MRS', 5 = 'MS']\n    \"job_status_id\": 1, // [1 = 'FULL_TIME', 2 = 'PART_TIME', 3 = 'RETIRED', 4 = 'LAID_OFF', 5 = 'SEMI_RETIRED']\n    \"gender_id\": 1, //[ 1 = 'MALE', 2 = 'FEMALE', 3 = 'NON_BINARY', 4 = 'OTHER', 5 = 'UNKNOWN']\n    \"client_since\": \"01-05-2022\",\n    \"client_termination_date\": \"01-05-2022\",\n    \"date_of_birth\": \"01-05-1999\",\n    \"marital_anniversary_date\": \"01-05-2005\",\n    \"date_of_death\": null,\n    \"referred_by\": \"Jonny Richard\",\n    \"primary_note\": \"Primary Note [I]\",\n    \"enquiry\": \"\",\n    \"country_id\": \"United States\",\n    \"city\": \"Chicago\",\n    \"state\": \"Illinois\",\n    \"address\": \"1234 Elm Street\",\n    \"postal_code\": \"60601\",\n    \"writing_advisor_id\": 17711,// System user\n    \"servicing_advisor_id\": 17711,\n    \"tax_id\": \"12-3456789\",\n    \"engagement_signed_date\": \"01-05-2023\",\n    \"risk_tolerance\": \"moderate\", // [conservative, moderate, aggressive]\n    \"estimated_total_assets\": 100000,\n    \"estimated_non_liquid_assets\": 100000,\n    \"adjusted_gross_income\": 100000,\n    \"estimated_investable_assets\": 100000,\n    \"net_worth_amount\": 100000,\n    \"estimated_taxes\": 100000,\n    \"monthly_expenses\": 100000,\n    \"updated_since\": \"2025-06-02T12:30:00\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/leads/:id?load=tags,notes,appointments,email_verification,phone_verification","description":"<h3 id=\"update-lead-information-with-tags-notes-appointments-email-verification-and-phone-verification\">Update Lead Information with Tags, Notes, Appointments, Email Verification, and Phone Verification</h3>\n<p>This endpoint allows the user to update lead information along with tags, notes, appointments, email verification, and phone verification.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>owner_id</code> (integer): The ID of the owner. Defaults to the authenticated user.</p>\n</li>\n<li><p><code>first_name</code> (string): The first name of the lead.</p>\n</li>\n<li><p><code>last_name</code> (string): The last name of the lead.</p>\n</li>\n<li><p><code>nick_name</code> (string): The nickname of the lead.</p>\n</li>\n<li><p><code>middle_name</code> (string): The middle name of the lead.</p>\n</li>\n<li><p><code>maiden_name</code> (string): The maiden name of the lead.</p>\n</li>\n<li><p><code>family_name</code> (string): The name of the lead's family group or household.</p>\n</li>\n<li><p><code>email</code> (string): The lead's email address.</p>\n</li>\n<li><p><code>phone</code> (string): The lead's phone number (e.g., +155555555555).</p>\n</li>\n<li><p><code>company</code> (string): The lead's company name.</p>\n</li>\n<li><p><code>job_title</code> (string): The job title or profession of the lead.</p>\n</li>\n<li><p><code>is_lead</code> (boolean): Indicates whether the record is a lead (true) or not.</p>\n</li>\n<li><p><code>medium_id</code> (integer): ID of the marketing medium.</p>\n</li>\n<li><p><code>source_id</code> (integer): ID of the lead source.</p>\n</li>\n<li><p><code>stage_id</code> (integer): ID of the lead’s stage in the pipeline.</p>\n</li>\n<li><p><code>category_id</code> (integer): ID of the lead category.</p>\n</li>\n<li><p><code>client_status_id</code> (integer): ID representing the client status.</p>\n</li>\n<li><p><code>spouse_lead_id</code> (integer|null): ID of the spouse if another lead, or null.</p>\n</li>\n<li><p><code>is_head_of_household</code> (boolean): Whether this lead is marked as head of household.</p>\n</li>\n<li><p><code>marital_status_id</code> (integer): Marital status ID. <code>[1 = SINGLE, 2 = MARRIED, 3 = DIVORCED, 4 = WIDOWED, 5 = UNKNOWN, 6 = SEPARATED]</code></p>\n</li>\n<li><p><code>salutation_id</code> (integer): Salutation ID. [1 = DR, 2 = MISS, 3 = MR, 4 = MRS, 5 = MS]</p>\n</li>\n<li><p><code>job_status_id</code> (integer): Job status ID. <code>[1 = FULL TIME, 2 = PART TIME, 3 = RETIRED, 4 = LAID OFF, 5 = SEMI RETIRED]</code></p>\n</li>\n<li><p><code>gender_id</code> (integer): Gender ID. <code>[1 = MALE, 2 = FEMALE, 3 = NON_BINARY, 4 = OTHER, 5 = UNKNOWN]</code></p>\n</li>\n<li><p><code>client_since</code> (string:date): The date the client relationship started (format: MM-DD-YYYY).</p>\n</li>\n<li><p><code>client_termination_date</code> (string:date): The date the client relationship ended (format: MM-DD-YYYY).</p>\n</li>\n<li><p><code>date_of_birth</code> (string:date): The lead's birth date (format: MM-DD-YYYY).</p>\n</li>\n<li><p><code>marital_anniversary_date</code> (string:date): The date of marriage anniversary (format: MM-DD-YYYY).</p>\n</li>\n<li><p><code>date_of_death</code> (string:date|null): Date of death if applicable, or null.</p>\n</li>\n<li><p><code>referred_by</code> (string): The name of the person who referred the lead.</p>\n</li>\n<li><p><code>primary_note</code> (string): Main notes about the lead.</p>\n</li>\n<li><p><code>enquiry</code> (string): Notes or content related to the enquiry.</p>\n</li>\n<li><p><code>country_id</code> (string): Country name or code (e.g., \"United States\").</p>\n</li>\n<li><p><code>city</code> (string): City name.</p>\n</li>\n<li><p><code>state</code> (string): State name.</p>\n</li>\n<li><p><code>address</code> (string): Street address.</p>\n</li>\n<li><p><code>postal_code</code> (string): ZIP or postal code.</p>\n</li>\n<li><p><code>writing_advisor_id</code> (integer): ID of the writing advisor (user).</p>\n</li>\n<li><p><code>servicing_advisor_id</code> (integer): ID of the servicing advisor (user).</p>\n</li>\n<li><p><code>tax_id</code> (string): Tax ID (e.g., EIN or SSN format: 12-3456789).</p>\n</li>\n<li><p><code>engagement_signed_date</code> (string:date): The date the engagement agreement was signed (format: MM-DD-YYYY).</p>\n</li>\n<li><p><code>risk_tolerance</code> (string): Risk tolerance level. <code>[conservative, moderate, aggressive]</code></p>\n</li>\n<li><p><code>estimated_total_assets</code> (integer): Estimated total assets value.</p>\n</li>\n<li><p><code>estimated_non_liquid_assets</code> (integer): Estimated value of non-liquid assets.</p>\n</li>\n<li><p><code>adjusted_gross_income</code> (integer): Adjusted gross income amount.</p>\n</li>\n<li><p><code>estimated_investable_assets</code> (integer): Estimated investable assets.</p>\n</li>\n<li><p><code>net_worth_amount</code> (integer): Net worth value.</p>\n</li>\n<li><p><code>estimated_taxes</code> (integer): Estimated taxes due.</p>\n</li>\n<li><p><code>monthly_expenses</code> (integer): Estimated monthly expenses.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will be a JSON object conforming to the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": 416828,\n    \"type\": \"lead\",\n    \"owner_id\": 17673,\n    \"owner\": {\n        \"id\": 12345,\n        \"name\": \"Amanda Ross\",\n        \"first_name\": \"Amanda\",\n        \"last_name\": \"Ross\",\n        \"email\": \"amanda.ross@example.com\",\n        \"phone\": null,\n        \"created_at\": \"2023-09-05T22:51:03.000000Z\",\n        \"updated_at\": \"2025-05-12T15:00:19.000000Z\"\n    },\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+155555555555\",\n    \"is_lead\": true,\n    \"referred_by\": \"Jonny Richard\",\n    \"nickname\": \"John\",\n    \"maiden_name\": \"Richard\",\n    \"family_name\": \"John's Family\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Smith\",\n    \"full_name\": \"John Smith\",\n    \"nick_name\": \"John\",\n    \"client_status_id\": 416,\n    \"client_status\": {\n        \"id\": 416,\n        \"name\": \"Client\",\n        \"created_at\": \"2023-10-05T18:18:48.000000Z\",\n        \"updated_at\": \"2023-10-05T18:18:48.000000Z\"\n    },\n    \"spouse_lead_id\": null,\n    \"is_head_of_household\": true,\n    \"enquiry\": \"\",\n    \"primary_note\": \"Primary Note example\",\n    \"salutation_id\": 1,\n    \"salutation\": \"Dr.\",\n    \"suffix\": null,\n    \"job_title\": \"Attorney\",\n    \"job_status_id\": 1,\n    \"job_status\": \"Full Time\",\n    \"company\": \"LeadCenter.AI\",\n    \"date_of_birth\": \"1999-05-01T05:00:00.000000Z\",\n    \"client_since\": \"2022-05-01T05:00:00.000000Z\",\n    \"date_of_death\": null,\n    \"client_termination_date\": null,\n    \"termination_reason\": null,\n    \"gender_id\": 1,\n    \"gender\": \"Male\",\n    \"writing_advisor_id\": 17711,\n    \"writing_advisor\": {\n        \"id\": 17711,\n        \"name\": \"Jane Advisor\",\n        \"email\": \"jane.advisor@example.com\",\n        \"phone\": null,\n        \"created_at\": \"2023-10-25T11:27:17.000000Z\",\n        \"updated_at\": \"2023-10-25T11:33:27.000000Z\"\n    },\n    \"servicing_advisor_id\": 17711,\n    \"servicing_advisor\": {\n        \"id\": 17712,\n        \"name\": \"Jim Advisor\",\n        \"email\": \"jim.advisor@example.com\",\n        \"phone\": null,\n        \"created_at\": \"2023-10-25T11:27:17.000000Z\",\n        \"updated_at\": \"2023-10-25T11:33:27.000000Z\"\n    },\n    \"tax_id\": \"12-3456789\",\n    \"marital_status_id\": 2,\n    \"marital_status\": \"Married\",\n    \"marital_anniversary_date\": \"2005-05-01T05:00:00.000000Z\",\n    \"engagement_signed_date\": \"2023-05-01T05:00:00.000000Z\",\n    \"investment_objective\": null,\n    \"time_horizon\": null,\n    \"estimated_total_assets\": \"100000.00\",\n    \"estimated_non_liquid_assets\": \"100000.00\",\n    \"adjusted_gross_income\": \"100000.00\",\n    \"estimated_investable_assets\": \"100000.00\",\n    \"net_worth_amount\": \"100000.0000\",\n    \"estimated_taxes\": \"100000.0000\",\n    \"monthly_expenses\": \"100000.0000\",\n    \"risk_tolerance\": \"moderate\",\n    \"employment\": [],\n    \"family\": null,\n    \"addresses\": [\n        {\n            \"id\": 191352,\n            \"type\": \"Home\",\n            \"title\": \"Primary Address\",\n            \"description\": null,\n            \"country\": \"United States\",\n            \"state\": \"Illinois\",\n            \"city\": \"Chicago\",\n            \"address_line_1\": \"1234 Elm Street\",\n            \"address_line_2\": null,\n            \"zip_code\": \"60601\",\n            \"is_primary\": true,\n            \"is_preferred\": false,\n            \"created_at\": \"2025-05-13T18:05:40.000000Z\",\n            \"updated_at\": \"2025-05-13T18:05:40.000000Z\"\n        }\n    ],\n    \"emails\": [\n        {\n            \"id\": 195026,\n            \"lead_id\": 416828,\n            \"title\": \"Primary Email\",\n            \"type\": \"Home\",\n            \"email\": \"john.smith@example.com\",\n            \"description\": null,\n            \"is_primary\": true,\n            \"is_preferred\": false,\n            \"created_at\": \"2025-05-13T18:05:40.000000Z\",\n            \"updated_at\": \"2025-05-13T18:05:40.000000Z\"\n        }\n    ],\n    \"phone_numbers\": [\n        {\n            \"id\": 215652,\n            \"lead_id\": 416828,\n            \"tenant_id\": 17673,\n            \"title\": \"Primary Mobile\",\n            \"description\": null,\n            \"type\": \"Mobile\",\n            \"phone\": \"+155555555555\",\n            \"formatted_phone\": null,\n            \"is_primary\": 1,\n            \"is_preferred\": 0,\n            \"created_at\": \"2025-05-13T18:05:40.000000Z\",\n            \"updated_at\": \"2025-05-13T21:17:44.000000Z\"\n        }\n    ],\n    \"websites\": [],\n    \"medium_id\": 4,\n    \"medium\": {\n        \"id\": 4,\n        \"name\": \"Offline\",\n        \"description\": \"Contacts added from sales pipeline or contacts dashboard in LeadCenter.\",\n        \"color\": \"purple\",\n        \"created_at\": \"2021-07-07T10:27:16.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    \"stage_id\": 99830,\n    \"stage\": {\n        \"id\": 99830,\n        \"name\": \"To be Qualified\",\n        \"description\": null,\n        \"color\": \"orange\",\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2025-02-20T11:40:15.000000Z\"\n    },\n    \"source_id\": 66980,\n    \"source\": {\n        \"id\": 66980,\n        \"name\": \"Email Marketing\",\n        \"description\": null,\n        \"color\": \"orange\",\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2023-09-05T22:51:05.000000Z\"\n    },\n    \"category_id\": 2775,\n    \"category\": {\n        \"id\": 2775,\n        \"name\": \"AAA Client\",\n        \"description\": null,\n        \"color\": \"indigo\",\n        \"created_at\": \"2025-05-07T11:19:45.000000Z\",\n        \"updated_at\": \"2025-05-07T11:19:45.000000Z\"\n    },\n    \"created_at\": \"2025-05-13T18:05:40.000000Z\",\n    \"updated_at\": \"2025-05-13T21:21:31.000000Z\",\n    \"tags\": [],\n    \"notes\": [],\n    \"appointments\": [],\n    \"email_verification\": {\n        \"id\": 98882,\n        \"lead_id\": 416828,\n        \"email\": \"john.smith@example.com\",\n        \"result\": \"valid\",\n        \"reason\": \"accepted_email\",\n        \"verification_done_at\": \"2025-05-13T18:03:25.000000Z\",\n        \"mx_record\": \"\",\n        \"mx_domain\": \"\",\n        \"safe_to_send\": false,\n        \"free\": false,\n        \"disposable\": false,\n        \"created_at\": \"2025-05-13T18:05:40.000000Z\",\n        \"updated_at\": \"2025-05-13T18:05:40.000000Z\"\n    },\n    \"phone_verification\": {\n        \"id\": 87686,\n        \"user_id\": 17673,\n        \"tenant_id\": 17673,\n        \"lead_id\": 416828,\n        \"result\": \"invalid_syntax\",\n        \"error_code\": null,\n        \"phone_number\": \"+155555555555\",\n        \"country_code\": null,\n        \"national_format\": null,\n        \"owner_name\": null,\n        \"owner_type\": null,\n        \"carrier_country_code\": null,\n        \"carrier_network_code\": null,\n        \"carrier_name\": null,\n        \"carrier_type\": null,\n        \"state\": null,\n        \"lookup_done_at\": \"2025-05-13T21:17:44.000000Z\",\n        \"created_at\": \"2025-05-13T21:17:44.000000Z\",\n        \"updated_at\": \"2025-05-13T21:17:44.000000Z\",\n        \"cost\": null,\n        \"stripe_uasge_record_id\": null,\n        \"charged_at\": null,\n        \"error_message\": null\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id"],"host":["{{domain}}"],"query":[{"key":"load","value":"tags,notes,appointments,email_verification,phone_verification"}],"variable":[{"type":"any","value":"416828","key":"id"}]}},"response":[{"id":"ed7b4721-1095-4a32-a1be-5394121ecacf","name":"Success","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"owner_id\": 17673, // Default is authenticated user\n    \"first_name\": \"John\",\n    \"last_name\": \"Smith\",\n    \"nick_name\": \"John\",\n    \"middle_name\": \"L\",\n    \"maiden_name\": \"Richard\",\n    \"family_name\": \"John's Family\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+155555555555\",\n    \"company\": \"LeadCenter.AI\",\n    \"job_title\": \"Attorney\",\n    \"is_lead\": true,\n    \"medium_id\": 4,\n    \"source_id\": 66980,\n    \"stage_id\": 99830,\n    \"category_id\": 2775,\n    \"client_status_id\": 416,\n    \"spouse_lead_id\": null,\n    \"is_head_of_household\": true,\n    \"marital_status_id\": 2, // [1 = SINGLE, 2 = MARRIED, 3 = DIVORCED, 4 = WIDOWED, 5 = UNKNOWN, 6 = SEPARATED]\n    \"salutation_id\": 1, // [1 = 'DR', 2 = 'MISS', 3 = 'MR', 4 = 'MRS', 5 = 'MS']\n    \"job_status_id\": 1, // [1 = 'FULL_TIME', 2 = 'PART_TIME', 3 = 'RETIRED', 4 = 'LAID_OFF', 5 = 'SEMI_RETIRED']\n    \"gender_id\": 1, //[ 1 = 'MALE', 2 = 'FEMALE', 3 = 'NON_BINARY', 4 = 'OTHER', 5 = 'UNKNOWN']\n    \"client_since\": \"01-05-2022\",\n    \"client_termination_date\": \"01-05-2022\",\n    \"date_of_birth\": \"01-05-1999\",\n    \"marital_anniversary_date\": \"01-05-2005\",\n    \"date_of_death\": null,\n    \"referred_by\": \"Jonny Richard\",\n    \"primary_note\": \"Primary Note [I]\",\n    \"enquiry\": \"\",\n    \"country_id\": \"United States\",\n    \"city\": \"Chicago\",\n    \"state\": \"Illinois\",\n    \"address\": \"1234 Elm Street\",\n    \"postal_code\": \"60601\",\n    \"writing_advisor_id\": 17711,// System user\n    \"servicing_advisor_id\": 17711,\n    \"tax_id\": \"12-3456789\",\n    \"engagement_signed_date\": \"01-05-2023\",\n    \"risk_tolerance\": \"moderate\", // [conservative, moderate, aggressive]\n    \"estimated_total_assets\": 100000,\n    \"estimated_non_liquid_assets\": 100000,\n    \"adjusted_gross_income\": 100000,\n    \"estimated_investable_assets\": 100000,\n    \"net_worth_amount\": 100000,\n    \"estimated_taxes\": 100000,\n    \"monthly_expenses\": 100000\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/leads/:id?load=tags,notes,appointments,email_verification,phone_verification","host":["{{domain}}"],"path":["v1","leads",":id"],"query":[{"key":"load","value":"tags,notes,appointments,email_verification,phone_verification"}],"variable":[{"key":"id","value":"416828"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 21:21:31 GMT"},{"key":"phpdebugbar-id","value":"01JV5RCC7EYERKD86CMNNNG40F"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 416828,\n    \"type\": \"lead\",\n    \"owner_id\": 17673,\n    \"owner\": {\n        \"id\": 12345,\n        \"name\": \"Amanda Ross\",\n        \"first_name\": \"Amanda\",\n        \"last_name\": \"Ross\",\n        \"email\": \"amanda.ross@example.com\",\n        \"phone\": null,\n        \"created_at\": \"2023-09-05T22:51:03.000000Z\",\n        \"updated_at\": \"2025-05-12T15:00:19.000000Z\"\n    },\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+155555555555\",\n    \"is_lead\": true,\n    \"referred_by\": \"Jonny Richard\",\n    \"nickname\": \"John\",\n    \"maiden_name\": \"Richard\",\n    \"family_name\": \"John's Family\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Smith\",\n    \"full_name\": \"John Smith\",\n    \"nick_name\": \"John\",\n    \"client_status_id\": 416,\n    \"client_status\": {\n        \"id\": 416,\n        \"name\": \"Client\",\n        \"created_at\": \"2023-10-05T18:18:48.000000Z\",\n        \"updated_at\": \"2023-10-05T18:18:48.000000Z\"\n    },\n    \"spouse_lead_id\": null,\n    \"is_head_of_household\": true,\n    \"enquiry\": \"\",\n    \"primary_note\": \"Primary Note example\",\n    \"salutation_id\": 1,\n    \"salutation\": \"Dr.\",\n    \"suffix\": null,\n    \"job_title\": \"Attorney\",\n    \"job_status_id\": 1,\n    \"job_status\": \"Full Time\",\n    \"company\": \"LeadCenter.AI\",\n    \"date_of_birth\": \"1999-05-01T05:00:00.000000Z\",\n    \"client_since\": \"2022-05-01T05:00:00.000000Z\",\n    \"date_of_death\": null,\n    \"client_termination_date\": null,\n    \"termination_reason\": null,\n    \"gender_id\": 1,\n    \"gender\": \"Male\",\n    \"writing_advisor_id\": 17711,\n    \"writing_advisor\": {\n        \"id\": 17711,\n        \"name\": \"Jane Advisor\",\n        \"email\": \"jane.advisor@example.com\",\n        \"phone\": null,\n        \"created_at\": \"2023-10-25T11:27:17.000000Z\",\n        \"updated_at\": \"2023-10-25T11:33:27.000000Z\"\n    },\n    \"servicing_advisor_id\": 17711,\n    \"servicing_advisor\": {\n        \"id\": 17712,\n        \"name\": \"Jim Advisor\",\n        \"email\": \"jim.advisor@example.com\",\n        \"phone\": null,\n        \"created_at\": \"2023-10-25T11:27:17.000000Z\",\n        \"updated_at\": \"2023-10-25T11:33:27.000000Z\"\n    },\n    \"tax_id\": \"12-3456789\",\n    \"marital_status_id\": 2,\n    \"marital_status\": \"Married\",\n    \"marital_anniversary_date\": \"2005-05-01T05:00:00.000000Z\",\n    \"engagement_signed_date\": \"2023-05-01T05:00:00.000000Z\",\n    \"investment_objective\": null,\n    \"time_horizon\": null,\n    \"estimated_total_assets\": \"100000.00\",\n    \"estimated_non_liquid_assets\": \"100000.00\",\n    \"adjusted_gross_income\": \"100000.00\",\n    \"estimated_investable_assets\": \"100000.00\",\n    \"net_worth_amount\": \"100000.0000\",\n    \"estimated_taxes\": \"100000.0000\",\n    \"monthly_expenses\": \"100000.0000\",\n    \"risk_tolerance\": \"moderate\",\n    \"employment\": [],\n    \"family\": null,\n    \"addresses\": [\n        {\n            \"id\": 191352,\n            \"type\": \"Home\",\n            \"title\": \"Primary Address\",\n            \"description\": null,\n            \"country\": \"United States\",\n            \"state\": \"Illinois\",\n            \"city\": \"Chicago\",\n            \"address_line_1\": \"1234 Elm Street\",\n            \"address_line_2\": null,\n            \"zip_code\": \"60601\",\n            \"is_primary\": true,\n            \"is_preferred\": false,\n            \"created_at\": \"2025-05-13T18:05:40.000000Z\",\n            \"updated_at\": \"2025-05-13T18:05:40.000000Z\"\n        }\n    ],\n    \"emails\": [\n        {\n            \"id\": 195026,\n            \"lead_id\": 416828,\n            \"title\": \"Primary Email\",\n            \"type\": \"Home\",\n            \"email\": \"john.smith@example.com\",\n            \"description\": null,\n            \"is_primary\": true,\n            \"is_preferred\": false,\n            \"created_at\": \"2025-05-13T18:05:40.000000Z\",\n            \"updated_at\": \"2025-05-13T18:05:40.000000Z\"\n        }\n    ],\n    \"phone_numbers\": [\n        {\n            \"id\": 215652,\n            \"lead_id\": 416828,\n            \"tenant_id\": 17673,\n            \"title\": \"Primary Mobile\",\n            \"description\": null,\n            \"type\": \"Mobile\",\n            \"phone\": \"+155555555555\",\n            \"formatted_phone\": null,\n            \"is_primary\": 1,\n            \"is_preferred\": 0,\n            \"created_at\": \"2025-05-13T18:05:40.000000Z\",\n            \"updated_at\": \"2025-05-13T21:17:44.000000Z\"\n        }\n    ],\n    \"websites\": [],\n    \"medium_id\": 4,\n    \"medium\": {\n        \"id\": 4,\n        \"name\": \"Offline\",\n        \"description\": \"Contacts added from sales pipeline or contacts dashboard in LeadCenter.\",\n        \"color\": \"purple\",\n        \"created_at\": \"2021-07-07T10:27:16.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    \"stage_id\": 99830,\n    \"stage\": {\n        \"id\": 99830,\n        \"name\": \"To be Qualified\",\n        \"description\": null,\n        \"color\": \"orange\",\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2025-02-20T11:40:15.000000Z\"\n    },\n    \"source_id\": 66980,\n    \"source\": {\n        \"id\": 66980,\n        \"name\": \"Email Marketing\",\n        \"description\": null,\n        \"color\": \"orange\",\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2023-09-05T22:51:05.000000Z\"\n    },\n    \"category_id\": 2775,\n    \"category\": {\n        \"id\": 2775,\n        \"name\": \"AAA Client\",\n        \"description\": null,\n        \"color\": \"indigo\",\n        \"created_at\": \"2025-05-07T11:19:45.000000Z\",\n        \"updated_at\": \"2025-05-07T11:19:45.000000Z\"\n    },\n    \"created_at\": \"2025-05-13T18:05:40.000000Z\",\n    \"updated_at\": \"2025-05-13T21:21:31.000000Z\",\n    \"tags\": [],\n    \"notes\": [],\n    \"appointments\": [],\n    \"email_verification\": {\n        \"id\": 98882,\n        \"lead_id\": 416828,\n        \"email\": \"john.smith@example.com\",\n        \"result\": \"valid\",\n        \"reason\": \"accepted_email\",\n        \"verification_done_at\": \"2025-05-13T18:03:25.000000Z\",\n        \"mx_record\": \"\",\n        \"mx_domain\": \"\",\n        \"safe_to_send\": false,\n        \"free\": false,\n        \"disposable\": false,\n        \"created_at\": \"2025-05-13T18:05:40.000000Z\",\n        \"updated_at\": \"2025-05-13T18:05:40.000000Z\"\n    },\n    \"phone_verification\": {\n        \"id\": 87686,\n        \"user_id\": 17673,\n        \"tenant_id\": 17673,\n        \"lead_id\": 416828,\n        \"result\": \"invalid_syntax\",\n        \"error_code\": null,\n        \"phone_number\": \"+155555555555\",\n        \"country_code\": null,\n        \"national_format\": null,\n        \"owner_name\": null,\n        \"owner_type\": null,\n        \"carrier_country_code\": null,\n        \"carrier_network_code\": null,\n        \"carrier_name\": null,\n        \"carrier_type\": null,\n        \"state\": null,\n        \"lookup_done_at\": \"2025-05-13T21:17:44.000000Z\",\n        \"created_at\": \"2025-05-13T21:17:44.000000Z\",\n        \"updated_at\": \"2025-05-13T21:17:44.000000Z\",\n        \"cost\": null,\n        \"stripe_uasge_record_id\": null,\n        \"charged_at\": null,\n        \"error_message\": null\n    }\n}"}],"_postman_id":"cc5d5113-c8e6-4576-9a54-eb639f3a8f9f"},{"name":"Create","id":"53ba8ed0-2a7f-4e96-a84f-8eaa9e8866d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"owner_id\": 17673, // Default is authenticated user\n    \"first_name\": \"John\",\n    \"last_name\": \"Smith\",\n    \"middle_name\": \"L\",\n    \"maiden_name\": \"Richard\",\n    \"family_name\": \"John's Family\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"555555555555\",\n    \"enquiry\": \"\",\n    \"company\": \"LeadCenter.AI\",\n    \"job_title\": \"Attorney\",\n    \"Nickname\": \"John\",\n    \"is_lead\": true,\n    \"medium_id\": 4,\n    \"source_id\": 66980,\n    \"stage_id\": 99830,\n    \"category_id\": 2775,\n    \"client_status_id\": 416,\n    \"spouse_lead_id\": null,\n    \"is_head_of_household\": true,\n    \"marital_status_id\": 2, // [1 = SINGLE, 2 = MARRIED, 3 = DIVORCED, 4 = WIDOWED, 5 = UNKNOWN, 6 = SEPARATED]\n    \"salutation_id\": 1, // [1 = 'DR', 2 = 'MISS', 3 = 'MR', 4 = 'MRS', 5 = 'MS']\n    \"job_status_id\": 1, // [1 = 'FULL_TIME', 2 = 'PART_TIME', 3 = 'RETIRED', 4 = 'LAID_OFF', 5 = 'SEMI_RETIRED']\n    \"gender_id\": 1, //[ 1 = 'MALE', 2 = 'FEMALE', 3 = 'NON_BINARY', 4 = 'OTHER', 5 = 'UNKNOWN']\n    \"client_since\": \"01-05-2022\",\n    \"client_termination_date\": \"01-05-2022\",\n    \"date_of_birth\": \"01-05-1999\",\n    \"marital_anniversary_date\": \"01-05-2005\",\n    \"date_of_death\": null,\n    \"referred_by\": \"Jonny Richard\",\n    \"notes\": \"Primary Note\",\n    \"country_id\": \"United States\",\n    \"city\": \"Chicago\",\n    \"state\": \"Illinois\",\n    \"address\": \"1234 Elm Street\",\n    \"postal_code\": \"60601\",\n    \"writing_advisor_id\": 17711,// System user\n    \"servicing_advisor_id\": 17711,\n    \"tax_id\": \"12-3456789\",\n    \"engagement_signed_date\": \"01-05-2023\",\n    \"risk_tolerance\": \"moderate\", // [conservative, moderate, aggressive]\n    \"estimated_total_assets\": 100000,\n    \"estimated_non_liquid_assets\": 100000,\n    \"adjusted_gross_income\": 100000,\n    \"estimated_investable_assets\": 100000,\n    \"net_worth_amount\": 100000,\n    \"estimated_taxes\": 100000,\n    \"monthly_expenses\": 100000\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/leads","description":"<h1 id=\"create-lead\">Create Lead</h1>\n<p>Create a new lead/contact</p>\n<h2 id=\"request\">Request</h2>\n<ul>\n<li><p>Method: POST</p>\n</li>\n<li><p>URL: <code>{{domain}}/v1/leads/</code></p>\n</li>\n</ul>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>owner_id</code> (integer): The ID of the owner. Defaults to the authenticated user.</p>\n</li>\n<li><p><code>first_name</code> (string): The first name of the lead.</p>\n</li>\n<li><p><code>last_name</code> (string): The last name of the lead.</p>\n</li>\n<li><p><code>nick_name</code> (string): The nickname of the lead.</p>\n</li>\n<li><p><code>middle_name</code> (string): The middle name of the lead.</p>\n</li>\n<li><p><code>maiden_name</code> (string): The maiden name of the lead.</p>\n</li>\n<li><p><code>family_name</code> (string): The name of the lead's family group or household.</p>\n</li>\n<li><p><code>email</code> (string): The lead's email address.</p>\n</li>\n<li><p><code>phone</code> (string): The lead's phone number (e.g., +155555555555).</p>\n</li>\n<li><p><code>company</code> (string): The lead's company name.</p>\n</li>\n<li><p><code>job_title</code> (string): The job title or profession of the lead.</p>\n</li>\n<li><p><code>is_lead</code> (boolean): Indicates whether the record is a lead (true) or not.</p>\n</li>\n<li><p><code>medium_id</code> (integer): ID of the marketing medium.</p>\n</li>\n<li><p><code>source_id</code> (integer): ID of the lead source.</p>\n</li>\n<li><p><code>stage_id</code> (integer): ID of the lead’s stage in the pipeline.</p>\n</li>\n<li><p><code>category_id</code> (integer): ID of the lead category.</p>\n</li>\n<li><p><code>client_status_id</code> (integer): ID representing the client status.</p>\n</li>\n<li><p><code>spouse_lead_id</code> (integer|null): ID of the spouse if another lead, or null.</p>\n</li>\n<li><p><code>is_head_of_household</code> (boolean): Whether this lead is marked as head of household.</p>\n</li>\n<li><p><code>marital_status_id</code> (integer): Marital status ID. <code>[1 = SINGLE, 2 = MARRIED, 3 = DIVORCED, 4 = WIDOWED, 5 = UNKNOWN, 6 = SEPARATED]</code></p>\n</li>\n<li><p><code>salutation_id</code> (integer): Salutation ID. [1 = DR, 2 = MISS, 3 = MR, 4 = MRS, 5 = MS]</p>\n</li>\n<li><p><code>job_status_id</code> (integer): Job status ID. <code>[1 = FULL TIME, 2 = PART TIME, 3 = RETIRED, 4 = LAID OFF, 5 = SEMI RETIRED]</code></p>\n</li>\n<li><p><code>gender_id</code> (integer): Gender ID. <code>[1 = MALE, 2 = FEMALE, 3 = NON_BINARY, 4 = OTHER, 5 = UNKNOWN]</code></p>\n</li>\n<li><p><code>client_since</code> (string:date): The date the client relationship started (format: MM-DD-YYYY).</p>\n</li>\n<li><p><code>client_termination_date</code> (string:date): The date the client relationship ended (format: MM-DD-YYYY).</p>\n</li>\n<li><p><code>date_of_birth</code> (string:date): The lead's birth date (format: MM-DD-YYYY).</p>\n</li>\n<li><p><code>marital_anniversary_date</code> (string:date): The date of marriage anniversary (format: MM-DD-YYYY).</p>\n</li>\n<li><p><code>date_of_death</code> (string:date|null): Date of death if applicable, or null.</p>\n</li>\n<li><p><code>referred_by</code> (string): The name of the person who referred the lead.</p>\n</li>\n<li><p><code>primary_note</code> (string): Main notes about the lead.</p>\n</li>\n<li><p><code>enquiry</code> (string): Notes or content related to the enquiry.</p>\n</li>\n<li><p><code>country_id</code> (string): Country name or code (e.g., \"United States\").</p>\n</li>\n<li><p><code>city</code> (string): City name.</p>\n</li>\n<li><p><code>state</code> (string): State name.</p>\n</li>\n<li><p><code>address</code> (string): Street address.</p>\n</li>\n<li><p><code>postal_code</code> (string): ZIP or postal code.</p>\n</li>\n<li><p><code>writing_advisor_id</code> (integer): ID of the writing advisor (user).</p>\n</li>\n<li><p><code>servicing_advisor_id</code> (integer): ID of the servicing advisor (user).</p>\n</li>\n<li><p><code>tax_id</code> (string): Tax ID (e.g., EIN or SSN format: 12-3456789).</p>\n</li>\n<li><p><code>engagement_signed_date</code> (string:date): The date the engagement agreement was signed (format: MM-DD-YYYY).</p>\n</li>\n<li><p><code>risk_tolerance</code> (string): Risk tolerance level. <code>[conservative, moderate, aggressive]</code></p>\n</li>\n<li><p><code>estimated_total_assets</code> (integer): Estimated total assets value.</p>\n</li>\n<li><p><code>estimated_non_liquid_assets</code> (integer): Estimated value of non-liquid assets.</p>\n</li>\n<li><p><code>adjusted_gross_income</code> (integer): Adjusted gross income amount.</p>\n</li>\n<li><p><code>estimated_investable_assets</code> (integer): Estimated investable assets.</p>\n</li>\n<li><p><code>net_worth_amount</code> (integer): Net worth value.</p>\n</li>\n<li><p><code>estimated_taxes</code> (integer): Estimated taxes due.</p>\n</li>\n<li><p><code>monthly_expenses</code> (integer): Estimated monthly expenses.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request will be a JSON object following the schema below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": 416828,\n    \"type\": \"lead\",\n    \"owner_id\": 17673,\n    \"is_lead\": true,\n    \"owner\": {\n        \"id\": 17673,\n        \"name\": \"Noureddine Abdelbadie\",\n        \"email\": \"noureddine@leadcenter.ai\",\n        \"phone\": null,\n        \"created_at\": \"2023-09-05T22:51:03.000000Z\",\n        \"updated_at\": \"2025-05-12T15:00:19.000000Z\"\n    },\n    \"referred_by\": \"Jonny Richard\",\n    \"nickname\": null,\n    \"maiden_name\": \"Richard\",\n    \"family_name\": \"John's Family\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Smith\",\n    \"full_name\": \"John Smith\",\n    \"client_status_id\": null,\n    \"client_status\": null,\n    \"email\": \"john.smith@example.com\",\n    \"phone\": null,\n    \"salutation\": \"Dr.\",\n    \"suffix\": null,\n    \"job_title\": \"Attorney\",\n    \"company\": \"LeadCenter.AI\",\n    \"date_of_birth\": \"1999-05-01T05:00:00.000000Z\",\n    \"client_since\": \"2022-05-01T05:00:00.000000Z\",\n    \"date_of_death\": null,\n    \"client_termination_date\": null,\n    \"termination_reason\": null,\n    \"gender\": \"Male\",\n    \"marital_status\": \"Married\",\n    \"marital_anniversary_date\": null,\n    \"investment_objective\": null,\n    \"time_horizon\": null,\n    \"risk_tolerance\": null,\n    \"employment\": [],\n    \"family\": null,\n    \"addresses\": [\n        {\n            \"id\": 191352,\n            \"type\": \"Home\",\n            \"title\": \"Primary Address\",\n            \"description\": null,\n            \"country\": \"United States\",\n            \"state\": \"Illinois\",\n            \"city\": \"Chicago\",\n            \"address_line_1\": \"1234 Elm Street\",\n            \"address_line_2\": null,\n            \"zip_code\": \"60601\",\n            \"is_primary\": true,\n            \"is_preferred\": false,\n            \"created_at\": \"2025-05-13T18:05:40.000000Z\",\n            \"updated_at\": \"2025-05-13T18:05:40.000000Z\"\n        }\n    ],\n    \"emails\": [\n        {\n            \"id\": 195026,\n            \"lead_id\": 416828,\n            \"title\": \"Primary Email\",\n            \"type\": \"Home\",\n            \"email\": \"john.smith@example.com\",\n            \"description\": null,\n            \"is_primary\": true,\n            \"is_preferred\": false,\n            \"created_at\": \"2025-05-13T18:05:40.000000Z\",\n            \"updated_at\": \"2025-05-13T18:05:40.000000Z\"\n        }\n    ],\n    \"phone_numbers\": [\n        {\n            \"id\": 215652,\n            \"lead_id\": 416828,\n            \"tenant_id\": 17673,\n            \"title\": \"Primary Mobile\",\n            \"description\": null,\n            \"type\": \"Mobile\",\n            \"phone\": \"555555555555\",\n            \"formatted_phone\": null,\n            \"is_primary\": 1,\n            \"is_preferred\": 0,\n            \"created_at\": \"2025-05-13T18:05:40.000000Z\",\n            \"updated_at\": \"2025-05-13T18:05:40.000000Z\"\n        }\n    ],\n    \"websites\": [],\n    \"medium_id\": 4,\n    \"medium\": {\n        \"id\": 4,\n        \"name\": \"Offline\",\n        \"description\": \"Contacts added from sales pipeline or contacts dashboard in LeadCenter.\",\n        \"created_at\": \"2021-07-07T10:27:16.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    \"stage_id\": 99830,\n    \"stage\": {\n        \"id\": 99830,\n        \"name\": \"To be Qualified\",\n        \"description\": null,\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2025-02-20T11:40:15.000000Z\"\n    },\n    \"source_id\": 66980,\n    \"source\": {\n        \"id\": 66980,\n        \"name\": \"Email Marketing\",\n        \"description\": null,\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2023-09-05T22:51:05.000000Z\"\n    },\n    \"category_id\": 2775,\n    \"category\": {\n        \"id\": 2775,\n        \"name\": \"AAA Client\",\n        \"description\": null,\n        \"created_at\": \"2025-05-07T11:19:45.000000Z\",\n        \"updated_at\": \"2025-05-07T11:19:45.000000Z\"\n    },\n    \"created_at\": \"2025-05-13T18:05:40.000000Z\",\n    \"updated_at\": \"2025-05-13T18:05:40.000000Z\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"8cabae0d-9a30-4455-a777-d695bacde74e","name":"Create","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"owner_id\": 17673, // Default is authenticated user\n    \"first_name\": \"John\",\n    \"last_name\": \"Smith\",\n    \"middle_name\": \"L\",\n    \"maiden_name\": \"Richard\",\n    \"family_name\": \"John's Family\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"555555555555\",\n    \"enquiry\": \"\",\n    \"company\": \"LeadCenter.AI\",\n    \"job_title\": \"Attorney\",\n    \"Nickname\": \"John\",\n    \"is_lead\": true,\n    \"medium_id\": 4,\n    \"source_id\": 66980,\n    \"stage_id\": 99830,\n    \"category_id\": 2775,\n    \"client_status_id\": 416,\n    \"spouse_lead_id\": null,\n    \"is_head_of_household\": true,\n    \"marital_status_id\": 2, // [1 = SINGLE, 2 = MARRIED, 3 = DIVORCED, 4 = WIDOWED, 5 = UNKNOWN, 6 = SEPARATED]\n    \"salutation_id\": 1, // [1 = 'DR', 2 = 'MISS', 3 = 'MR', 4 = 'MRS', 5 = 'MS']\n    \"job_status_id\": 1, // [1 = 'FULL_TIME', 2 = 'PART_TIME', 3 = 'RETIRED', 4 = 'LAID_OFF', 5 = 'SEMI_RETIRED']\n    \"gender_id\": 1, //[ 1 = 'MALE', 2 = 'FEMALE', 3 = 'NON_BINARY', 4 = 'OTHER', 5 = 'UNKNOWN']\n    \"client_since\": \"01-05-2022\",\n    \"client_termination_date\": \"01-05-2022\",\n    \"date_of_birth\": \"01-05-1999\",\n    \"marital_anniversary_date\": \"01-05-2005\",\n    \"date_of_death\": null,\n    \"referred_by\": \"Jonny Richard\",\n    \"notes\": \"Primary Note\",\n    \"country_id\": \"United States\",\n    \"city\": \"Chicago\",\n    \"state\": \"Illinois\",\n    \"address\": \"1234 Elm Street\",\n    \"postal_code\": \"60601\",\n    \"writing_advisor_id\": 17711,// System user\n    \"servicing_advisor_id\": 17711,\n    \"tax_id\": \"12-3456789\",\n    \"engagement_signed_date\": \"01-05-2023\",\n    \"risk_tolerance\": \"moderate\", // [conservative, moderate, aggressive]\n    \"estimated_total_assets\": 100000,\n    \"estimated_non_liquid_assets\": 100000,\n    \"adjusted_gross_income\": 100000,\n    \"estimated_investable_assets\": 100000,\n    \"net_worth_amount\": 100000,\n    \"estimated_taxes\": 100000,\n    \"monthly_expenses\": 100000\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/leads"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 18:05:40 GMT"},{"key":"phpdebugbar-id","value":"01JV5D5S3VCYFQDJQSHZFXZ6M1"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 416828,\n    \"type\": \"lead\",\n    \"owner_id\": 17673,\n    \"owner\": {\n        \"id\": 12345,\n        \"name\": \"Amanda Ross\",\n        \"first_name\": \"Amanda\",\n        \"last_name\": \"Ross\",\n        \"email\": \"amanda.ross@example.com\",\n        \"phone\": null,\n        \"created_at\": \"2023-09-05T22:51:03.000000Z\",\n        \"updated_at\": \"2025-05-12T15:00:19.000000Z\"\n    },\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+155555555555\",\n    \"is_lead\": true,\n    \"referred_by\": \"Jonny Richard\",\n    \"nickname\": \"John\",\n    \"maiden_name\": \"Richard\",\n    \"family_name\": \"John's Family\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Smith\",\n    \"full_name\": \"John Smith\",\n    \"nick_name\": \"John\",\n    \"client_status_id\": 416,\n    \"client_status\": {\n        \"id\": 416,\n        \"name\": \"Client\",\n        \"created_at\": \"2023-10-05T18:18:48.000000Z\",\n        \"updated_at\": \"2023-10-05T18:18:48.000000Z\"\n    },\n    \"spouse_lead_id\": null,\n    \"is_head_of_household\": true,\n    \"enquiry\": \"\",\n    \"primary_note\": \"Primary Note example\",\n    \"salutation_id\": 1,\n    \"salutation\": \"Dr.\",\n    \"suffix\": null,\n    \"job_title\": \"Attorney\",\n    \"job_status_id\": 1,\n    \"job_status\": \"Full Time\",\n    \"company\": \"LeadCenter.AI\",\n    \"date_of_birth\": \"1999-05-01T05:00:00.000000Z\",\n    \"client_since\": \"2022-05-01T05:00:00.000000Z\",\n    \"date_of_death\": null,\n    \"client_termination_date\": null,\n    \"termination_reason\": null,\n    \"gender_id\": 1,\n    \"gender\": \"Male\",\n    \"writing_advisor_id\": 17711,\n    \"writing_advisor\": {\n        \"id\": 17711,\n        \"name\": \"Jane Advisor\",\n        \"email\": \"jane.advisor@example.com\",\n        \"phone\": null,\n        \"created_at\": \"2023-10-25T11:27:17.000000Z\",\n        \"updated_at\": \"2023-10-25T11:33:27.000000Z\"\n    },\n    \"servicing_advisor_id\": 17711,\n    \"servicing_advisor\": {\n        \"id\": 17712,\n        \"name\": \"Jim Advisor\",\n        \"email\": \"jim.advisor@example.com\",\n        \"phone\": null,\n        \"created_at\": \"2023-10-25T11:27:17.000000Z\",\n        \"updated_at\": \"2023-10-25T11:33:27.000000Z\"\n    },\n    \"tax_id\": \"12-3456789\",\n    \"marital_status_id\": 2,\n    \"marital_status\": \"Married\",\n    \"marital_anniversary_date\": \"2005-05-01T05:00:00.000000Z\",\n    \"engagement_signed_date\": \"2023-05-01T05:00:00.000000Z\",\n    \"investment_objective\": null,\n    \"time_horizon\": null,\n    \"estimated_total_assets\": \"100000.00\",\n    \"estimated_non_liquid_assets\": \"100000.00\",\n    \"adjusted_gross_income\": \"100000.00\",\n    \"estimated_investable_assets\": \"100000.00\",\n    \"net_worth_amount\": \"100000.0000\",\n    \"estimated_taxes\": \"100000.0000\",\n    \"monthly_expenses\": \"100000.0000\",\n    \"risk_tolerance\": \"moderate\",\n    \"employment\": [],\n    \"family\": null,\n    \"addresses\": [\n        {\n            \"id\": 191352,\n            \"type\": \"Home\",\n            \"title\": \"Primary Address\",\n            \"description\": null,\n            \"country\": \"United States\",\n            \"state\": \"Illinois\",\n            \"city\": \"Chicago\",\n            \"address_line_1\": \"1234 Elm Street\",\n            \"address_line_2\": null,\n            \"zip_code\": \"60601\",\n            \"is_primary\": true,\n            \"is_preferred\": false,\n            \"created_at\": \"2025-05-13T18:05:40.000000Z\",\n            \"updated_at\": \"2025-05-13T18:05:40.000000Z\"\n        }\n    ],\n    \"emails\": [\n        {\n            \"id\": 195026,\n            \"lead_id\": 416828,\n            \"title\": \"Primary Email\",\n            \"type\": \"Home\",\n            \"email\": \"john.smith@example.com\",\n            \"description\": null,\n            \"is_primary\": true,\n            \"is_preferred\": false,\n            \"created_at\": \"2025-05-13T18:05:40.000000Z\",\n            \"updated_at\": \"2025-05-13T18:05:40.000000Z\"\n        }\n    ],\n    \"phone_numbers\": [\n        {\n            \"id\": 215652,\n            \"lead_id\": 416828,\n            \"tenant_id\": 17673,\n            \"title\": \"Primary Mobile\",\n            \"description\": null,\n            \"type\": \"Mobile\",\n            \"phone\": \"+155555555555\",\n            \"formatted_phone\": null,\n            \"is_primary\": 1,\n            \"is_preferred\": 0,\n            \"created_at\": \"2025-05-13T18:05:40.000000Z\",\n            \"updated_at\": \"2025-05-13T21:17:44.000000Z\"\n        }\n    ],\n    \"websites\": [],\n    \"medium_id\": 4,\n    \"medium\": {\n        \"id\": 4,\n        \"name\": \"Offline\",\n        \"description\": \"Contacts added from sales pipeline or contacts dashboard in LeadCenter.\",\n        \"color\": \"purple\",\n        \"created_at\": \"2021-07-07T10:27:16.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    \"stage_id\": 99830,\n    \"stage\": {\n        \"id\": 99830,\n        \"name\": \"To be Qualified\",\n        \"description\": null,\n        \"color\": \"orange\",\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2025-02-20T11:40:15.000000Z\"\n    },\n    \"source_id\": 66980,\n    \"source\": {\n        \"id\": 66980,\n        \"name\": \"Email Marketing\",\n        \"description\": null,\n        \"color\": \"orange\",\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2023-09-05T22:51:05.000000Z\"\n    },\n    \"category_id\": 2775,\n    \"category\": {\n        \"id\": 2775,\n        \"name\": \"AAA Client\",\n        \"description\": null,\n        \"color\": \"indigo\",\n        \"created_at\": \"2025-05-07T11:19:45.000000Z\",\n        \"updated_at\": \"2025-05-07T11:19:45.000000Z\"\n    },\n    \"created_at\": \"2025-05-13T18:05:40.000000Z\",\n    \"updated_at\": \"2025-05-13T21:21:31.000000Z\",\n    \"tags\": [],\n    \"notes\": [],\n    \"appointments\": [],\n    \"email_verification\": {\n        \"id\": 98882,\n        \"lead_id\": 416828,\n        \"email\": \"john.smith@example.com\",\n        \"result\": \"valid\",\n        \"reason\": \"accepted_email\",\n        \"verification_done_at\": \"2025-05-13T18:03:25.000000Z\",\n        \"mx_record\": \"\",\n        \"mx_domain\": \"\",\n        \"safe_to_send\": false,\n        \"free\": false,\n        \"disposable\": false,\n        \"created_at\": \"2025-05-13T18:05:40.000000Z\",\n        \"updated_at\": \"2025-05-13T18:05:40.000000Z\"\n    },\n    \"phone_verification\": {\n        \"id\": 87686,\n        \"user_id\": 17673,\n        \"tenant_id\": 17673,\n        \"lead_id\": 416828,\n        \"result\": \"invalid_syntax\",\n        \"error_code\": null,\n        \"phone_number\": \"+155555555555\",\n        \"country_code\": null,\n        \"national_format\": null,\n        \"owner_name\": null,\n        \"owner_type\": null,\n        \"carrier_country_code\": null,\n        \"carrier_network_code\": null,\n        \"carrier_name\": null,\n        \"carrier_type\": null,\n        \"state\": null,\n        \"lookup_done_at\": \"2025-05-13T21:17:44.000000Z\",\n        \"created_at\": \"2025-05-13T21:17:44.000000Z\",\n        \"updated_at\": \"2025-05-13T21:17:44.000000Z\",\n        \"cost\": null,\n        \"stripe_uasge_record_id\": null,\n        \"charged_at\": null,\n        \"error_message\": null\n    }\n}"}],"_postman_id":"53ba8ed0-2a7f-4e96-a84f-8eaa9e8866d9"},{"name":"Get","id":"9f0a3827-b968-41c8-94f5-8c55e0c4f72d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/leads/:id","description":"<h3 id=\"get-lead-details\">Get Lead Details</h3>\n<p>This endpoint retrieves the details of a specific lead identified by the provided ID.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>{{domain}}/v1/leads/:id</code></p>\n</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": 416824,\n    \"type\": \"lead\",\n    \"owner_id\": 17673,\n    \"is_lead\": true,\n    \"owner\": {\n        \"id\": 17673,\n        \"name\": \"Amanda Ross\",\n        \"email\": \"amanda.ross@example.com\",\n        \"phone\": null,\n        \"created_at\": \"2023-09-05T22:51:03.000000Z\",\n        \"updated_at\": \"2025-05-12T15:00:19.000000Z\"\n    },\n    \"referred_by\": \"John Doe\",\n    \"nickname\": \"James\",\n    \"maiden_name\": \"Anderson\",\n    \"family_name\": \"Smith\",\n    \"first_name\": \"James\",\n    \"last_name\": \"Smith\",\n    \"full_name\": \"James L Smith\",\n    \"client_status_id\": 416,\n    \"client_status\": {\n        \"id\": 416,\n        \"name\": \"Client\",\n        \"created_at\": \"2023-10-05T18:18:48.000000Z\",\n        \"updated_at\": \"2023-10-05T18:18:48.000000Z\"\n    },\n    \"email\": \"james.smith@example.com\",\n    \"phone\": \"(555) 555-5555\",\n    \"salutation\": \"Mr.\",\n    \"suffix\": null,\n    \"job_title\": \"Attorney\",\n    \"company\": \"LeadCenter.AI\",\n    \"date_of_birth\": \"2025-05-08T05:00:00.000000Z\",\n    \"client_since\": \"2025-05-02T05:00:00.000000Z\",\n    \"date_of_death\": null,\n    \"client_termination_date\": null,\n    \"termination_reason\": null,\n    \"gender\": \"Male\",\n    \"marital_status\": \"Single\",\n    \"marital_anniversary_date\": null,\n    \"investment_objective\": \"Aggressive Growth\",\n    \"time_horizon\": \"long-term\",\n    \"risk_tolerance\": \"moderate\",\n    \"employment\": [\n        {\n            \"id\": 11,\n            \"occupation\": \"Attorney\",\n            \"occupation_start_date\": \"2017-05-01T05:00:00.000000Z\"\n        }\n    ],\n    \"family\": {\n        \"id\": 117938,\n        \"name\": \"Smith's Family\",\n        \"created_at\": \"2025-05-13T10:07:53.000000Z\",\n        \"updated_at\": \"2025-05-13T10:07:53.000000Z\",\n        \"members\": [\n            {\n                \"id\": 416824,\n                \"type\": \"lead\",\n                \"full_name\": \"James L Smith\",\n                \"email\": \"james.smith@example.com\",\n                \"phone\": \"(555) 555-5555\",\n                \"created_at\": \"2025-05-07T11:19:05.000000Z\",\n                \"updated_at\": \"2025-05-13T10:03:43.000000Z\",\n                \"relationship\": \"Hoh\"\n            },\n            {\n                \"id\": 416826,\n                \"type\": \"lead\",\n                \"full_name\": \"Sarah Smith\",\n                \"email\": \"sarah.smith@example.com\",\n                \"phone\": \"(555) 555-5555\",\n                \"created_at\": \"2025-05-13T10:08:38.000000Z\",\n                \"updated_at\": \"2025-05-13T10:08:38.000000Z\",\n                \"relationship\": \"Spouse\"\n            }\n        ]\n    },\n    \"addresses\": [],\n    \"emails\": [\n        {\n            \"id\": 195021,\n            \"lead_id\": 416824,\n            \"title\": \"Primary Email\",\n            \"type\": \"Home\",\n            \"email\": \"james.smith@example.com\",\n            \"description\": null,\n            \"is_primary\": true,\n            \"is_preferred\": false,\n            \"created_at\": \"2025-05-07T11:19:06.000000Z\",\n            \"updated_at\": \"2025-05-07T11:19:06.000000Z\"\n        }\n    ],\n    \"phone_numbers\": [\n        {\n            \"id\": 215647,\n            \"lead_id\": 416824,\n            \"tenant_id\": 17673,\n            \"title\": \"Primary Mobile\",\n            \"description\": null,\n            \"type\": \"Mobile\",\n            \"phone\": \"+15555555555\",\n            \"formatted_phone\": \"+15555555555\",\n            \"is_primary\": 1,\n            \"is_preferred\": 0,\n            \"created_at\": \"2025-05-07T11:19:06.000000Z\",\n            \"updated_at\": \"2025-05-07T11:19:06.000000Z\"\n        }\n    ],\n    \"websites\": [],\n    \"medium_id\": 4,\n    \"medium\": {\n        \"id\": 4,\n        \"name\": \"Offline\",\n        \"description\": \"Contacts added from sales pipeline or contacts dashboard in LeadCenter.\",\n        \"created_at\": \"2021-07-07T10:27:16.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    \"stage_id\": 99830,\n    \"stage\": {\n        \"id\": 99830,\n        \"name\": \"To be Qualified\",\n        \"description\": null,\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2025-02-20T11:40:15.000000Z\"\n    },\n    \"source_id\": 66980,\n    \"source\": {\n        \"id\": 66980,\n        \"name\": \"Email Marketing\",\n        \"description\": null,\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2023-09-05T22:51:05.000000Z\"\n    },\n    \"category_id\": 2775,\n    \"category\": {\n        \"id\": 2775,\n        \"name\": \"AAA Client\",\n        \"description\": null,\n        \"created_at\": \"2025-05-07T11:19:45.000000Z\",\n        \"updated_at\": \"2025-05-07T11:19:45.000000Z\"\n    },\n    \"created_at\": \"2025-05-07T11:19:05.000000Z\",\n    \"updated_at\": \"2025-05-13T10:03:43.000000Z\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id"],"host":["{{domain}}"],"query":[{"disabled":true,"key":"load","value":"tags,notes,appointments,email_verification,phone_verification"}],"variable":[{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"74ad36e9-254d-46ee-ba80-0b2623396a40","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{domain}}/v1/leads/:id","host":["{{domain}}"],"path":["v1","leads",":id"],"query":[{"key":"load","value":"tags,interests,appointments","disabled":true}],"variable":[{"key":"id","value":"","description":"Lead ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 10:13:13 GMT"},{"key":"phpdebugbar-id","value":"Xc712e9c9beeed273ef802748302c1f20"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 416824,\n    \"type\": \"lead\",\n    \"owner_id\": 17673,\n    \"is_lead\": true,\n    \"owner\": {\n        \"id\": 17673,\n        \"name\": \"Amanda Ross\",\n        \"email\": \"amanda.ross@example.com\",\n        \"phone\": null,\n        \"created_at\": \"2023-09-05T22:51:03.000000Z\",\n        \"updated_at\": \"2025-05-12T15:00:19.000000Z\"\n    },\n    \"referred_by\": \"John Doe\",\n    \"nickname\": \"James\",\n    \"maiden_name\": \"Anderson\",\n    \"family_name\": \"Smith\",\n    \"first_name\": \"James\",\n    \"last_name\": \"Smith\",\n    \"full_name\": \"James L Smith\",\n    \"client_status_id\": 416,\n    \"client_status\": {\n        \"id\": 416,\n        \"name\": \"Client\",\n        \"created_at\": \"2023-10-05T18:18:48.000000Z\",\n        \"updated_at\": \"2023-10-05T18:18:48.000000Z\"\n    },\n    \"email\": \"james.smith@example.com\",\n    \"phone\": \"(555) 555-5555\",\n    \"salutation\": \"Mr.\",\n    \"suffix\": null,\n    \"job_title\": \"Attorney\",\n    \"company\": \"LeadCenter.AI\",\n    \"date_of_birth\": \"2025-05-08T05:00:00.000000Z\",\n    \"client_since\": \"2025-05-02T05:00:00.000000Z\",\n    \"date_of_death\": null,\n    \"client_termination_date\": null,\n    \"termination_reason\": null,\n    \"gender\": \"Male\",\n    \"marital_status\": \"Single\",\n    \"marital_anniversary_date\": null,\n    \"investment_objective\": \"Aggressive Growth\",\n    \"time_horizon\": \"long-term\",\n    \"risk_tolerance\": \"moderate\",\n    \"employment\": [\n        {\n            \"id\": 11,\n            \"occupation\": \"Attorney\",\n            \"occupation_start_date\": \"2017-05-01T05:00:00.000000Z\"\n        }\n    ],\n    \"family\": {\n        \"id\": 117938,\n        \"name\": \"Smith's Family\",\n        \"created_at\": \"2025-05-13T10:07:53.000000Z\",\n        \"updated_at\": \"2025-05-13T10:07:53.000000Z\",\n        \"members\": [\n            {\n                \"id\": 416824,\n                \"type\": \"lead\",\n                \"full_name\": \"James L Smith\",\n                \"email\": \"james.smith@example.com\",\n                \"phone\": \"(555) 555-5555\",\n                \"created_at\": \"2025-05-07T11:19:05.000000Z\",\n                \"updated_at\": \"2025-05-13T10:03:43.000000Z\",\n                \"relationship\": \"Hoh\"\n            },\n            {\n                \"id\": 416826,\n                \"type\": \"lead\",\n                \"full_name\": \"Sarah Smith\",\n                \"email\": \"sarah.smith@example.com\",\n                \"phone\": \"(555) 555-5555\",\n                \"created_at\": \"2025-05-13T10:08:38.000000Z\",\n                \"updated_at\": \"2025-05-13T10:08:38.000000Z\",\n                \"relationship\": \"Spouse\"\n            }\n        ]\n    },\n    \"addresses\": [],\n    \"emails\": [\n        {\n            \"id\": 195021,\n            \"lead_id\": 416824,\n            \"title\": \"Primary Email\",\n            \"type\": \"Home\",\n            \"email\": \"james.smith@example.com\",\n            \"description\": null,\n            \"is_primary\": true,\n            \"is_preferred\": false,\n            \"created_at\": \"2025-05-07T11:19:06.000000Z\",\n            \"updated_at\": \"2025-05-07T11:19:06.000000Z\"\n        }\n    ],\n    \"phone_numbers\": [\n        {\n            \"id\": 215647,\n            \"lead_id\": 416824,\n            \"tenant_id\": 17673,\n            \"title\": \"Primary Mobile\",\n            \"description\": null,\n            \"type\": \"Mobile\",\n            \"phone\": \"+15555555555\",\n            \"formatted_phone\": \"+15555555555\",\n            \"is_primary\": 1,\n            \"is_preferred\": 0,\n            \"created_at\": \"2025-05-07T11:19:06.000000Z\",\n            \"updated_at\": \"2025-05-07T11:19:06.000000Z\"\n        }\n    ],\n    \"websites\": [],\n    \"medium_id\": 4,\n    \"medium\": {\n        \"id\": 4,\n        \"name\": \"Offline\",\n        \"description\": \"Contacts added from sales pipeline or contacts dashboard in LeadCenter.\",\n        \"created_at\": \"2021-07-07T10:27:16.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    \"stage_id\": 99830,\n    \"stage\": {\n        \"id\": 99830,\n        \"name\": \"To be Qualified\",\n        \"description\": null,\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2025-02-20T11:40:15.000000Z\"\n    },\n    \"source_id\": 66980,\n    \"source\": {\n        \"id\": 66980,\n        \"name\": \"Email Marketing\",\n        \"description\": null,\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2023-09-05T22:51:05.000000Z\"\n    },\n    \"category_id\": 2775,\n    \"category\": {\n        \"id\": 2775,\n        \"name\": \"AAA Client\",\n        \"description\": null,\n        \"created_at\": \"2025-05-07T11:19:45.000000Z\",\n        \"updated_at\": \"2025-05-07T11:19:45.000000Z\"\n    },\n    \"created_at\": \"2025-05-07T11:19:05.000000Z\",\n    \"updated_at\": \"2025-05-13T10:03:43.000000Z\"\n}"},{"id":"079df034-9d83-4174-a9c6-6c3fbb1f3c85","name":"Error","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{domain}}/v1/leads/:id","host":["{{domain}}"],"path":["v1","leads",":id"],"query":[{"key":"load","value":"tags,interests,appointments","disabled":true}],"variable":[{"key":"id","value":"","description":"Lead ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 10:14:53 GMT"},{"key":"phpdebugbar-id","value":"X1970e7534fd3ea70d1c2de45e4fd5f34"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lead not found\",\n    \"errors\": [\n        \"The requested lead could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"9f0a3827-b968-41c8-94f5-8c55e0c4f72d"},{"name":"Archive","id":"3deb2b46-daf5-47c2-afc9-dc86d2576115","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{domain}}/v1/leads/:id","description":"<p>This endpoint allows you to delete a specific lead by providing the lead's ID in the URL.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<p>This endpoint does not require a request body.</p>\n<h3 id=\"response\">Response</h3>\n<p>Upon successful deletion, the server will respond with a status code of 200 and a JSON object with a \"message\" key indicating the success of the operation.<br />Example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Lead archived successfully\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","leads",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"10f717c0-ef51-4df0-817b-baa8fa171a60","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{domain}}/v1/leads/:id","host":["{{domain}}"],"path":["v1","leads",":id"],"variable":[{"key":"id","value":"","description":"Lead ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 10:24:42 GMT"},{"key":"phpdebugbar-id","value":"Xa505bba4260a3f71bc37892f467c88da"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Lead archived successfully\"\n}"},{"id":"fd9e66ed-ecac-4992-849d-50e6f061a29d","name":"Error","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{domain}}/v1/leads/:id","host":["{{domain}}"],"path":["v1","leads",":id"],"variable":[{"key":"id","value":"","description":"Lead ID"}]}},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 10:23:59 GMT"},{"key":"phpdebugbar-id","value":"X896df6711541a4ae292eb86976b6cf52"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Contact #416824 has appointments and can't be deleted!\",\n    \"errors\": [\n        \"Contact #416824 has appointments and can't be deleted!\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"3deb2b46-daf5-47c2-afc9-dc86d2576115"}],"id":"90020549-73f7-490f-8a47-863b87a8581b","event":[{"listen":"prerequest","script":{"id":"e2c4ae8c-cebe-4a63-8a63-38a546c76fcb","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"3afa7a8a-99e0-4cf4-bf5c-88f0f0abfc9c","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"90020549-73f7-490f-8a47-863b87a8581b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"Lists","item":[{"name":"Sources","item":[{"name":"List","id":"797728ac-6271-4a1a-b072-f6eed57894f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/lists/sources","description":"<p>This endpoint retrieves a list of sources via an HTTP GET request to <code>{{domain}}/v1/lists/sources</code>. The response is in JSON format and includes an array of objects, each representing a source with various properties such as id, parent_id, user_id, name, description, color, icon, start_date, end_date, is_active, utm_source, utm_medium, utm_name, utm_term, utm_content, created_at, updated_at, and deleted_at.</p>\n<p>Here is an example of the response JSON schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id\": 66980,\n        \"parent_id\": null,\n        \"user_id\": 17673,\n        \"tenant_id\": 17673,\n        \"name\": \"Email Marketing\",\n        \"description\": null,\n        \"color\": \"orange\",\n        \"icon\": \"mail\",\n        \"start_date\": null,\n        \"end_date\": null,\n        \"is_active\": 1,\n        \"utm_source\": null,\n        \"utm_medium\": null,\n        \"utm_name\": null,\n        \"utm_term\": null,\n        \"utm_content\": null,\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"deleted_at\": null\n    }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","lists","sources"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"91db36e3-cbe1-4997-825e-364f1641b48a","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{domain}}/v1/lists/sources"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 10:26:23 GMT"},{"key":"phpdebugbar-id","value":"Xee587cdaf8cf8a6cae3740959644ab42"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 66980,\n        \"parent_id\": null,\n        \"user_id\": 17673,\n        \"tenant_id\": 17673,\n        \"name\": \"Email Marketing\",\n        \"description\": null,\n        \"color\": \"orange\",\n        \"icon\": \"mail\",\n        \"start_date\": null,\n        \"end_date\": null,\n        \"is_active\": 1,\n        \"utm_source\": null,\n        \"utm_medium\": null,\n        \"utm_name\": null,\n        \"utm_term\": null,\n        \"utm_content\": null,\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"deleted_at\": null\n    },\n    {\n        \"id\": 66974,\n        \"parent_id\": null,\n        \"user_id\": 17673,\n        \"tenant_id\": 17673,\n        \"name\": \"Google Ads\",\n        \"description\": null,\n        \"color\": \"orange\",\n        \"icon\": \"brand-google\",\n        \"start_date\": null,\n        \"end_date\": null,\n        \"is_active\": 1,\n        \"utm_source\": null,\n        \"utm_medium\": null,\n        \"utm_name\": null,\n        \"utm_term\": null,\n        \"utm_content\": null,\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"deleted_at\": null\n    },\n    {\n        \"id\": 70811,\n        \"parent_id\": null,\n        \"user_id\": 17711,\n        \"tenant_id\": 17673,\n        \"name\": \"HELLOELSDASDA\",\n        \"description\": null,\n        \"color\": \"muted\",\n        \"icon\": \"check\",\n        \"start_date\": null,\n        \"end_date\": null,\n        \"is_active\": 1,\n        \"utm_source\": null,\n        \"utm_medium\": null,\n        \"utm_name\": null,\n        \"utm_term\": null,\n        \"utm_content\": null,\n        \"created_at\": \"2025-02-26T17:14:53.000000Z\",\n        \"updated_at\": \"2025-02-26T17:14:53.000000Z\",\n        \"deleted_at\": null\n    },\n    {\n        \"id\": 66979,\n        \"parent_id\": null,\n        \"user_id\": 17673,\n        \"tenant_id\": 17673,\n        \"name\": \"Organic Google For Business\",\n        \"description\": null,\n        \"color\": \"orange\",\n        \"icon\": \"brand-google\",\n        \"start_date\": null,\n        \"end_date\": null,\n        \"is_active\": 1,\n        \"utm_source\": null,\n        \"utm_medium\": null,\n        \"utm_name\": null,\n        \"utm_term\": null,\n        \"utm_content\": null,\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"deleted_at\": null\n    },\n    {\n        \"id\": 66978,\n        \"parent_id\": null,\n        \"user_id\": 17673,\n        \"tenant_id\": 17673,\n        \"name\": \"Organic Search\",\n        \"description\": null,\n        \"color\": \"orange\",\n        \"icon\": \"brand-google\",\n        \"start_date\": null,\n        \"end_date\": null,\n        \"is_active\": 1,\n        \"utm_source\": null,\n        \"utm_medium\": null,\n        \"utm_name\": null,\n        \"utm_term\": null,\n        \"utm_content\": null,\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"deleted_at\": null\n    },\n    {\n        \"id\": 66975,\n        \"parent_id\": null,\n        \"user_id\": 17673,\n        \"tenant_id\": 17673,\n        \"name\": \"Referrals\",\n        \"description\": null,\n        \"color\": \"green\",\n        \"icon\": \"ear\",\n        \"start_date\": null,\n        \"end_date\": null,\n        \"is_active\": 1,\n        \"utm_source\": null,\n        \"utm_medium\": null,\n        \"utm_name\": null,\n        \"utm_term\": null,\n        \"utm_content\": null,\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"deleted_at\": null\n    },\n    {\n        \"id\": 66977,\n        \"parent_id\": null,\n        \"user_id\": 17673,\n        \"tenant_id\": 17673,\n        \"name\": \"Social\",\n        \"description\": null,\n        \"color\": \"orange\",\n        \"icon\": \"social\",\n        \"start_date\": null,\n        \"end_date\": null,\n        \"is_active\": 1,\n        \"utm_source\": null,\n        \"utm_medium\": null,\n        \"utm_name\": null,\n        \"utm_term\": null,\n        \"utm_content\": null,\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"deleted_at\": null\n    },\n    {\n        \"id\": 70812,\n        \"parent_id\": null,\n        \"user_id\": 17673,\n        \"tenant_id\": 17673,\n        \"name\": \"testing source\",\n        \"description\": null,\n        \"color\": \"cyan\",\n        \"icon\": \"calendar-exclamation\",\n        \"start_date\": null,\n        \"end_date\": null,\n        \"is_active\": 1,\n        \"utm_source\": null,\n        \"utm_medium\": null,\n        \"utm_name\": null,\n        \"utm_term\": null,\n        \"utm_content\": null,\n        \"created_at\": \"2025-03-06T22:07:38.000000Z\",\n        \"updated_at\": \"2025-03-06T22:07:38.000000Z\",\n        \"deleted_at\": null\n    },\n    {\n        \"id\": 70150,\n        \"parent_id\": null,\n        \"user_id\": 17673,\n        \"tenant_id\": 17673,\n        \"name\": \"Webinars\",\n        \"description\": null,\n        \"color\": \"yellow\",\n        \"icon\": \"square-rounded-letter-w\",\n        \"start_date\": null,\n        \"end_date\": null,\n        \"is_active\": 1,\n        \"utm_source\": null,\n        \"utm_medium\": null,\n        \"utm_name\": null,\n        \"utm_term\": null,\n        \"utm_content\": null,\n        \"created_at\": null,\n        \"updated_at\": null,\n        \"deleted_at\": null\n    },\n    {\n        \"id\": 66976,\n        \"parent_id\": null,\n        \"user_id\": 17673,\n        \"tenant_id\": 17673,\n        \"name\": \"Youtube\",\n        \"description\": null,\n        \"color\": \"red\",\n        \"icon\": \"brand-youtube\",\n        \"start_date\": null,\n        \"end_date\": null,\n        \"is_active\": 1,\n        \"utm_source\": null,\n        \"utm_medium\": null,\n        \"utm_name\": null,\n        \"utm_term\": null,\n        \"utm_content\": null,\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"deleted_at\": null\n    }\n]"}],"_postman_id":"797728ac-6271-4a1a-b072-f6eed57894f3"}],"id":"8bbb6d7c-cf7c-4cd2-9517-71f0cb5ba12d","_postman_id":"8bbb6d7c-cf7c-4cd2-9517-71f0cb5ba12d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"Mediums","item":[{"name":"List","id":"8694202e-5778-4b68-b8ff-7acfe6243ecd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/lists/mediums","description":"<h3 id=\"get-v1listsmediums\">GET /v1/lists/mediums</h3>\n<p>This endpoint retrieves a list of mediums.</p>\n<h4 id=\"request\">Request</h4>\n<p>This request does not require any parameters.</p>\n<h4 id=\"response\">Response</h4>\n<p>The response will be a JSON array containing objects with the following properties:</p>\n<ul>\n<li><p><code>id</code> (number): The ID of the medium.</p>\n</li>\n<li><p><code>name</code> (string): The name of the medium.</p>\n</li>\n<li><p><code>color</code> (string): The color associated with the medium.</p>\n</li>\n<li><p><code>icon</code> (string): The icon representing the medium.</p>\n</li>\n<li><p><code>route</code> (string): The route for the medium.</p>\n</li>\n<li><p><code>description</code> (string): Description of the medium.</p>\n</li>\n<li><p><code>created_at</code> (string): Timestamp indicating when the medium was created.</p>\n</li>\n<li><p><code>updated_at</code> (string): Timestamp indicating when the medium was last updated.</p>\n</li>\n</ul>\n<p>Example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id\": 18,\n        \"name\": \"Bigmarker\",\n        \"color\": \"blue\",\n        \"icon\": \"square-rounded-letter-b\",\n        \"route\": \"integrations.index\",\n        \"description\": \"Contact captured from Bigmarker using API integration.\",\n        \"created_at\": \"2024-11-27T12:22:38.000000Z\",\n        \"updated_at\": \"2024-11-27T12:22:38.000000Z\"\n    }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","lists","mediums"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"b2b50ea2-6623-48f7-8a93-91166c92d1fc","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{domain}}/v1/lists/mediums"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 10:28:11 GMT"},{"key":"phpdebugbar-id","value":"Xd233027fbc6d66899e38727ded4e8d0b"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 18,\n        \"name\": \"Bigmarker\",\n        \"color\": \"blue\",\n        \"icon\": \"square-rounded-letter-b\",\n        \"route\": \"integrations.index\",\n        \"description\": \"Contact captured from Bigmarker using API integration.\",\n        \"created_at\": \"2024-11-27T12:22:38.000000Z\",\n        \"updated_at\": \"2024-11-27T12:22:38.000000Z\"\n    },\n    {\n        \"id\": 7,\n        \"name\": \"Calendar\",\n        \"color\": \"indigo\",\n        \"icon\": \"calendar\",\n        \"route\": \"appointments.calendars\",\n        \"description\": \"Contact captured from public calendar or added as new contact while creating an appointment in the internal calendar.\",\n        \"created_at\": \"2021-08-13T14:50:09.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    {\n        \"id\": 5,\n        \"name\": \"Chat\",\n        \"color\": \"cyan\",\n        \"icon\": \"message-circle\",\n        \"route\": null,\n        \"description\": \"Contact captured from chat application. Send an email to support@leadcenter.ai for assistance in the setup.\",\n        \"created_at\": \"2021-07-14T12:35:37.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    {\n        \"id\": 16,\n        \"name\": \"Contact action menu\",\n        \"color\": \"purple\",\n        \"icon\": \"user-plus\",\n        \"route\": null,\n        \"description\": \"Contact added from sales pipeline or contact dashboard in LeadCenter.\",\n        \"created_at\": \"2024-04-05T09:54:03.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    {\n        \"id\": 8,\n        \"name\": \"CSV upload\",\n        \"color\": \"purple\",\n        \"icon\": \"table\",\n        \"route\": \"leads.csv-upload.index\",\n        \"description\": \"Contact uploaded through CSV(Excel). While uploading contacts, You have a chance to set a different medium for each contact.\",\n        \"created_at\": \"2021-12-22T11:32:47.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    {\n        \"id\": 1,\n        \"name\": \"Email redirect\",\n        \"color\": \"indigo\",\n        \"icon\": \"mail\",\n        \"route\": \"leads.email-redirect\",\n        \"description\": \"Contact captured from forwarding emails to LeadCenter.\",\n        \"created_at\": \"2021-07-07T10:27:16.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    {\n        \"id\": 11,\n        \"name\": \"Event\",\n        \"color\": \"blue\",\n        \"icon\": \"ticket\",\n        \"route\": \"events.list\",\n        \"description\": \"Contact captured from event registration. This is a legacy medium.\",\n        \"created_at\": \"2023-10-31T08:31:00.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    {\n        \"id\": 15,\n        \"name\": \"Event registration form\",\n        \"color\": \"blue\",\n        \"icon\": \"file\",\n        \"route\": \"events.list\",\n        \"description\": \"Contact captured from an event registration form.\",\n        \"created_at\": \"2024-04-05T09:54:03.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    {\n        \"id\": 12,\n        \"name\": \"Financial Seminar Services\",\n        \"color\": \"blue\",\n        \"icon\": \"square-rounded-letter-f\",\n        \"route\": \"integrations.index\",\n        \"description\": \"Contact captured from Financial Seminar Services mail house using API integration.\",\n        \"created_at\": \"2024-02-25T07:46:15.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    {\n        \"id\": 13,\n        \"name\": \"Leading Response\",\n        \"color\": \"blue\",\n        \"icon\": \"square-rounded-letter-l\",\n        \"route\": \"integrations.index\",\n        \"description\": \"Contact captured from LeadingResponse mail house using API integration.\",\n        \"created_at\": \"2024-03-13T13:10:44.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    {\n        \"id\": 14,\n        \"name\": \"LeadJig\",\n        \"color\": \"blue\",\n        \"icon\": \"square-rounded-letter-j\",\n        \"route\": \"integrations.index\",\n        \"description\": \"Contact captured from LeadJig mail house using API integration.\",\n        \"created_at\": \"2024-03-13T13:10:44.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    {\n        \"id\": 4,\n        \"name\": \"Offline\",\n        \"color\": \"purple\",\n        \"icon\": \"user-plus\",\n        \"route\": null,\n        \"description\": \"Contacts added from sales pipeline or contacts dashboard in LeadCenter.\",\n        \"created_at\": \"2021-07-07T10:27:16.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    {\n        \"id\": 2,\n        \"name\": \"Phone redirect\",\n        \"color\": \"pink\",\n        \"icon\": \"phone-incoming\",\n        \"route\": \"leads.view-call-center-settings\",\n        \"description\": \"Contact captured from inbound phone call.\",\n        \"created_at\": \"2021-07-07T10:27:16.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    {\n        \"id\": 9,\n        \"name\": \"Redtail\",\n        \"color\": \"red\",\n        \"icon\": \"id\",\n        \"route\": \"integrations.index\",\n        \"description\": \"Contact captured from Redtail CRM Integration. Contact created in Redtail CRM will be automatically pushed to LeadCenter\",\n        \"created_at\": \"2022-05-12T11:38:24.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    {\n        \"id\": 10,\n        \"name\": \"SmartAsset\",\n        \"color\": \"blue\",\n        \"icon\": \"square-rounded-letter-s\",\n        \"route\": null,\n        \"description\": \"Contact capture for SmartAsset marketplace. This is a legacy integration that is not currently active\",\n        \"created_at\": \"2022-12-20T13:46:59.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    {\n        \"id\": 17,\n        \"name\": \"Text\",\n        \"color\": \"teal\",\n        \"icon\": \"message-circle\",\n        \"route\": \"leads.sms-keywords\",\n        \"description\": \"Contact captured from text message keywords campaigns\",\n        \"created_at\": \"2024-05-10T11:11:49.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    {\n        \"id\": 19,\n        \"name\": \"Wealthbox\",\n        \"color\": \"blue\",\n        \"icon\": \"id\",\n        \"route\": \"integrations.index\",\n        \"description\": \"Contact captured from Wealthbox CRM integration. Contact created in LeadCenter will be automatically pushed to Wealthbox CRM.\",\n        \"created_at\": \"2025-01-28T12:38:36.000000Z\",\n        \"updated_at\": \"2025-01-28T12:38:36.000000Z\"\n    },\n    {\n        \"id\": 3,\n        \"name\": \"Website forms\",\n        \"color\": \"purple\",\n        \"icon\": \"file\",\n        \"route\": \"external-forms.index\",\n        \"description\": \"Contact captured frm a website form submission.\",\n        \"created_at\": \"2021-07-07T10:27:16.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    },\n    {\n        \"id\": 6,\n        \"name\": \"Zapier\",\n        \"color\": \"cyan\",\n        \"icon\": \"sun\",\n        \"route\": \"integrations.index\",\n        \"description\": \"Contact captured from Zapier integration.\",\n        \"created_at\": \"2021-07-26T10:49:22.000000Z\",\n        \"updated_at\": \"2024-09-02T11:22:37.000000Z\"\n    }\n]"}],"_postman_id":"8694202e-5778-4b68-b8ff-7acfe6243ecd"}],"id":"6287ba25-292f-4cca-97b4-38bb772f1589","_postman_id":"6287ba25-292f-4cca-97b4-38bb772f1589","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"Tags","item":[{"name":"List","id":"492556eb-1fc5-4aed-ab51-c2da2764c162","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/lists/tags","description":"<h3 id=\"get-v1liststags\">GET /v1/lists/tags</h3>\n<p>This endpoint retrieves a list of tags.</p>\n<h4 id=\"request\">Request</h4>\n<p>This request does not require any request body.</p>\n<h4 id=\"response\">Response</h4>\n<p>The response is a JSON array containing tag objects with the following properties:</p>\n<ul>\n<li><p><code>id</code> (number): The unique identifier for the tag.</p>\n</li>\n<li><p><code>tenant_id</code> (number): The identifier for the tenant associated with the tag.</p>\n</li>\n<li><p><code>name</code> (string): The name of the tag.</p>\n</li>\n<li><p><code>description</code> (string): The description of the tag, can be null.</p>\n</li>\n<li><p><code>created_at</code> (string): The timestamp indicating when the tag was created.</p>\n</li>\n<li><p><code>updated_at</code> (string): The timestamp indicating when the tag was last updated.</p>\n</li>\n</ul>\n<p>Example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n        \"id\": 14,\n        \"tenant_id\": 17673,\n        \"name\": \"Active\",\n        \"description\": null,\n        \"created_at\": \"2023-09-29T09:50:49.000000Z\",\n        \"updated_at\": \"2023-09-29T09:50:49.000000Z\"\n    }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","lists","tags"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"caadb4f6-fa50-4c51-a2f8-969444350af1","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{domain}}/v1/lists/tags"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 10:28:56 GMT"},{"key":"phpdebugbar-id","value":"X575be5bb447c4551243ee61833fccf4a"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"tenant_id\": 17673,\n        \"name\": \"Active\",\n        \"description\": null,\n        \"created_at\": \"2023-09-29T09:50:49.000000Z\",\n        \"updated_at\": \"2023-09-29T09:50:49.000000Z\"\n    },\n    {\n        \"id\": 2,\n        \"tenant_id\": 17673,\n        \"name\": \"Cold\",\n        \"description\": null,\n        \"created_at\": \"2023-09-29T09:50:49.000000Z\",\n        \"updated_at\": \"2023-09-29T09:50:49.000000Z\"\n    }\n]"}],"_postman_id":"492556eb-1fc5-4aed-ab51-c2da2764c162"}],"id":"5cd7db58-0c41-4ef4-9075-526e111d9469","_postman_id":"5cd7db58-0c41-4ef4-9075-526e111d9469","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"Stages","item":[{"name":"List","id":"5a09534c-c588-4b12-aff0-b1d4fdde6ce2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/lists/stages","description":"<h3 id=\"get-v1listsstages\">GET /v1/lists/stages</h3>\n<p>This endpoint retrieves a list of stages.</p>\n<h4 id=\"request\">Request</h4>\n<p>No request body is required for this endpoint.</p>\n<h4 id=\"response\">Response</h4>\n<p>The response is a JSON array containing objects with the following properties:</p>\n<ul>\n<li><p><code>id</code> (number): The ID of the stage.</p>\n</li>\n<li><p><code>user_id</code> (number): The ID of the user.</p>\n</li>\n<li><p><code>tenant_id</code> (number): The ID of the tenant.</p>\n</li>\n<li><p><code>name</code> (string): The name of the stage.</p>\n</li>\n<li><p><code>description</code> (string, null): The description of the stage, if available.</p>\n</li>\n<li><p><code>color</code> (string): The color associated with the stage.</p>\n</li>\n<li><p><code>icon</code> (string): The icon associated with the stage.</p>\n</li>\n<li><p><code>order</code> (number): The order of the stage.</p>\n</li>\n<li><p><code>is_closed_stage</code> (number): Indicates if the stage is closed.</p>\n</li>\n<li><p><code>is_won</code> (number): Indicates if the stage is won.</p>\n</li>\n<li><p><code>is_lost</code> (number): Indicates if the stage is lost.</p>\n</li>\n<li><p><code>created_at</code> (string): The timestamp of when the stage was created.</p>\n</li>\n<li><p><code>updated_at</code> (string): The timestamp of when the stage was last updated.</p>\n</li>\n<li><p><code>deleted_at</code> (string, null): The timestamp of when the stage was deleted, if applicable.</p>\n</li>\n</ul>\n<h4 id=\"example\">Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id\": 99830,\n        \"user_id\": 17673,\n        \"tenant_id\": 17673,\n        \"name\": \"To be Qualified\",\n        \"description\": null,\n        \"color\": \"orange\",\n        \"icon\": \"edit\",\n        \"order\": 1,\n        \"is_closed_stage\": 0,\n        \"is_won\": 0,\n        \"is_lost\": 0,\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2025-02-20T11:40:15.000000Z\",\n        \"deleted_at\": null\n    }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","lists","stages"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"0c654c5b-ab29-46cb-8abd-006e5f2a79e6","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{domain}}/v1/lists/stages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 10:30:11 GMT"},{"key":"phpdebugbar-id","value":"Xe0a577f0e3490a65899a73189d8a999f"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n    {\n        \"id\": 99830,\n        \"user_id\": 17673,\n        \"tenant_id\": 17673,\n        \"name\": \"To be Qualified\",\n        \"description\": null,\n        \"color\": \"orange\",\n        \"icon\": \"edit\",\n        \"order\": 1,\n        \"is_closed_stage\": 0,\n        \"is_won\": 0,\n        \"is_lost\": 0,\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2025-02-20T11:40:15.000000Z\",\n        \"deleted_at\": null\n    },\n    {\n        \"id\": 99831,\n        \"user_id\": 17673,\n        \"tenant_id\": 17673,\n        \"name\": \"Qualified\",\n        \"description\": null,\n        \"color\": \"lime\",\n        \"icon\": \"circle-check\",\n        \"order\": 2,\n        \"is_closed_stage\": 0,\n        \"is_won\": 0,\n        \"is_lost\": 0,\n        \"created_at\": \"2023-09-05T22:51:05.000000Z\",\n        \"updated_at\": \"2025-02-20T11:40:15.000000Z\",\n        \"deleted_at\": null\n    }\n]"}],"_postman_id":"5a09534c-c588-4b12-aff0-b1d4fdde6ce2"}],"id":"726d72c9-6f57-49a2-be68-41df946c05ab","_postman_id":"726d72c9-6f57-49a2-be68-41df946c05ab","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"Categories","item":[{"name":"List","id":"2a1c04ed-684d-4064-9662-7049fed2c7dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/lists/categories","description":"<h1 id=\"get-categories\">Get Categories</h1>\n<p>This endpoint retrieves a list of categories.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>{{domain}}/v1/lists/categories</code></p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li><p>Status: 200 OK</p>\n</li>\n<li><p>Content-Type: application/json</p>\n</li>\n</ul>\n<p>Example Response Body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id\": 2775,\n        \"user_id\": 17673,\n        \"tenant_id\": 17673,\n        \"name\": \"High Priority\",\n        \"color\": \"indigo\",\n        \"icon\": \"check\",\n        \"created_at\": \"2025-05-07T11:19:45.000000Z\",\n        \"updated_at\": \"2025-05-07T11:19:45.000000Z\"\n    },\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","lists","categories"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"9e505030-577a-4961-bc1d-ac8b1ee3941f","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{domain}}/v1/lists/categories"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 10:31:37 GMT"},{"key":"phpdebugbar-id","value":"Xd6ea657753fe44a6b99e0911eab2814d"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n  {\n    \"id\": 2775,\n    \"user_id\": 12345,\n    \"tenant_id\": 12345,\n    \"name\": \"High Priority\",\n    \"color\": \"blue\",\n    \"icon\": \"star\",\n    \"created_at\": \"2025-05-07T11:19:45Z\",\n    \"updated_at\": \"2025-05-07T11:19:45Z\"\n  },\n  {\n    \"id\": 895,\n    \"user_id\": 12345,\n    \"tenant_id\": 12345,\n    \"name\": \"Follow-up Needed\",\n    \"color\": \"gray\",\n    \"icon\": \"clock\",\n    \"created_at\": \"2023-12-28T10:25:55Z\",\n    \"updated_at\": \"2023-12-28T10:25:55Z\"\n  }\n]\n"}],"_postman_id":"2a1c04ed-684d-4064-9662-7049fed2c7dc"}],"id":"72084a25-9b69-41ac-8b02-2293340b0b06","_postman_id":"72084a25-9b69-41ac-8b02-2293340b0b06","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"Client statuses","item":[{"name":"List","id":"9f6ac447-6a5b-482a-bff0-7d067af1d628","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/lists/client-statuses","description":"<p>This endpoint makes an HTTP GET request to retrieve client statuses from the specified domain. The request does not include a request body.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<p>This request does not include a request body.</p>\n<h3 id=\"response\">Response</h3>\n<p>Upon successful execution, the server responds with a status code of 200 and a JSON array containing client status objects. Each client status object includes the following properties:</p>\n<ul>\n<li><p>id: The unique identifier for the client status.</p>\n</li>\n<li><p>tenant_id: The identifier for the tenant associated with the client status.</p>\n</li>\n<li><p>name: The name of the client status.</p>\n</li>\n<li><p>created_at: The timestamp indicating when the client status was created.</p>\n</li>\n<li><p>updated_at: The timestamp indicating when the client status was last updated.</p>\n</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id\": 416,\n        \"tenant_id\": 17673,\n        \"name\": \"Client\",\n        \"created_at\": \"2023-10-05T18:18:48.000000Z\",\n        \"updated_at\": \"2023-10-05T18:18:48.000000Z\"\n    }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","lists","client-statuses"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"bdbdb36a-f803-41bc-928f-bfc9d1dc002b","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{domain}}/v1/lists/client-statuses"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 10:34:02 GMT"},{"key":"phpdebugbar-id","value":"X483961b59651472c65010d8a202a252f"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 416,\n        \"tenant_id\": 17673,\n        \"name\": \"Client\",\n        \"created_at\": \"2023-10-05T18:18:48.000000Z\",\n        \"updated_at\": \"2023-10-05T18:18:48.000000Z\"\n    }\n]"}],"_postman_id":"9f6ac447-6a5b-482a-bff0-7d067af1d628"}],"id":"781c4d06-ded0-411a-9681-ef946b5ffbe7","_postman_id":"781c4d06-ded0-411a-9681-ef946b5ffbe7","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"System","item":[{"name":"Countries","id":"081f01b2-1d5d-4364-a463-21d8f1f2eb8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/lists/countries","description":"<h3 id=\"retrieve-countries-list\">Retrieve Countries List</h3>\n<p>This endpoint makes an HTTP GET request to retrieve a list of countries.</p>\n<h4 id=\"request\">Request</h4>\n<p>No request body is required for this endpoint.</p>\n<h4 id=\"response\">Response</h4>\n<p>The response will be a JSON array containing country objects with the following properties:</p>\n<ul>\n<li><p><code>id</code> (number): The unique identifier for the country.</p>\n</li>\n<li><p><code>name</code> (string): The name of the country.</p>\n</li>\n<li><p><code>iso_code</code> (string): The ISO code of the country.</p>\n</li>\n</ul>\n<p>Example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id\": 1,\n        \"name\": \"United States\",\n        \"iso_code\": \"US\"\n     }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","lists","countries"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"43a2e89a-9977-4ac3-9c07-61f325b246f7","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{domain}}/v1/lists/countries"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 10:35:33 GMT"},{"key":"phpdebugbar-id","value":"X2d6540ee980c22aadd8fd6840c7adb68"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"name\": \"United States\",\n        \"iso_code\": \"US\"\n    },\n    {\n        \"id\": 2,\n        \"name\": \"Qatar\",\n        \"iso_code\": \"QA\"\n    },\n    {\n        \"id\": 3,\n        \"name\": \"Bahrain\",\n        \"iso_code\": \"BH\"\n    },\n    {\n        \"id\": 4,\n        \"name\": \"Kuwait\",\n        \"iso_code\": \"KW\"\n    },\n    {\n        \"id\": 5,\n        \"name\": \"Saudi\",\n        \"iso_code\": \"SA\"\n    },\n    {\n        \"id\": 6,\n        \"name\": \"Afghanistan\",\n        \"iso_code\": \"AF\"\n    },\n    {\n        \"id\": 7,\n        \"name\": \"Albania\",\n        \"iso_code\": \"AL\"\n    },\n    {\n        \"id\": 8,\n        \"name\": \"Algeria\",\n        \"iso_code\": \"DZ\"\n    },\n    {\n        \"id\": 9,\n        \"name\": \"American Samoa\",\n        \"iso_code\": \"AS\"\n    },\n    {\n        \"id\": 10,\n        \"name\": \"Andorra\",\n        \"iso_code\": \"AD\"\n    },\n    {\n        \"id\": 11,\n        \"name\": \"Angola\",\n        \"iso_code\": \"AO\"\n    },\n    {\n        \"id\": 12,\n        \"name\": \"Anguilla\",\n        \"iso_code\": \"AI\"\n    },\n    {\n        \"id\": 13,\n        \"name\": \"Antarctica\",\n        \"iso_code\": \"AQ\"\n    },\n    {\n        \"id\": 14,\n        \"name\": \"Antigua and Barbuda\",\n        \"iso_code\": \"AG\"\n    },\n    {\n        \"id\": 15,\n        \"name\": \"Argentina\",\n        \"iso_code\": \"AR\"\n    },\n    {\n        \"id\": 16,\n        \"name\": \"Armenia\",\n        \"iso_code\": \"AM\"\n    },\n    {\n        \"id\": 17,\n        \"name\": \"Aruba\",\n        \"iso_code\": \"AW\"\n    },\n    {\n        \"id\": 18,\n        \"name\": \"Australia\",\n        \"iso_code\": \"AU\"\n    },\n    {\n        \"id\": 19,\n        \"name\": \"Austria\",\n        \"iso_code\": \"AT\"\n    },\n    {\n        \"id\": 20,\n        \"name\": \"Azerbaijan\",\n        \"iso_code\": \"AZ\"\n    },\n    {\n        \"id\": 21,\n        \"name\": \"Bahamas\",\n        \"iso_code\": \"BS\"\n    },\n    {\n        \"id\": 23,\n        \"name\": \"Bangladesh\",\n        \"iso_code\": \"BD\"\n    },\n    {\n        \"id\": 24,\n        \"name\": \"Barbados\",\n        \"iso_code\": \"BB\"\n    },\n    {\n        \"id\": 25,\n        \"name\": \"Belarus\",\n        \"iso_code\": \"BY\"\n    },\n    {\n        \"id\": 26,\n        \"name\": \"Belgium\",\n        \"iso_code\": \"BE\"\n    },\n    {\n        \"id\": 27,\n        \"name\": \"Belize\",\n        \"iso_code\": \"BZ\"\n    },\n    {\n        \"id\": 28,\n        \"name\": \"Benin\",\n        \"iso_code\": \"BJ\"\n    },\n    {\n        \"id\": 29,\n        \"name\": \"Bermuda\",\n        \"iso_code\": \"BM\"\n    },\n    {\n        \"id\": 30,\n        \"name\": \"Bhutan\",\n        \"iso_code\": \"BT\"\n    },\n    {\n        \"id\": 31,\n        \"name\": \"Bolivia\",\n        \"iso_code\": \"BO\"\n    },\n    {\n        \"id\": 32,\n        \"name\": \"Bosnia and Herzegovina\",\n        \"iso_code\": \"BA\"\n    },\n    {\n        \"id\": 33,\n        \"name\": \"Botswana\",\n        \"iso_code\": \"BW\"\n    },\n    {\n        \"id\": 34,\n        \"name\": \"Bouvet Island\",\n        \"iso_code\": \"BV\"\n    },\n    {\n        \"id\": 35,\n        \"name\": \"Brazil\",\n        \"iso_code\": \"BR\"\n    },\n    {\n        \"id\": 36,\n        \"name\": \"British Indian Ocean Territory\",\n        \"iso_code\": \"IO\"\n    },\n    {\n        \"id\": 37,\n        \"name\": \"Brunei Darussalam\",\n        \"iso_code\": \"BN\"\n    },\n    {\n        \"id\": 38,\n        \"name\": \"Bulgaria\",\n        \"iso_code\": \"BG\"\n    },\n    {\n        \"id\": 39,\n        \"name\": \"Burkina Faso\",\n        \"iso_code\": \"BF\"\n    },\n    {\n        \"id\": 40,\n        \"name\": \"Burundi\",\n        \"iso_code\": \"BI\"\n    },\n    {\n        \"id\": 41,\n        \"name\": \"Cambodia\",\n        \"iso_code\": \"KH\"\n    },\n    {\n        \"id\": 42,\n        \"name\": \"Cameroon\",\n        \"iso_code\": \"CM\"\n    },\n    {\n        \"id\": 43,\n        \"name\": \"Canada\",\n        \"iso_code\": \"CA\"\n    },\n    {\n        \"id\": 44,\n        \"name\": \"Cape Verde\",\n        \"iso_code\": \"CV\"\n    },\n    {\n        \"id\": 45,\n        \"name\": \"Cayman Islands\",\n        \"iso_code\": \"KY\"\n    },\n    {\n        \"id\": 46,\n        \"name\": \"Central African Republic\",\n        \"iso_code\": \"CF\"\n    },\n    {\n        \"id\": 47,\n        \"name\": \"Chad\",\n        \"iso_code\": \"TD\"\n    },\n    {\n        \"id\": 48,\n        \"name\": \"Chile\",\n        \"iso_code\": \"CL\"\n    },\n    {\n        \"id\": 49,\n        \"name\": \"China\",\n        \"iso_code\": \"CN\"\n    },\n    {\n        \"id\": 50,\n        \"name\": \"Christmas Island\",\n        \"iso_code\": \"CX\"\n    },\n    {\n        \"id\": 51,\n        \"name\": \"Cocos (Keeling) Islands\",\n        \"iso_code\": \"CC\"\n    },\n    {\n        \"id\": 52,\n        \"name\": \"Colombia\",\n        \"iso_code\": \"CO\"\n    },\n    {\n        \"id\": 53,\n        \"name\": \"Comoros\",\n        \"iso_code\": \"KM\"\n    },\n    {\n        \"id\": 54,\n        \"name\": \"Congo\",\n        \"iso_code\": \"CG\"\n    },\n    {\n        \"id\": 55,\n        \"name\": \"Democratic Republic of the Congo\",\n        \"iso_code\": \"CD\"\n    },\n    {\n        \"id\": 56,\n        \"name\": \"Cook Islands\",\n        \"iso_code\": \"CK\"\n    },\n    {\n        \"id\": 57,\n        \"name\": \"Costa Rica\",\n        \"iso_code\": \"CR\"\n    },\n    {\n        \"id\": 58,\n        \"name\": \"Cote D'Ivoire\",\n        \"iso_code\": \"CI\"\n    },\n    {\n        \"id\": 59,\n        \"name\": \"Croatia\",\n        \"iso_code\": \"HR\"\n    },\n    {\n        \"id\": 60,\n        \"name\": \"Cuba\",\n        \"iso_code\": \"CU\"\n    },\n    {\n        \"id\": 61,\n        \"name\": \"Cyprus\",\n        \"iso_code\": \"CY\"\n    },\n    {\n        \"id\": 62,\n        \"name\": \"Czech Republic\",\n        \"iso_code\": \"CZ\"\n    },\n    {\n        \"id\": 63,\n        \"name\": \"Denmark\",\n        \"iso_code\": \"DK\"\n    },\n    {\n        \"id\": 64,\n        \"name\": \"Djibouti\",\n        \"iso_code\": \"DJ\"\n    },\n    {\n        \"id\": 65,\n        \"name\": \"Dominica\",\n        \"iso_code\": \"DM\"\n    },\n    {\n        \"id\": 66,\n        \"name\": \"Dominican Republic\",\n        \"iso_code\": \"DO\"\n    },\n    {\n        \"id\": 67,\n        \"name\": \"Ecuador\",\n        \"iso_code\": \"EC\"\n    },\n    {\n        \"id\": 68,\n        \"name\": \"Egypt\",\n        \"iso_code\": \"EG\"\n    },\n    {\n        \"id\": 69,\n        \"name\": \"El Salvador\",\n        \"iso_code\": \"SV\"\n    },\n    {\n        \"id\": 70,\n        \"name\": \"Equatorial Guinea\",\n        \"iso_code\": \"GQ\"\n    },\n    {\n        \"id\": 71,\n        \"name\": \"Eritrea\",\n        \"iso_code\": \"ER\"\n    },\n    {\n        \"id\": 72,\n        \"name\": \"Estonia\",\n        \"iso_code\": \"EE\"\n    },\n    {\n        \"id\": 73,\n        \"name\": \"Ethiopia\",\n        \"iso_code\": \"ET\"\n    },\n    {\n        \"id\": 74,\n        \"name\": \"Falkland Islands (Malvinas)\",\n        \"iso_code\": \"FK\"\n    },\n    {\n        \"id\": 75,\n        \"name\": \"Faroe Islands\",\n        \"iso_code\": \"FO\"\n    },\n    {\n        \"id\": 76,\n        \"name\": \"Fiji\",\n        \"iso_code\": \"FJ\"\n    },\n    {\n        \"id\": 77,\n        \"name\": \"Finland\",\n        \"iso_code\": \"FI\"\n    },\n    {\n        \"id\": 78,\n        \"name\": \"France\",\n        \"iso_code\": \"FR\"\n    },\n    {\n        \"id\": 79,\n        \"name\": \"French Guiana\",\n        \"iso_code\": \"GF\"\n    },\n    {\n        \"id\": 80,\n        \"name\": \"French Polynesia\",\n        \"iso_code\": \"PF\"\n    },\n    {\n        \"id\": 81,\n        \"name\": \"French Southern Territories\",\n        \"iso_code\": \"TF\"\n    },\n    {\n        \"id\": 82,\n        \"name\": \"Gabon\",\n        \"iso_code\": \"GA\"\n    },\n    {\n        \"id\": 83,\n        \"name\": \"Gambia\",\n        \"iso_code\": \"GM\"\n    },\n    {\n        \"id\": 84,\n        \"name\": \"Georgia\",\n        \"iso_code\": \"GE\"\n    },\n    {\n        \"id\": 85,\n        \"name\": \"Germany\",\n        \"iso_code\": \"DE\"\n    },\n    {\n        \"id\": 86,\n        \"name\": \"Ghana\",\n        \"iso_code\": \"GH\"\n    },\n    {\n        \"id\": 87,\n        \"name\": \"Gibraltar\",\n        \"iso_code\": \"GI\"\n    },\n    {\n        \"id\": 88,\n        \"name\": \"Greece\",\n        \"iso_code\": \"GR\"\n    },\n    {\n        \"id\": 89,\n        \"name\": \"Greenland\",\n        \"iso_code\": \"GL\"\n    },\n    {\n        \"id\": 90,\n        \"name\": \"Grenada\",\n        \"iso_code\": \"GD\"\n    },\n    {\n        \"id\": 91,\n        \"name\": \"Guadeloupe\",\n        \"iso_code\": \"GP\"\n    },\n    {\n        \"id\": 92,\n        \"name\": \"Guam\",\n        \"iso_code\": \"GU\"\n    },\n    {\n        \"id\": 93,\n        \"name\": \"Guatemala\",\n        \"iso_code\": \"GT\"\n    },\n    {\n        \"id\": 94,\n        \"name\": \"Guinea\",\n        \"iso_code\": \"GN\"\n    },\n    {\n        \"id\": 95,\n        \"name\": \"Guinea-Bissau\",\n        \"iso_code\": \"GW\"\n    },\n    {\n        \"id\": 96,\n        \"name\": \"Guyana\",\n        \"iso_code\": \"GY\"\n    },\n    {\n        \"id\": 97,\n        \"name\": \"Haiti\",\n        \"iso_code\": \"HT\"\n    },\n    {\n        \"id\": 98,\n        \"name\": \"Heard Island and Mcdonald Islands\",\n        \"iso_code\": \"HM\"\n    },\n    {\n        \"id\": 99,\n        \"name\": \"Holy See (Vatican City State)\",\n        \"iso_code\": \"VA\"\n    },\n    {\n        \"id\": 100,\n        \"name\": \"Honduras\",\n        \"iso_code\": \"HN\"\n    },\n    {\n        \"id\": 101,\n        \"name\": \"Hong Kong\",\n        \"iso_code\": \"HK\"\n    },\n    {\n        \"id\": 102,\n        \"name\": \"Hungary\",\n        \"iso_code\": \"HU\"\n    },\n    {\n        \"id\": 103,\n        \"name\": \"Iceland\",\n        \"iso_code\": \"IS\"\n    },\n    {\n        \"id\": 104,\n        \"name\": \"India\",\n        \"iso_code\": \"IN\"\n    },\n    {\n        \"id\": 105,\n        \"name\": \"Indonesia\",\n        \"iso_code\": \"ID\"\n    },\n    {\n        \"id\": 106,\n        \"name\": \"Iran\",\n        \"iso_code\": \"IR\"\n    },\n    {\n        \"id\": 107,\n        \"name\": \"Iraq\",\n        \"iso_code\": \"IQ\"\n    },\n    {\n        \"id\": 108,\n        \"name\": \"Ireland\",\n        \"iso_code\": \"IE\"\n    },\n    {\n        \"id\": 109,\n        \"name\": \"Israel\",\n        \"iso_code\": \"IL\"\n    },\n    {\n        \"id\": 110,\n        \"name\": \"Italy\",\n        \"iso_code\": \"IT\"\n    },\n    {\n        \"id\": 111,\n        \"name\": \"Jamaica\",\n        \"iso_code\": \"JM\"\n    },\n    {\n        \"id\": 112,\n        \"name\": \"Japan\",\n        \"iso_code\": \"JP\"\n    },\n    {\n        \"id\": 113,\n        \"name\": \"Jordan\",\n        \"iso_code\": \"JO\"\n    },\n    {\n        \"id\": 114,\n        \"name\": \"Kazakhstan\",\n        \"iso_code\": \"KZ\"\n    },\n    {\n        \"id\": 115,\n        \"name\": \"Kenya\",\n        \"iso_code\": \"KE\"\n    },\n    {\n        \"id\": 116,\n        \"name\": \"Kiribati\",\n        \"iso_code\": \"KI\"\n    },\n    {\n        \"id\": 117,\n        \"name\": \"North Korea\",\n        \"iso_code\": \"KP\"\n    },\n    {\n        \"id\": 118,\n        \"name\": \"South Korea\",\n        \"iso_code\": \"KR\"\n    },\n    {\n        \"id\": 120,\n        \"name\": \"Kyrgyzstan\",\n        \"iso_code\": \"KG\"\n    },\n    {\n        \"id\": 121,\n        \"name\": \"Laos\",\n        \"iso_code\": \"LA\"\n    },\n    {\n        \"id\": 122,\n        \"name\": \"Latvia\",\n        \"iso_code\": \"LV\"\n    },\n    {\n        \"id\": 123,\n        \"name\": \"Lebanon\",\n        \"iso_code\": \"LB\"\n    },\n    {\n        \"id\": 124,\n        \"name\": \"Lesotho\",\n        \"iso_code\": \"LS\"\n    },\n    {\n        \"id\": 125,\n        \"name\": \"Liberia\",\n        \"iso_code\": \"LR\"\n    },\n    {\n        \"id\": 126,\n        \"name\": \"Libya\",\n        \"iso_code\": \"LY\"\n    },\n    {\n        \"id\": 127,\n        \"name\": \"Liechtenstein\",\n        \"iso_code\": \"LI\"\n    },\n    {\n        \"id\": 128,\n        \"name\": \"Lithuania\",\n        \"iso_code\": \"LT\"\n    },\n    {\n        \"id\": 129,\n        \"name\": \"Luxembourg\",\n        \"iso_code\": \"LU\"\n    },\n    {\n        \"id\": 130,\n        \"name\": \"Macao\",\n        \"iso_code\": \"MO\"\n    },\n    {\n        \"id\": 131,\n        \"name\": \"North Macedonia\",\n        \"iso_code\": \"MK\"\n    },\n    {\n        \"id\": 132,\n        \"name\": \"Madagascar\",\n        \"iso_code\": \"MG\"\n    },\n    {\n        \"id\": 133,\n        \"name\": \"Malawi\",\n        \"iso_code\": \"MW\"\n    },\n    {\n        \"id\": 134,\n        \"name\": \"Malaysia\",\n        \"iso_code\": \"MY\"\n    },\n    {\n        \"id\": 135,\n        \"name\": \"Maldives\",\n        \"iso_code\": \"MV\"\n    },\n    {\n        \"id\": 136,\n        \"name\": \"Mali\",\n        \"iso_code\": \"ML\"\n    },\n    {\n        \"id\": 137,\n        \"name\": \"Malta\",\n        \"iso_code\": \"MT\"\n    },\n    {\n        \"id\": 138,\n        \"name\": \"Marshall Islands\",\n        \"iso_code\": \"MH\"\n    },\n    {\n        \"id\": 139,\n        \"name\": \"Martinique\",\n        \"iso_code\": \"MQ\"\n    },\n    {\n        \"id\": 140,\n        \"name\": \"Mauritania\",\n        \"iso_code\": \"MR\"\n    },\n    {\n        \"id\": 141,\n        \"name\": \"Mauritius\",\n        \"iso_code\": \"MU\"\n    },\n    {\n        \"id\": 142,\n        \"name\": \"Mayotte\",\n        \"iso_code\": \"YT\"\n    },\n    {\n        \"id\": 143,\n        \"name\": \"Mexico\",\n        \"iso_code\": \"MX\"\n    },\n    {\n        \"id\": 144,\n        \"name\": \"Micronesia\",\n        \"iso_code\": \"FM\"\n    },\n    {\n        \"id\": 145,\n        \"name\": \"Moldova\",\n        \"iso_code\": \"MD\"\n    },\n    {\n        \"id\": 146,\n        \"name\": \"Monaco\",\n        \"iso_code\": \"MC\"\n    },\n    {\n        \"id\": 147,\n        \"name\": \"Mongolia\",\n        \"iso_code\": \"MN\"\n    },\n    {\n        \"id\": 148,\n        \"name\": \"Montserrat\",\n        \"iso_code\": \"MS\"\n    },\n    {\n        \"id\": 149,\n        \"name\": \"Morocco\",\n        \"iso_code\": \"MA\"\n    },\n    {\n        \"id\": 150,\n        \"name\": \"Mozambique\",\n        \"iso_code\": \"MZ\"\n    },\n    {\n        \"id\": 151,\n        \"name\": \"Myanmar\",\n        \"iso_code\": \"MM\"\n    },\n    {\n        \"id\": 152,\n        \"name\": \"Namibia\",\n        \"iso_code\": \"NA\"\n    },\n    {\n        \"id\": 153,\n        \"name\": \"Nauru\",\n        \"iso_code\": \"NR\"\n    },\n    {\n        \"id\": 154,\n        \"name\": \"Nepal\",\n        \"iso_code\": \"NP\"\n    },\n    {\n        \"id\": 155,\n        \"name\": \"Netherlands\",\n        \"iso_code\": \"NL\"\n    },\n    {\n        \"id\": 156,\n        \"name\": \"Netherlands Antilles\",\n        \"iso_code\": \"AN\"\n    },\n    {\n        \"id\": 157,\n        \"name\": \"New Caledonia\",\n        \"iso_code\": \"NC\"\n    },\n    {\n        \"id\": 158,\n        \"name\": \"New Zealand\",\n        \"iso_code\": \"NZ\"\n    },\n    {\n        \"id\": 159,\n        \"name\": \"Nicaragua\",\n        \"iso_code\": \"NI\"\n    },\n    {\n        \"id\": 160,\n        \"name\": \"Niger\",\n        \"iso_code\": \"NE\"\n    },\n    {\n        \"id\": 161,\n        \"name\": \"Nigeria\",\n        \"iso_code\": \"NG\"\n    },\n    {\n        \"id\": 162,\n        \"name\": \"Niue\",\n        \"iso_code\": \"NU\"\n    },\n    {\n        \"id\": 163,\n        \"name\": \"Norfolk Island\",\n        \"iso_code\": \"NF\"\n    },\n    {\n        \"id\": 164,\n        \"name\": \"Northern Mariana Islands\",\n        \"iso_code\": \"MP\"\n    },\n    {\n        \"id\": 165,\n        \"name\": \"Norway\",\n        \"iso_code\": \"NO\"\n    },\n    {\n        \"id\": 166,\n        \"name\": \"Oman\",\n        \"iso_code\": \"OM\"\n    },\n    {\n        \"id\": 167,\n        \"name\": \"Pakistan\",\n        \"iso_code\": \"PK\"\n    },\n    {\n        \"id\": 168,\n        \"name\": \"Palau\",\n        \"iso_code\": \"PW\"\n    },\n    {\n        \"id\": 169,\n        \"name\": \"Palestinian Territory, Occupied\",\n        \"iso_code\": \"PS\"\n    },\n    {\n        \"id\": 170,\n        \"name\": \"Panama\",\n        \"iso_code\": \"PA\"\n    },\n    {\n        \"id\": 171,\n        \"name\": \"Papua New Guinea\",\n        \"iso_code\": \"PG\"\n    },\n    {\n        \"id\": 172,\n        \"name\": \"Paraguay\",\n        \"iso_code\": \"PY\"\n    },\n    {\n        \"id\": 173,\n        \"name\": \"Peru\",\n        \"iso_code\": \"PE\"\n    },\n    {\n        \"id\": 174,\n        \"name\": \"Philippines\",\n        \"iso_code\": \"PH\"\n    },\n    {\n        \"id\": 175,\n        \"name\": \"Pitcairn\",\n        \"iso_code\": \"PN\"\n    },\n    {\n        \"id\": 176,\n        \"name\": \"Poland\",\n        \"iso_code\": \"PL\"\n    },\n    {\n        \"id\": 177,\n        \"name\": \"Portugal\",\n        \"iso_code\": \"PT\"\n    },\n    {\n        \"id\": 178,\n        \"name\": \"Puerto Rico\",\n        \"iso_code\": \"PR\"\n    },\n    {\n        \"id\": 180,\n        \"name\": \"Reunion\",\n        \"iso_code\": \"RE\"\n    },\n    {\n        \"id\": 181,\n        \"name\": \"Romania\",\n        \"iso_code\": \"RO\"\n    },\n    {\n        \"id\": 182,\n        \"name\": \"Russian Federation\",\n        \"iso_code\": \"RU\"\n    },\n    {\n        \"id\": 183,\n        \"name\": \"Rwanda\",\n        \"iso_code\": \"RW\"\n    },\n    {\n        \"id\": 184,\n        \"name\": \"Saint Helena\",\n        \"iso_code\": \"SH\"\n    },\n    {\n        \"id\": 185,\n        \"name\": \"Saint Kitts and Nevis\",\n        \"iso_code\": \"KN\"\n    },\n    {\n        \"id\": 186,\n        \"name\": \"Saint Lucia\",\n        \"iso_code\": \"LC\"\n    },\n    {\n        \"id\": 187,\n        \"name\": \"Saint Pierre and Miquelon\",\n        \"iso_code\": \"PM\"\n    },\n    {\n        \"id\": 188,\n        \"name\": \"Saint Vincent and the Grenadines\",\n        \"iso_code\": \"VC\"\n    },\n    {\n        \"id\": 189,\n        \"name\": \"Samoa\",\n        \"iso_code\": \"WS\"\n    },\n    {\n        \"id\": 190,\n        \"name\": \"San Marino\",\n        \"iso_code\": \"SM\"\n    },\n    {\n        \"id\": 191,\n        \"name\": \"Sao Tome and Principe\",\n        \"iso_code\": \"ST\"\n    },\n    {\n        \"id\": 193,\n        \"name\": \"Senegal\",\n        \"iso_code\": \"SN\"\n    },\n    {\n        \"id\": 194,\n        \"name\": \"Serbia and Montenegro\",\n        \"iso_code\": \"CS\"\n    },\n    {\n        \"id\": 195,\n        \"name\": \"Seychelles\",\n        \"iso_code\": \"SC\"\n    },\n    {\n        \"id\": 196,\n        \"name\": \"Sierra Leone\",\n        \"iso_code\": \"SL\"\n    },\n    {\n        \"id\": 197,\n        \"name\": \"Singapore\",\n        \"iso_code\": \"SG\"\n    },\n    {\n        \"id\": 198,\n        \"name\": \"Slovakia\",\n        \"iso_code\": \"SK\"\n    },\n    {\n        \"id\": 199,\n        \"name\": \"Slovenia\",\n        \"iso_code\": \"SI\"\n    },\n    {\n        \"id\": 200,\n        \"name\": \"Solomon Islands\",\n        \"iso_code\": \"SB\"\n    },\n    {\n        \"id\": 201,\n        \"name\": \"Somalia\",\n        \"iso_code\": \"SO\"\n    },\n    {\n        \"id\": 202,\n        \"name\": \"South Africa\",\n        \"iso_code\": \"ZA\"\n    },\n    {\n        \"id\": 203,\n        \"name\": \"South Georgia and the South Sandwich Islands\",\n        \"iso_code\": \"GS\"\n    },\n    {\n        \"id\": 204,\n        \"name\": \"Spain\",\n        \"iso_code\": \"ES\"\n    },\n    {\n        \"id\": 205,\n        \"name\": \"Sri Lanka\",\n        \"iso_code\": \"LK\"\n    },\n    {\n        \"id\": 206,\n        \"name\": \"Sudan\",\n        \"iso_code\": \"SD\"\n    },\n    {\n        \"id\": 207,\n        \"name\": \"Suriname\",\n        \"iso_code\": \"SR\"\n    },\n    {\n        \"id\": 208,\n        \"name\": \"Svalbard and Jan Mayen\",\n        \"iso_code\": \"SJ\"\n    },\n    {\n        \"id\": 209,\n        \"name\": \"Swaziland\",\n        \"iso_code\": \"SZ\"\n    },\n    {\n        \"id\": 210,\n        \"name\": \"Sweden\",\n        \"iso_code\": \"SE\"\n    },\n    {\n        \"id\": 211,\n        \"name\": \"Switzerland\",\n        \"iso_code\": \"CH\"\n    },\n    {\n        \"id\": 212,\n        \"name\": \"Syrian Arab Republic\",\n        \"iso_code\": \"SY\"\n    },\n    {\n        \"id\": 213,\n        \"name\": \"Taiwan\",\n        \"iso_code\": \"TW\"\n    },\n    {\n        \"id\": 214,\n        \"name\": \"Tajikistan\",\n        \"iso_code\": \"TJ\"\n    },\n    {\n        \"id\": 215,\n        \"name\": \"Tanzania\",\n        \"iso_code\": \"TZ\"\n    },\n    {\n        \"id\": 216,\n        \"name\": \"Thailand\",\n        \"iso_code\": \"TH\"\n    },\n    {\n        \"id\": 217,\n        \"name\": \"Timor-Leste\",\n        \"iso_code\": \"TL\"\n    },\n    {\n        \"id\": 218,\n        \"name\": \"Togo\",\n        \"iso_code\": \"TG\"\n    },\n    {\n        \"id\": 219,\n        \"name\": \"Tokelau\",\n        \"iso_code\": \"TK\"\n    },\n    {\n        \"id\": 220,\n        \"name\": \"Tonga\",\n        \"iso_code\": \"TO\"\n    },\n    {\n        \"id\": 221,\n        \"name\": \"Trinidad and Tobago\",\n        \"iso_code\": \"TT\"\n    },\n    {\n        \"id\": 222,\n        \"name\": \"Tunisia\",\n        \"iso_code\": \"TN\"\n    },\n    {\n        \"id\": 223,\n        \"name\": \"Turkey\",\n        \"iso_code\": \"TR\"\n    },\n    {\n        \"id\": 224,\n        \"name\": \"Turkmenistan\",\n        \"iso_code\": \"TM\"\n    },\n    {\n        \"id\": 225,\n        \"name\": \"Turks and Caicos Islands\",\n        \"iso_code\": \"TC\"\n    },\n    {\n        \"id\": 226,\n        \"name\": \"Tuvalu\",\n        \"iso_code\": \"TV\"\n    },\n    {\n        \"id\": 227,\n        \"name\": \"Uganda\",\n        \"iso_code\": \"UG\"\n    },\n    {\n        \"id\": 228,\n        \"name\": \"Ukraine\",\n        \"iso_code\": \"UA\"\n    },\n    {\n        \"id\": 230,\n        \"name\": \"United Kingdom\",\n        \"iso_code\": \"GB\"\n    },\n    {\n        \"id\": 231,\n        \"name\": \"United Arab Emirates\",\n        \"iso_code\": \"AE\"\n    },\n    {\n        \"id\": 232,\n        \"name\": \"United States Minor Outlying Islands\",\n        \"iso_code\": \"UM\"\n    },\n    {\n        \"id\": 233,\n        \"name\": \"Uruguay\",\n        \"iso_code\": \"UY\"\n    },\n    {\n        \"id\": 234,\n        \"name\": \"Uzbekistan\",\n        \"iso_code\": \"UZ\"\n    },\n    {\n        \"id\": 235,\n        \"name\": \"Vanuatu\",\n        \"iso_code\": \"VU\"\n    },\n    {\n        \"id\": 236,\n        \"name\": \"Venezuela\",\n        \"iso_code\": \"VE\"\n    },\n    {\n        \"id\": 237,\n        \"name\": \"Vietnam\",\n        \"iso_code\": \"VN\"\n    },\n    {\n        \"id\": 238,\n        \"name\": \"Virgin Islands (British)\",\n        \"iso_code\": \"VG\"\n    },\n    {\n        \"id\": 239,\n        \"name\": \"U.S. Virgin Islands\",\n        \"iso_code\": \"VI\"\n    },\n    {\n        \"id\": 240,\n        \"name\": \"Wallis and Futuna\",\n        \"iso_code\": \"WF\"\n    },\n    {\n        \"id\": 241,\n        \"name\": \"Western Sahara\",\n        \"iso_code\": \"EH\"\n    },\n    {\n        \"id\": 242,\n        \"name\": \"Yemen\",\n        \"iso_code\": \"YE\"\n    },\n    {\n        \"id\": 243,\n        \"name\": \"Zambia\",\n        \"iso_code\": \"ZM\"\n    },\n    {\n        \"id\": 244,\n        \"name\": \"Zimbabwe\",\n        \"iso_code\": \"ZW\"\n    },\n    {\n        \"id\": 245,\n        \"name\": \"Serbia\",\n        \"iso_code\": \"RS\"\n    }\n]"}],"_postman_id":"081f01b2-1d5d-4364-a463-21d8f1f2eb8f"},{"name":"States","id":"d5f4ca1d-787c-4817-a507-adf160fea2c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/lists/states","description":"<p>This endpoint makes an HTTP GET request to retrieve a list of states. The request does not require any specific parameters. The response will be in JSON format and will include an array of state objects. Each state object will have properties such as id, name, state_code, latitude, longitude, country_id, and country. Here is an example of the response body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id\": 1,\n        \"name\": \"Alaska\",\n        \"state_code\": \"AK\",\n        \"latitude\": \"63.5887530\",\n        \"longitude\": \"-154.4930620\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","lists","states"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"3b31c90f-3f48-48f3-9d03-87a3acb79be2","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{domain}}/v1/lists/states"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 10:36:37 GMT"},{"key":"phpdebugbar-id","value":"X2a6ff3ada869ddbb1efcee0ee9ce0039"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"name\": \"Alaska\",\n        \"state_code\": \"AK\",\n        \"latitude\": \"63.5887530\",\n        \"longitude\": \"-154.4930620\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 2,\n        \"name\": \"Alabama\",\n        \"state_code\": \"AL\",\n        \"latitude\": \"32.3182310\",\n        \"longitude\": \"-86.9022980\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 3,\n        \"name\": \"Arkansas\",\n        \"state_code\": \"AR\",\n        \"latitude\": \"35.2010500\",\n        \"longitude\": \"-91.8318330\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 4,\n        \"name\": \"Arizona\",\n        \"state_code\": \"AZ\",\n        \"latitude\": \"34.0489280\",\n        \"longitude\": \"-111.0937310\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 5,\n        \"name\": \"California\",\n        \"state_code\": \"CA\",\n        \"latitude\": \"36.7782610\",\n        \"longitude\": \"-119.4179320\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 6,\n        \"name\": \"Colorado\",\n        \"state_code\": \"CO\",\n        \"latitude\": \"39.5500510\",\n        \"longitude\": \"-105.7820670\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 7,\n        \"name\": \"Connecticut\",\n        \"state_code\": \"CT\",\n        \"latitude\": \"41.6032210\",\n        \"longitude\": \"-73.0877490\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 8,\n        \"name\": \"District of Columbia\",\n        \"state_code\": \"DC\",\n        \"latitude\": \"38.9059850\",\n        \"longitude\": \"-77.0334180\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 9,\n        \"name\": \"Delaware\",\n        \"state_code\": \"DE\",\n        \"latitude\": \"38.9108320\",\n        \"longitude\": \"-75.5276700\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 10,\n        \"name\": \"Florida\",\n        \"state_code\": \"FL\",\n        \"latitude\": \"27.6648270\",\n        \"longitude\": \"-81.5157540\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 11,\n        \"name\": \"Georgia\",\n        \"state_code\": \"GA\",\n        \"latitude\": \"32.1574350\",\n        \"longitude\": \"-82.9071230\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 12,\n        \"name\": \"Hawaii\",\n        \"state_code\": \"HI\",\n        \"latitude\": \"19.8986820\",\n        \"longitude\": \"-155.6658570\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 13,\n        \"name\": \"Iowa\",\n        \"state_code\": \"IA\",\n        \"latitude\": \"41.8780030\",\n        \"longitude\": \"-93.0977020\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 14,\n        \"name\": \"Idaho\",\n        \"state_code\": \"ID\",\n        \"latitude\": \"44.0682020\",\n        \"longitude\": \"-114.7420410\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 15,\n        \"name\": \"Illinois\",\n        \"state_code\": \"IL\",\n        \"latitude\": \"40.6331250\",\n        \"longitude\": \"-89.3985280\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 16,\n        \"name\": \"Indiana\",\n        \"state_code\": \"IN\",\n        \"latitude\": \"40.5512170\",\n        \"longitude\": \"-85.6023640\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 17,\n        \"name\": \"Kansas\",\n        \"state_code\": \"KS\",\n        \"latitude\": \"39.0119020\",\n        \"longitude\": \"-98.4842460\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 18,\n        \"name\": \"Kentucky\",\n        \"state_code\": \"KY\",\n        \"latitude\": \"37.8393330\",\n        \"longitude\": \"-84.2700180\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 19,\n        \"name\": \"Louisiana\",\n        \"state_code\": \"LA\",\n        \"latitude\": \"31.2448230\",\n        \"longitude\": \"-92.1450240\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 20,\n        \"name\": \"Massachusetts\",\n        \"state_code\": \"MA\",\n        \"latitude\": \"42.4072110\",\n        \"longitude\": \"-71.3824370\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 21,\n        \"name\": \"Maryland\",\n        \"state_code\": \"MD\",\n        \"latitude\": \"39.0457550\",\n        \"longitude\": \"-76.6412710\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 22,\n        \"name\": \"Maine\",\n        \"state_code\": \"ME\",\n        \"latitude\": \"45.2537830\",\n        \"longitude\": \"-69.4454690\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 23,\n        \"name\": \"Michigan\",\n        \"state_code\": \"MI\",\n        \"latitude\": \"44.3148440\",\n        \"longitude\": \"-85.6023640\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 24,\n        \"name\": \"Minnesota\",\n        \"state_code\": \"MN\",\n        \"latitude\": \"46.7295530\",\n        \"longitude\": \"-94.6859000\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 25,\n        \"name\": \"Missouri\",\n        \"state_code\": \"MO\",\n        \"latitude\": \"37.9642530\",\n        \"longitude\": \"-91.8318330\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 26,\n        \"name\": \"Mississippi\",\n        \"state_code\": \"MS\",\n        \"latitude\": \"32.3546680\",\n        \"longitude\": \"-89.3985280\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 27,\n        \"name\": \"Montana\",\n        \"state_code\": \"MT\",\n        \"latitude\": \"46.8796820\",\n        \"longitude\": \"-110.3625660\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 28,\n        \"name\": \"North Carolina\",\n        \"state_code\": \"NC\",\n        \"latitude\": \"35.7595730\",\n        \"longitude\": \"-79.0193000\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 29,\n        \"name\": \"North Dakota\",\n        \"state_code\": \"ND\",\n        \"latitude\": \"47.5514930\",\n        \"longitude\": \"-101.0020120\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 30,\n        \"name\": \"Nebraska\",\n        \"state_code\": \"NE\",\n        \"latitude\": \"41.4925370\",\n        \"longitude\": \"-99.9018130\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 31,\n        \"name\": \"New Hampshire\",\n        \"state_code\": \"NH\",\n        \"latitude\": \"43.1938520\",\n        \"longitude\": \"-71.5723950\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 32,\n        \"name\": \"New Jersey\",\n        \"state_code\": \"NJ\",\n        \"latitude\": \"40.0583240\",\n        \"longitude\": \"-74.4056610\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 33,\n        \"name\": \"New Mexico\",\n        \"state_code\": \"NM\",\n        \"latitude\": \"34.9727300\",\n        \"longitude\": \"-105.0323630\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 34,\n        \"name\": \"Nevada\",\n        \"state_code\": \"NV\",\n        \"latitude\": \"38.8026100\",\n        \"longitude\": \"-116.4193890\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 35,\n        \"name\": \"New York\",\n        \"state_code\": \"NY\",\n        \"latitude\": \"43.2994280\",\n        \"longitude\": \"-74.2179330\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 36,\n        \"name\": \"Ohio\",\n        \"state_code\": \"OH\",\n        \"latitude\": \"40.4172870\",\n        \"longitude\": \"-82.9071230\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 37,\n        \"name\": \"Oklahoma\",\n        \"state_code\": \"OK\",\n        \"latitude\": \"35.0077520\",\n        \"longitude\": \"-97.0928770\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 38,\n        \"name\": \"Oregon\",\n        \"state_code\": \"OR\",\n        \"latitude\": \"43.8041330\",\n        \"longitude\": \"-120.5542010\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 39,\n        \"name\": \"Pennsylvania\",\n        \"state_code\": \"PA\",\n        \"latitude\": \"41.2033220\",\n        \"longitude\": \"-77.1945250\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 40,\n        \"name\": \"Puerto Rico\",\n        \"state_code\": \"PR\",\n        \"latitude\": \"18.2208330\",\n        \"longitude\": \"-66.5901490\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 41,\n        \"name\": \"Rhode Island\",\n        \"state_code\": \"RI\",\n        \"latitude\": \"41.5800950\",\n        \"longitude\": \"-71.4774290\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 42,\n        \"name\": \"South Carolina\",\n        \"state_code\": \"SC\",\n        \"latitude\": \"33.8360810\",\n        \"longitude\": \"-81.1637250\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 43,\n        \"name\": \"South Dakota\",\n        \"state_code\": \"SD\",\n        \"latitude\": \"43.9695150\",\n        \"longitude\": \"-99.9018130\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 44,\n        \"name\": \"Tennessee\",\n        \"state_code\": \"TN\",\n        \"latitude\": \"35.5174910\",\n        \"longitude\": \"-86.5804470\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 45,\n        \"name\": \"Texas\",\n        \"state_code\": \"TX\",\n        \"latitude\": \"31.9685990\",\n        \"longitude\": \"-99.9018130\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 46,\n        \"name\": \"Utah\",\n        \"state_code\": \"UT\",\n        \"latitude\": \"39.3209800\",\n        \"longitude\": \"-111.0937310\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 47,\n        \"name\": \"Virginia\",\n        \"state_code\": \"VA\",\n        \"latitude\": \"37.4315730\",\n        \"longitude\": \"-78.6568940\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 48,\n        \"name\": \"Vermont\",\n        \"state_code\": \"VT\",\n        \"latitude\": \"44.5588030\",\n        \"longitude\": \"-72.5778410\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 49,\n        \"name\": \"Washington\",\n        \"state_code\": \"WA\",\n        \"latitude\": \"47.7510740\",\n        \"longitude\": \"-120.7401390\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 50,\n        \"name\": \"Wisconsin\",\n        \"state_code\": \"WI\",\n        \"latitude\": \"43.7844400\",\n        \"longitude\": \"-88.7878680\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 51,\n        \"name\": \"West Virginia\",\n        \"state_code\": \"WV\",\n        \"latitude\": \"38.5976260\",\n        \"longitude\": \"-80.4549030\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    },\n    {\n        \"id\": 52,\n        \"name\": \"Wyoming\",\n        \"state_code\": \"WY\",\n        \"latitude\": \"43.0759680\",\n        \"longitude\": \"-107.2902840\",\n        \"country_id\": 1,\n        \"country\": \"United States\"\n    }\n]"}],"_postman_id":"d5f4ca1d-787c-4817-a507-adf160fea2c6"}],"id":"29935cf5-4749-40f0-a8be-7bd86ebfa028","_postman_id":"29935cf5-4749-40f0-a8be-7bd86ebfa028","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"Custom Fields Definitions","item":[{"name":"Index","id":"386693d6-29a5-42d4-b822-2db444972aa9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/lists/custom-fields-definitions","description":"<h3 id=\"get-v1listscustom-fields-definitions\">GET /v1/lists/custom-fields-definitions</h3>\n<p>This endpoint retrieves custom fields definitions for lists.</p>\n<h4 id=\"request\">Request</h4>\n<p>No request body is required for this endpoint.</p>\n<h4 id=\"response\">Response</h4>\n<p>The response is a JSON array containing custom field definitions. Each custom field definition object has the following properties:</p>\n<ul>\n<li><p><code>id</code> (number): The unique identifier for the custom field.</p>\n</li>\n<li><p><code>name</code> (string): The name of the custom field.</p>\n</li>\n<li><p><code>field_type</code> (string): The type of the custom field.</p>\n</li>\n<li><p><code>options</code> (array): An array of options for the custom field.</p>\n</li>\n</ul>\n<h4 id=\"json-schema\">JSON Schema</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id\": 1556,\n        \"name\": \"Custom fullname\",\n        \"field_type\": \"single_line_text_input\",\n        \"options\": []\n    },\n    {\n        \"id\": 1826,\n        \"name\": \"Custom notes\",\n        \"field_type\": \"multiline_text_input\",\n        \"options\": []\n    },\n    {\n        \"id\": 1827,\n        \"name\": \"Custom lead source\",\n        \"field_type\": \"dropdown_list\",\n        \"options\": [\n            \"Marketing\",\n            \"Cold\",\n            \"Youtube\"\n        ]\n    },\n    {\n        \"id\": 1828,\n        \"name\": \"Has account ?\",\n        \"field_type\": \"single_checkbox\",\n        \"options\": []\n    },\n    {\n        \"id\": 1829,\n        \"name\": \"Custom services Interested\",\n        \"field_type\": \"set_of_checkboxes\",\n        \"options\": [\n            \"OPT A\",\n            \"OPT B\",\n            \"OPT C\"\n        ]\n    },\n    {\n        \"id\": 1830,\n        \"name\": \"Custom contact method\",\n        \"field_type\": \"set_of_radio_buttons\",\n        \"options\": [\n            \"1\",\n            \"2\",\n            \"3\",\n            \"4\"\n        ]\n    },\n    {\n        \"id\": 1831,\n        \"name\": \"Custom account register date\",\n        \"field_type\": \"date_picker\",\n        \"options\": []\n    }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","lists","custom-fields-definitions"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"3c4f079f-1367-43b6-a087-1e74b1bd4704","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{domain}}/v1/lists/custom-fields-definitions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 03 Jun 2025 15:08:48 GMT"},{"key":"phpdebugbar-id","value":"01JWV5D0N1E6W8YY43HMQXV7G4"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1556,\n        \"name\": \"Custom fullname\",\n        \"field_type\": \"single_line_text_input\",\n        \"options\": []\n    },\n    {\n        \"id\": 1826,\n        \"name\": \"Custom notes\",\n        \"field_type\": \"multiline_text_input\",\n        \"options\": []\n    },\n    {\n        \"id\": 1827,\n        \"name\": \"Custom lead source\",\n        \"field_type\": \"dropdown_list\",\n        \"options\": [\n            \"Marketing\",\n            \"Cold\",\n            \"Youtube\"\n        ]\n    },\n    {\n        \"id\": 1828,\n        \"name\": \"Has account ?\",\n        \"field_type\": \"single_checkbox\",\n        \"options\": []\n    },\n    {\n        \"id\": 1829,\n        \"name\": \"Custom services Interested\",\n        \"field_type\": \"set_of_checkboxes\",\n        \"options\": [\n            \"OPT A\",\n            \"OPT B\",\n            \"OPT C\"\n        ]\n    },\n    {\n        \"id\": 1830,\n        \"name\": \"Custom contact method\",\n        \"field_type\": \"set_of_radio_buttons\",\n        \"options\": [\n            \"1\",\n            \"2\",\n            \"3\",\n            \"4\"\n        ]\n    },\n    {\n        \"id\": 1831,\n        \"name\": \"Custom account register date\",\n        \"field_type\": \"date_picker\",\n        \"options\": []\n    }\n]"}],"_postman_id":"386693d6-29a5-42d4-b822-2db444972aa9"}],"id":"5df8b577-472b-4e92-82f7-2801db6babb4","_postman_id":"5df8b577-472b-4e92-82f7-2801db6babb4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}}],"id":"d00ac93f-b48e-4598-9692-ec21995646ca","_postman_id":"d00ac93f-b48e-4598-9692-ec21995646ca","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"User","item":[{"name":"Me","id":"0dc60d80-807c-46cd-820f-be00728ee4b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/user/me","description":"<h3 id=\"get-current-user-details\">Get Current User Details</h3>\n<p>This endpoint retrieves the details of the currently logged-in user.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>{{domain}}/v1/user/me</code></p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>Upon a successful request, the server will respond with a status code of 200 and a JSON object containing the user's details, including their ID, name, email, admin status, timezone, and other related information. Additionally, the response includes an array of users and an array of tenants, each with their respective details.</p>\n<p>Example response body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"user\": {\n        \"id\": 1001,\n        \"name\": \"Amanda Ross\",\n        \"full_name\": \"Amanda Ross\",\n        \"first_name\": \"Amanda\",\n        \"last_name\": \"Ross\",\n        \"admin\": 1,\n        \"email\": \"amanda.ross@example.com\",\n        \"timezone\": \"America/New_York\",\n        \"phone\": null,\n        \"last_login\": null,\n        \"calendar_id\": 2001,\n        \"tenant\": {\n        \"id\": 5001,\n        \"name\": \"NorthBridge Advisors\"\n        }\n    },\n    \"users\": [\n        {\n            \"id\": 1002,\n            \"name\": \"Alex Johnson\",\n            \"full_name\": \"Alex Johnson\",\n            \"first_name\": \"Alex\",\n            \"last_name\": \"Johnson\",\n            \"email\": \"alex.johnson@example.com\",\n            \"admin\": 1,\n            \"timezone\": \"America/Chicago\",\n            \"phone\": null,\n            \"last_login\": null,\n            \"calendar_id\": 2002\n        },\n        {\n            \"id\": 1003,\n            \"name\": \"Morgan Lee\",\n            \"full_name\": \"Morgan Lee\",\n            \"first_name\": \"Morgan\",\n            \"last_name\": \"Lee\",\n            \"email\": \"morgan.lee@example.com\",\n            \"admin\": 1,\n            \"timezone\": \"America/Chicago\",\n            \"phone\": null,\n            \"last_login\": null,\n            \"calendar_id\": 2003\n        },\n        {\n            \"id\": 1004,\n            \"name\": \"Jordan Smith\",\n            \"full_name\": \"Jordan Smith\",\n            \"first_name\": \"Jordan\",\n            \"last_name\": \"Smith\",\n            \"email\": \"jordan.smith@example.com\",\n            \"admin\": 1,\n            \"timezone\": null,\n            \"phone\": null,\n            \"last_login\": null,\n            \"calendar_id\": 2004\n        }\n    ],\n    \"tenants\": [\n    {\n        \"id\": 5001,\n        \"name\": \"NorthBridge Advisors\",\n        \"is_2fa_enabled\": 0\n    },\n    {\n        \"id\": 5002,\n        \"name\": \"Acme Wealth\",\n        \"is_2fa_enabled\": 0\n    }\n  ]\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","user","me"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"eacc910e-a2d5-4012-8f2e-88e98409e10e","name":"Success","originalRequest":{"method":"GET","header":[{"key":"","value":"","type":"text","disabled":true}],"url":"{{domain}}/v1/user/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 10:40:26 GMT"},{"key":"phpdebugbar-id","value":"X99faa14733ae12aab53be99caf2366f5"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"user\": {\n        \"id\": 1001,\n        \"name\": \"Amanda Ross\",\n        \"full_name\": \"Amanda Ross\",\n        \"first_name\": \"Amanda\",\n        \"last_name\": \"Ross\",\n        \"admin\": 1,\n        \"email\": \"amanda.ross@example.com\",\n        \"timezone\": \"America/New_York\",\n        \"phone\": null,\n        \"last_login\": null,\n        \"calendar_id\": 2001,\n        \"tenant\": {\n        \"id\": 5001,\n        \"name\": \"NorthBridge Advisors\"\n        }\n    },\n    \"users\": [\n        {\n            \"id\": 1002,\n            \"name\": \"Alex Johnson\",\n            \"full_name\": \"Alex Johnson\",\n            \"first_name\": \"Alex\",\n            \"last_name\": \"Johnson\",\n            \"email\": \"alex.johnson@example.com\",\n            \"admin\": 1,\n            \"timezone\": \"America/Chicago\",\n            \"phone\": null,\n            \"last_login\": null,\n            \"calendar_id\": 2002\n        },\n        {\n            \"id\": 1003,\n            \"name\": \"Morgan Lee\",\n            \"full_name\": \"Morgan Lee\",\n            \"first_name\": \"Morgan\",\n            \"last_name\": \"Lee\",\n            \"email\": \"morgan.lee@example.com\",\n            \"admin\": 1,\n            \"timezone\": \"America/Chicago\",\n            \"phone\": null,\n            \"last_login\": null,\n            \"calendar_id\": 2003\n        },\n        {\n            \"id\": 1004,\n            \"name\": \"Jordan Smith\",\n            \"full_name\": \"Jordan Smith\",\n            \"first_name\": \"Jordan\",\n            \"last_name\": \"Smith\",\n            \"email\": \"jordan.smith@example.com\",\n            \"admin\": 1,\n            \"timezone\": null,\n            \"phone\": null,\n            \"last_login\": null,\n            \"calendar_id\": 2004\n        }\n    ],\n    \"tenants\": [\n    {\n        \"id\": 5001,\n        \"name\": \"NorthBridge Advisors\",\n        \"is_2fa_enabled\": 0\n    },\n    {\n        \"id\": 5002,\n        \"name\": \"Acme Wealth\",\n        \"is_2fa_enabled\": 0\n    }\n  ]\n}\n"}],"_postman_id":"0dc60d80-807c-46cd-820f-be00728ee4b7"},{"name":"Users","id":"de7eafeb-f594-44ad-9d05-6f19158df714","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/user/users","description":"<h3 id=\"get-user-details\">Get User Details</h3>\n<p>This endpoint retrieves the details of all users.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>{{domain}}/v1/user/users</code></p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will be a JSON array containing objects with the following user details:</p>\n<ul>\n<li><p><code>id</code> (number): The unique identifier for the user.</p>\n</li>\n<li><p><code>name</code> (string): The username.</p>\n</li>\n<li><p><code>full_name</code> (string): The full name of the user.</p>\n</li>\n<li><p><code>first_name</code> (string): The first name of the user.</p>\n</li>\n<li><p><code>last_name</code> (string): The last name of the user.</p>\n</li>\n<li><p><code>email</code> (string): The email address of the user.</p>\n</li>\n<li><p><code>admin</code> (number): Indicates if the user is an admin (0 for false, 1 for true).</p>\n</li>\n<li><p><code>timezone</code> (string): The timezone of the user.</p>\n</li>\n<li><p><code>phone</code> (string): The phone number of the user, if available.</p>\n</li>\n<li><p><code>last_login</code> (string): The date and time of the user's last login.</p>\n</li>\n<li><p><code>calendar_id</code> (number): The ID of the user's calendar.</p>\n</li>\n</ul>\n<p>Example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id\": 1001,\n        \"name\": \"Alex Johnson\",\n        \"full_name\": \"Alex Johnson\",\n        \"first_name\": \"Alex\",\n        \"last_name\": \"Johnson\",\n        \"email\": \"alex.johnson@example.com\",\n        \"admin\": 1,\n        \"timezone\": \"America/Chicago\",\n        \"phone\": null,\n        \"last_login\": null,\n        \"calendar_id\": 2101\n    },\n    {\n        \"id\": 1002,\n        \"name\": \"Morgan Lee\",\n        \"full_name\": \"Morgan Lee\",\n        \"first_name\": \"Morgan\",\n        \"last_name\": \"Lee\",\n        \"email\": \"morgan.lee@example.com\",\n        \"admin\": 1,\n        \"timezone\": \"America/Chicago\",\n        \"phone\": null,\n        \"last_login\": null,\n        \"calendar_id\": 2102\n    },\n    {\n        \"id\": 1003,\n        \"name\": \"Jordan Smith\",\n        \"full_name\": \"Jordan Smith\",\n        \"first_name\": \"Jordan\",\n        \"last_name\": \"Smith\",\n        \"email\": \"jordan.smith@example.com\",\n        \"admin\": 1,\n        \"timezone\": null,\n        \"phone\": null,\n        \"last_login\": null,\n        \"calendar_id\": 2103\n    },\n    {\n        \"id\": 1004,\n        \"name\": \"Amanda Ross\",\n        \"full_name\": \"Amanda Ross\",\n        \"first_name\": \"Amanda\",\n        \"last_name\": \"Ross\",\n        \"admin\": 1,\n        \"email\": \"amanda.ross@example.com\",\n        \"timezone\": \"America/New_York\",\n        \"phone\": null,\n        \"last_login\": null,\n        \"calendar_id\": 2104\n    }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","user","users"],"host":["{{domain}}"],"query":[{"disabled":true,"description":{"content":"<p>Search system users by name, email</p>\n","type":"text/plain"},"key":"query","value":""}],"variable":[]}},"response":[{"id":"6447559c-27a3-4c10-b59e-54acb73638d3","name":"Success","originalRequest":{"method":"GET","header":[{"key":"","value":"","type":"text","disabled":true}],"url":{"raw":"{{domain}}/v1/user/users","host":["{{domain}}"],"path":["v1","user","users"],"query":[{"key":"query","value":"","description":"Search system users by name, email","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 10:46:53 GMT"},{"key":"phpdebugbar-id","value":"X9de0a20e4d93e24e2d02d5e2a666be2e"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n\t{\n\t\t\"id\": 1001,\n\t\t\"name\": \"Alex Johnson\",\n\t\t\"full_name\": \"Alex Johnson\",\n\t\t\"first_name\": \"Alex\",\n\t\t\"last_name\": \"Johnson\",\n\t\t\"email\": \"alex.johnson@example.com\",\n\t\t\"admin\": 1,\n\t\t\"timezone\": \"America/Chicago\",\n\t\t\"phone\": null,\n\t\t\"last_login\": null,\n\t\t\"calendar_id\": 2101\n\t},\n\t{\n\t\t\"id\": 1002,\n\t\t\"name\": \"Morgan Lee\",\n\t\t\"full_name\": \"Morgan Lee\",\n\t\t\"first_name\": \"Morgan\",\n\t\t\"last_name\": \"Lee\",\n\t\t\"email\": \"morgan.lee@example.com\",\n\t\t\"admin\": 1,\n\t\t\"timezone\": \"America/Chicago\",\n\t\t\"phone\": null,\n\t\t\"last_login\": null,\n\t\t\"calendar_id\": 2102\n\t},\n\t{\n\t\t\"id\": 1003,\n\t\t\"name\": \"Jordan Smith\",\n\t\t\"full_name\": \"Jordan Smith\",\n\t\t\"first_name\": \"Jordan\",\n\t\t\"last_name\": \"Smith\",\n\t\t\"email\": \"jordan.smith@example.com\",\n\t\t\"admin\": 1,\n\t\t\"timezone\": null,\n\t\t\"phone\": null,\n\t\t\"last_login\": null,\n\t\t\"calendar_id\": 2103\n\t},\n\t{\n\t\t\"id\": 1004,\n\t\t\"name\": \"Amanda Ross\",\n\t\t\"full_name\": \"Amanda Ross\",\n\t\t\"first_name\": \"Amanda\",\n\t\t\"last_name\": \"Ross\",\n\t\t\"admin\": 1,\n\t\t\"email\": \"amanda.ross@example.com\",\n\t\t\"timezone\": \"America/New_York\",\n\t\t\"phone\": null,\n\t\t\"last_login\": null,\n\t\t\"calendar_id\": 2104\n\t}\n]"}],"_postman_id":"de7eafeb-f594-44ad-9d05-6f19158df714"},{"name":"Switch Account","id":"91d3b30d-085a-46cd-8dc0-9c92ac009fbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"tenant_id\": 17673\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/user/switch-account","description":"<p>The <code>POST /v1/user/switch-account</code> endpoint allows the user to switch between different accounts.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><code>tenant_id</code> (integer) - The ID of the tenant to switch to.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The API returns a JSON response with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"access_token\": \"216|demoGeneratedToken1234567890abcdef\",\n    \"token_type\": \"bearer\",\n    \"user\": {\n        \"id\": 1001,\n        \"name\": \"Amanda Ross\",\n        \"full_name\": \"Amanda Ross\",\n        \"first_name\": \"Amanda\",\n        \"last_name\": \"Ross\",\n        \"admin\": 1,\n        \"email\": \"amanda.ross@example.com\",\n        \"timezone\": \"America/New_York\",\n        \"phone\": null,\n        \"last_login\": null,\n        \"calendar_id\": 2001,\n        \"tenant\": {\n            \"id\": 5001,\n            \"name\": \"NorthBridge Advisors\"\n        }\n    },\n    \"users\": [\n        {\n            \"id\": 1002,\n            \"name\": \"Alex Johnson\",\n            \"full_name\": \"Alex Johnson\",\n            \"first_name\": \"Alex\",\n            \"last_name\": \"Johnson\",\n            \"email\": \"alex.johnson@example.com\",\n            \"admin\": 1,\n            \"timezone\": \"America/Chicago\",\n            \"phone\": null,\n            \"last_login\": null,\n            \"calendar_id\": 2002\n        },\n        {\n            \"id\": 1003,\n            \"name\": \"Morgan Lee\",\n            \"full_name\": \"Morgan Lee\",\n            \"first_name\": \"Morgan\",\n            \"last_name\": \"Lee\",\n            \"email\": \"morgan.lee@example.com\",\n            \"admin\": 1,\n            \"timezone\": \"America/Chicago\",\n            \"phone\": null,\n            \"last_login\": null,\n            \"calendar_id\": 2003\n        },\n        {\n            \"id\": 1004,\n            \"name\": \"Jordan Smith\",\n            \"full_name\": \"Jordan Smith\",\n            \"first_name\": \"Jordan\",\n            \"last_name\": \"Smith\",\n            \"email\": \"jordan.smith@example.com\",\n            \"admin\": 1,\n            \"timezone\": \"America/New_York\",\n            \"phone\": null,\n            \"last_login\": null,\n            \"calendar_id\": 2004\n        }\n    ],\n    \"tenants\": [\n        {\n            \"id\": 5001,\n            \"name\": \"NorthBridge Advisors\",\n            \"is_2fa_enabled\": 0\n        },\n        {\n            \"id\": 5002,\n            \"name\": \"Acme Wealth Management\",\n            \"is_2fa_enabled\": 0\n        }\n    ]\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","user","switch-account"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"d3991c69-2e8c-4fa3-86ac-6fdbeb9e8d7a","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"tenant_id\": 1287\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/user/switch-account"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 10:51:51 GMT"},{"key":"phpdebugbar-id","value":"X853ba3a2a7b9a642b9593c62ff603ea7"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n\t\"access_token\": \"216|demoGeneratedToken1234567890abcdef\",\n\t\"token_type\": \"bearer\",\n\t\"user\": {\n\t\t\"id\": 1001,\n\t\t\"name\": \"Amanda Ross\",\n\t\t\"full_name\": \"Amanda Ross\",\n\t\t\"first_name\": \"Amanda\",\n\t\t\"last_name\": \"Ross\",\n\t\t\"admin\": 1,\n\t\t\"email\": \"amanda.ross@example.com\",\n\t\t\"timezone\": \"America/New_York\",\n\t\t\"phone\": null,\n\t\t\"last_login\": null,\n\t\t\"calendar_id\": 2001,\n\t\t\"tenant\": {\n\t\t\t\"id\": 5001,\n\t\t\t\"name\": \"NorthBridge Advisors\"\n\t\t}\n\t},\n\t\"users\": [\n\t\t{\n\t\t\t\"id\": 1002,\n\t\t\t\"name\": \"Alex Johnson\",\n\t\t\t\"full_name\": \"Alex Johnson\",\n\t\t\t\"first_name\": \"Alex\",\n\t\t\t\"last_name\": \"Johnson\",\n\t\t\t\"email\": \"alex.johnson@example.com\",\n\t\t\t\"admin\": 1,\n\t\t\t\"timezone\": \"America/Chicago\",\n\t\t\t\"phone\": null,\n\t\t\t\"last_login\": null,\n\t\t\t\"calendar_id\": 2002\n\t\t},\n\t\t{\n\t\t\t\"id\": 1003,\n\t\t\t\"name\": \"Morgan Lee\",\n\t\t\t\"full_name\": \"Morgan Lee\",\n\t\t\t\"first_name\": \"Morgan\",\n\t\t\t\"last_name\": \"Lee\",\n\t\t\t\"email\": \"morgan.lee@example.com\",\n\t\t\t\"admin\": 1,\n\t\t\t\"timezone\": \"America/Chicago\",\n\t\t\t\"phone\": null,\n\t\t\t\"last_login\": null,\n\t\t\t\"calendar_id\": 2003\n\t\t},\n\t\t{\n\t\t\t\"id\": 1004,\n\t\t\t\"name\": \"Jordan Smith\",\n\t\t\t\"full_name\": \"Jordan Smith\",\n\t\t\t\"first_name\": \"Jordan\",\n\t\t\t\"last_name\": \"Smith\",\n\t\t\t\"email\": \"jordan.smith@example.com\",\n\t\t\t\"admin\": 1,\n\t\t\t\"timezone\": \"America/New_York\",\n\t\t\t\"phone\": null,\n\t\t\t\"last_login\": null,\n\t\t\t\"calendar_id\": 2004\n\t\t}\n\t],\n\t\"tenants\": [\n\t\t{\n\t\t\t\"id\": 5001,\n\t\t\t\"name\": \"NorthBridge Advisors\",\n\t\t\t\"is_2fa_enabled\": 0\n\t\t},\n\t\t{\n\t\t\t\"id\": 5002,\n\t\t\t\"name\": \"Acme Wealth Management\",\n\t\t\t\"is_2fa_enabled\": 0\n\t\t}\n\t]\n}"},{"id":"df3c175c-641d-47f3-b79b-3e89622a8b2a","name":"Error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"tenant_id\": 17673\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/user/switch-account"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 10:50:38 GMT"},{"key":"phpdebugbar-id","value":"X0120e3fcd2ad6327fd03940013de16e1"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"You are already managing this tenant\",\n    \"errors\": [\n        \"You are already managing this tenant\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"91d3b30d-085a-46cd-8dc0-9c92ac009fbd"}],"id":"9129f530-a01a-456d-a87c-6883c4c7f1b7","_postman_id":"9129f530-a01a-456d-a87c-6883c4c7f1b7","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"Calendars","item":[{"name":"Appointments","item":[{"name":"List","id":"d77d50bc-f112-48ee-8f3b-466955d2c42b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/calendars/:calendarId/appointments?startDate=05-05-2025&endDate=03-05-2025","description":"<p>The endpoint retrieves a list of appointments for a specific calendar within the given date range. The response is a JSON array containing appointment details such as ID, title, type, host user information, creator information, location, start and end times, meeting type, privacy status, recurrence, cancellation details, category, and other related attributes.</p>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id\": 22455,\n        \"crm_type\": \"crm:appointment\",\n        \"title\": \"Initial Consultation\",\n        \"type\": \"appointment\",\n        \"lead_id\": 159481,\n        \"lead\": {\n            \"id\": 159481,\n            \"first_name\": \"Elfrieda\",\n            \"last_name\": \"Hand\",\n            \"email\": \"elfrieda.hand@example.com\",\n            \"phone\": \"(312) 555-0198\",\n            \"created_at\": \"2023-09-23T09:38:00Z\",\n            \"updated_at\": \"2025-05-12T22:45:21Z\"\n        },\n        \"host_user_calendar_id\": 1109,\n        \"host_user_id\": 12345,\n        \"host_user\": {\n            \"id\": 12345,\n            \"name\": \"Amanda Ross\",\n            \"first_name\": \"Amanda\",\n            \"last_name\": \"Ross\",\n            \"admin\": 1,\n            \"email\": \"amanda.ross@example.com\",\n            \"timezone\": \"America/New_York\",\n            \"calendar_id\": 1109\n        },\n        \"creator_id\": 12345,\n        \"creator\": {\n            \"id\": 12345,\n            \"name\": \"Amanda Ross\",\n            \"first_name\": \"Amanda\",\n            \"last_name\": \"Ross\",\n            \"admin\": 1,\n            \"email\": \"amanda.ross@example.com\",\n            \"timezone\": \"America/New_York\",\n            \"calendar_id\": 1109\n        },\n        \"organizers\": [\n            {\n                \"name\": \"Amanda Ross\",\n                \"email\": \"amanda.ross@example.com\"\n            }\n        ],\n        \"guests\": [],\n        \"location\": \"Custom location\",\n        \"calendar_ids\": [\n            1109\n        ],\n        \"start_time\": \"2025-05-14T23:30:00Z\",\n        \"end_time\": \"2025-05-15T00:30:00Z\",\n        \"is_all_day\": false,\n        \"timezone\": \"America/New_York\",\n        \"meeting_type\": \"custom\",\n        \"meeting_details\": \"Custom location\",\n        \"meeting_link_details\": null,\n        \"is_private\": false,\n        \"comment\": \"&lt;p class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27;&gt;Appointments description&lt;/p&gt;\",\n        \"is_busy\": true,\n        \"user_available_locations\": [],\n        \"status_id\": 3,\n        \"status\": {\n            \"id\": 3,\n            \"name\": \"CONFIRMED\",\n            \"created_at\": \"2020-07-23T15:55:51.000000Z\",\n            \"updated_at\": \"2020-07-23T15:55:51.000000Z\"\n        },\n        \"parent_id\": null,\n        \"is_recurring\": false,\n        \"recurrence_rule\": null,\n        \"cancelled_at\": null,\n        \"cancellation_reason\": null,\n        \"priority\": null,\n        \"importance\": null,\n        \"category_id\": 622,\n        \"category\": {\n            \"id\": 622,\n            \"tenant_id\": 17673,\n            \"source\": \"redtail\",\n            \"source_id\": \"4\",\n            \"name\": \"Customer Service\",\n            \"color\": null,\n            \"is_public\": 0,\n            \"created_at\": \"2024-03-02T08:15:10.000000Z\",\n            \"updated_at\": \"2024-03-02T08:15:10.000000Z\",\n            \"deleted_at\": null\n        },\n        \"appointment_answers\": null,\n        \"is_spouse_included\": false,\n        \"zoomJoinUrl\": \"\",\n        \"spouse\": null,\n        \"source\": \"leadcenter\",\n        \"source_color\": \"#1f6cc4\",\n        \"created_at\": \"2025-05-12T22:44:17.000000Z\",\n        \"updated_at\": \"2025-05-12T22:44:30.000000Z\"\n    }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","calendars",":calendarId","appointments"],"host":["{{domain}}"],"query":[{"key":"startDate","value":"05-05-2025"},{"key":"endDate","value":"03-05-2025"}],"variable":[{"description":{"content":"<p>Calendar ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"calendarId"}]}},"response":[{"id":"15492c12-8d96-4543-8f8d-dda9436218fe","name":"Success","originalRequest":{"method":"GET","header":[{"key":"X-LeadCenter-Platform","value":"Mobile","type":"text"}],"url":{"raw":"{{domain}}/v1/calendars/:calendarId/appointments?startDate=05-05-2025&endDate=06-05-2025","host":["{{domain}}"],"path":["v1","calendars",":calendarId","appointments"],"query":[{"key":"startDate","value":"05-05-2025","description":"Start Date range"},{"key":"endDate","value":"06-05-2025","description":"End Date range"}],"variable":[{"key":"calendarId","value":"","description":"Calendar ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 10:55:51 GMT"},{"key":"phpdebugbar-id","value":"X5dcc7135886b6c0287007e94adb5e262"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 22455,\n        \"crm_type\": \"crm:appointment\",\n        \"title\": \"Initial Consultation\",\n        \"type\": \"appointment\",\n        \"lead_id\": 159481,\n        \"lead\": {\n            \"id\": 159481,\n            \"first_name\": \"Elfrieda\",\n            \"last_name\": \"Hand\",\n            \"email\": \"elfrieda.hand@example.com\",\n            \"phone\": \"(312) 555-0198\",\n            \"created_at\": \"2023-09-23T09:38:00Z\",\n            \"updated_at\": \"2025-05-12T22:45:21Z\"\n        },\n        \"host_user_calendar_id\": 1109,\n        \"host_user_id\": 12345,\n        \"host_user\": {\n            \"id\": 12345,\n            \"name\": \"Amanda Ross\",\n            \"first_name\": \"Amanda\",\n            \"last_name\": \"Ross\",\n            \"admin\": 1,\n            \"email\": \"amanda.ross@example.com\",\n            \"timezone\": \"America/New_York\",\n            \"calendar_id\": 1109\n        },\n        \"creator_id\": 12345,\n        \"creator\": {\n            \"id\": 12345,\n            \"name\": \"Amanda Ross\",\n            \"first_name\": \"Amanda\",\n            \"last_name\": \"Ross\",\n            \"admin\": 1,\n            \"email\": \"amanda.ross@example.com\",\n            \"timezone\": \"America/New_York\",\n            \"calendar_id\": 1109\n        },\n        \"organizers\": [\n            {\n                \"name\": \"Amanda Ross\",\n                \"email\": \"amanda.ross@example.com\"\n            }\n        ],\n        \"guests\": [],\n        \"location\": \"Custom location\",\n        \"calendar_ids\": [\n            1109\n        ],\n        \"start_time\": \"2025-05-14T23:30:00Z\",\n        \"end_time\": \"2025-05-15T00:30:00Z\",\n        \"is_all_day\": false,\n        \"timezone\": \"America/New_York\",\n        \"meeting_type\": \"custom\",\n        \"meeting_details\": \"Custom location\",\n        \"meeting_link_details\": null,\n        \"is_private\": false,\n        \"comment\": \"<p>Appointments description</p>\",\n        \"is_busy\": true,\n        \"user_available_locations\": [],\n        \"status_id\": 3,\n        \"status\": {\n            \"id\": 3,\n            \"name\": \"CONFIRMED\",\n            \"created_at\": \"2020-07-23T15:55:51.000000Z\",\n            \"updated_at\": \"2020-07-23T15:55:51.000000Z\"\n        },\n        \"parent_id\": null,\n        \"is_recurring\": false,\n        \"recurrence_rule\": null,\n        \"cancelled_at\": null,\n        \"cancellation_reason\": null,\n        \"priority\": null,\n        \"importance\": null,\n        \"category_id\": 622,\n        \"category\": {\n            \"id\": 622,\n            \"tenant_id\": 17673,\n            \"source\": \"redtail\",\n            \"source_id\": \"4\",\n            \"name\": \"Customer Service\",\n            \"color\": null,\n            \"is_public\": 0,\n            \"created_at\": \"2024-03-02T08:15:10.000000Z\",\n            \"updated_at\": \"2024-03-02T08:15:10.000000Z\",\n            \"deleted_at\": null\n        },\n        \"appointment_answers\": null,\n        \"is_spouse_included\": false,\n        \"zoomJoinUrl\": \"\",\n        \"spouse\": null,\n        \"source\": \"leadcenter\",\n        \"source_color\": \"#1f6cc4\",\n        \"created_at\": \"2025-05-12T22:44:17.000000Z\",\n        \"updated_at\": \"2025-05-12T22:44:30.000000Z\"\n    }\n]"},{"id":"ce3cf308-01f3-494e-8aaa-ce947e4ba18b","name":"Error","originalRequest":{"method":"GET","header":[{"key":"","value":"","type":"text","disabled":true}],"url":{"raw":"{{domain}}/v1/calendars/:calendarId/appointments?startDate=05-05-2025&endDate=06-05-2025","host":["{{domain}}"],"path":["v1","calendars",":calendarId","appointments"],"query":[{"key":"startDate","value":"05-05-2025"},{"key":"endDate","value":"06-05-2025"},{"key":"","value":"","disabled":true}],"variable":[{"key":"calendarId","value":"","description":"Calendar ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 10:59:54 GMT"},{"key":"phpdebugbar-id","value":"X08b78ec868076d34642bb1941ceaa51c"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Calendar not found\",\n    \"errors\": [\n        \"The requested calendar could not be found\"\n    ],\n    \"success\": false\n}"},{"id":"003af4b9-8de1-4993-b355-8b82e24e7564","name":"Invalid","originalRequest":{"method":"GET","header":[{"key":"","value":"","type":"text","disabled":true}],"url":{"raw":"{{domain}}/v1/calendars/:calendarId/appointments?startDate=05-05-2025&endDate=03-05-2025","host":["{{domain}}"],"path":["v1","calendars",":calendarId","appointments"],"query":[{"key":"startDate","value":"05-05-2025"},{"key":"endDate","value":"03-05-2025"}],"variable":[{"key":"calendarId","value":"","description":"Calendar ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 11:00:46 GMT"},{"key":"phpdebugbar-id","value":"Xd7dd82d250dae441c58a2d1f5c6ceca6"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid date range\",\n    \"errors\": [\n        \"End date must be greater than start date\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"d77d50bc-f112-48ee-8f3b-466955d2c42b"},{"name":"Cancel","id":"36f9ef9b-9f5d-45a0-8246-e18ad658ba2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"appointment_id\": 6046,\n    \"should_send_email_notification\": 1,\n    \"reason\": \"Test cancellation\",\n    \"occurance_start_date\": \"2025-05-22T08:30:00.000Z\",\n    \"occurance_end_date\": \"2025-05-22T09:30:00.000Z\",\n    \"defaultUpdateType\": \"single\", // \"all\"\n    \"is_all_day\": 0\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/calendars/:calendarId/appointments/:appointmentId/cancel","description":"<p>The endpoint retrieves a list of appointments for a specific calendar within the given date range. The response is a JSON array containing appointment details such as ID, title, type, host user information, creator information, location, start and end times, meeting type, privacy status, recurrence, cancellation details, category, and other related attributes.</p>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id\": 22455,\n        \"crm_type\": \"crm:appointment\",\n        \"title\": \"Initial Consultation\",\n        \"type\": \"appointment\",\n        \"lead_id\": 159481,\n        \"lead\": {\n            \"id\": 159481,\n            \"first_name\": \"Elfrieda\",\n            \"last_name\": \"Hand\",\n            \"email\": \"elfrieda.hand@example.com\",\n            \"phone\": \"(312) 555-0198\",\n            \"created_at\": \"2023-09-23T09:38:00Z\",\n            \"updated_at\": \"2025-05-12T22:45:21Z\"\n        },\n        \"host_user_calendar_id\": 1109,\n        \"host_user_id\": 12345,\n        \"host_user\": {\n            \"id\": 12345,\n            \"name\": \"Amanda Ross\",\n            \"first_name\": \"Amanda\",\n            \"last_name\": \"Ross\",\n            \"admin\": 1,\n            \"email\": \"amanda.ross@example.com\",\n            \"timezone\": \"America/New_York\",\n            \"calendar_id\": 1109\n        },\n        \"creator_id\": 12345,\n        \"creator\": {\n            \"id\": 12345,\n            \"name\": \"Amanda Ross\",\n            \"first_name\": \"Amanda\",\n            \"last_name\": \"Ross\",\n            \"admin\": 1,\n            \"email\": \"amanda.ross@example.com\",\n            \"timezone\": \"America/New_York\",\n            \"calendar_id\": 1109\n        },\n        \"organizers\": [\n            {\n                \"name\": \"Amanda Ross\",\n                \"email\": \"amanda.ross@example.com\"\n            }\n        ],\n        \"guests\": [],\n        \"location\": \"Custom location\",\n        \"calendar_ids\": [\n            1109\n        ],\n        \"start_time\": \"2025-05-14T23:30:00Z\",\n        \"end_time\": \"2025-05-15T00:30:00Z\",\n        \"is_all_day\": false,\n        \"timezone\": \"America/New_York\",\n        \"meeting_type\": \"custom\",\n        \"meeting_details\": \"Custom location\",\n        \"meeting_link_details\": null,\n        \"is_private\": false,\n        \"comment\": \"&lt;p class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27;&gt;Appointments description&lt;/p&gt;\",\n        \"is_busy\": true,\n        \"user_available_locations\": [],\n        \"status_id\": 3,\n        \"status\": {\n            \"id\": 3,\n            \"name\": \"CONFIRMED\",\n            \"created_at\": \"2020-07-23T15:55:51.000000Z\",\n            \"updated_at\": \"2020-07-23T15:55:51.000000Z\"\n        },\n        \"parent_id\": null,\n        \"is_recurring\": false,\n        \"recurrence_rule\": null,\n        \"cancelled_at\": null,\n        \"cancellation_reason\": null,\n        \"priority\": null,\n        \"importance\": null,\n        \"category_id\": 622,\n        \"category\": {\n            \"id\": 622,\n            \"tenant_id\": 17673,\n            \"source\": \"redtail\",\n            \"source_id\": \"4\",\n            \"name\": \"Customer Service\",\n            \"color\": null,\n            \"is_public\": 0,\n            \"created_at\": \"2024-03-02T08:15:10.000000Z\",\n            \"updated_at\": \"2024-03-02T08:15:10.000000Z\",\n            \"deleted_at\": null\n        },\n        \"appointment_answers\": null,\n        \"is_spouse_included\": false,\n        \"zoomJoinUrl\": \"\",\n        \"spouse\": null,\n        \"source\": \"leadcenter\",\n        \"source_color\": \"#1f6cc4\",\n        \"created_at\": \"2025-05-12T22:44:17.000000Z\",\n        \"updated_at\": \"2025-05-12T22:44:30.000000Z\"\n    }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","calendars",":calendarId","appointments",":appointmentId","cancel"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Calendar ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"calendarId"},{"type":"any","value":"","key":"appointmentId"}]}},"response":[{"id":"373c62ac-cfeb-4bcf-beea-974325d1cc4a","name":"Success","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"appointment_id\": 112122,\n    \"should_send_email_notification\": 1,\n    \"reason\": \"Test cancellation\",\n    \"occurance_start_date\": \"2025-05-21T08:30:00.000Z\",\n    \"occurance_end_date\": \"2025-05-21T09:30:00.000Z\",\n    \"defaultUpdateType\": \"single\", // \"all\"\n    \"is_all_day\": 0\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/calendars/:calendarId/appointments/:appointmentId/cancel","host":["{{domain}}"],"path":["v1","calendars",":calendarId","appointments",":appointmentId","cancel"],"variable":[{"key":"calendarId","value":"1792","description":"Calendar ID"},{"key":"appointmentId","value":"112122","description":"Appointment ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 May 2025 10:16:16 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 112122,\n    \"crm_type\": \"crm:appointment\",\n    \"title\": \"Test appointment\",\n    \"type\": \"appointment\",\n    \"lead_id\": 456484,\n    \"lead\": {\n        \"id\": 456484,\n        \"first_name\": \"Noureddine\",\n        \"last_name\": \"\",\n        \"email\": \"noureddine+301@leadcenter.ai\",\n        \"phone\": null,\n        \"created_at\": \"2025-04-22T11:30:43.000000Z\",\n        \"updated_at\": \"2025-04-22T13:50:09.000000Z\"\n    },\n    \"host_user_calendar_id\": 1792,\n    \"host_user_id\": 18325,\n    \"host_user\": {\n        \"id\": 18325,\n        \"name\": \"Farhan Ali\",\n        \"first_name\": \"Farhan\",\n        \"last_name\": \"Ali\",\n        \"admin\": 1,\n        \"email\": \"farhan@leadcenter.ai\",\n        \"timezone\": \"America/Chicago\",\n        \"phone\": null,\n        \"last_login\": null,\n        \"calendar_id\": 1792\n    },\n    \"creator_id\": 18325,\n    \"creator\": {\n        \"id\": 18325,\n        \"name\": \"Farhan Ali\",\n        \"first_name\": \"Farhan\",\n        \"last_name\": \"Ali\",\n        \"admin\": 1,\n        \"email\": \"farhan@leadcenter.ai\",\n        \"timezone\": \"America/Chicago\",\n        \"phone\": null,\n        \"last_login\": null,\n        \"calendar_id\": 1792\n    },\n    \"organizers\": [\n        {\n            \"name\": \"Farhan Ali\",\n            \"email\": \"farhan@leadcenter.ai\"\n        }\n    ],\n    \"guests\": [],\n    \"location\": null,\n    \"calendar_ids\": [\n        1792\n    ],\n    \"start_time\": \"2025-05-21T10:30:00Z\",\n    \"end_time\": \"2025-05-21T11:00:00Z\",\n    \"is_all_day\": false,\n    \"timezone\": \"Asia/Kolkata\",\n    \"meeting_type\": \"virtual\",\n    \"meeting_details\": null,\n    \"meeting_link_details\": null,\n    \"is_private\": false,\n    \"comment\": \"<p>This is a test appointment</p>\",\n    \"is_busy\": true,\n    \"user_available_locations\": [],\n    \"status_id\": 4,\n    \"status\": {\n        \"id\": 4,\n        \"name\": \"CANCELLED\",\n        \"created_at\": \"2020-07-23T14:55:51.000000Z\",\n        \"updated_at\": \"2020-07-23T14:55:51.000000Z\"\n    },\n    \"parent_id\": null,\n    \"is_recurring\": false,\n    \"recurrence_rule\": null,\n    \"cancelled_at\": \"2025-05-22T10:16:16.000000Z\",\n    \"cancellation_reason\": \"Test cancellation\",\n    \"priority\": null,\n    \"importance\": null,\n    \"category_id\": 4179,\n    \"category\": {\n        \"id\": 4179,\n        \"tenant_id\": 1287,\n        \"source\": \"redtail\",\n        \"source_id\": \"7\",\n        \"name\": \"1st Appointment\",\n        \"color\": null,\n        \"is_public\": 0,\n        \"created_at\": \"2025-04-23T16:01:28.000000Z\",\n        \"updated_at\": \"2025-04-23T16:01:28.000000Z\",\n        \"deleted_at\": null\n    },\n    \"appointment_answers\": null,\n    \"is_spouse_included\": false,\n    \"zoomJoinUrl\": \"\",\n    \"spouse\": null,\n    \"source\": \"leadcenter\",\n    \"source_color\": \"#1f6cc4\",\n    \"created_at\": \"2025-05-21T07:51:05.000000Z\",\n    \"updated_at\": \"2025-05-22T10:16:16.000000Z\"\n}"},{"id":"7dc14c49-606d-45be-b78f-85d9e23c1996","name":"Error","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"appointment_id\": 0,\n    \"should_send_email_notification\": 1,\n    \"reason\": \"Test cancellation\",\n    \"occurance_start_date\": \"2025-05-22T08:30:00.000Z\",\n    \"occurance_end_date\": \"2025-05-22T09:30:00.000Z\",\n    \"defaultUpdateType\": \"single\", // \"all\"\n    \"is_all_day\": 0\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/calendars/:calendarId/appointments/:appointmentId/cancel","host":["{{domain}}"],"path":["v1","calendars",":calendarId","appointments",":appointmentId","cancel"],"variable":[{"key":"calendarId","value":"","description":"Calendar ID"},{"key":"appointmentId","value":"0"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Appointment not found\",\n    \"errors\": [\n        \"The requested appointment could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"36f9ef9b-9f5d-45a0-8246-e18ad658ba2b"},{"name":"No show","id":"f7883f1e-9b1e-40c4-aadd-4cefec46e973","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/calendars/:calendarId/appointments/:appointmentId/no-show","description":"<p>The endpoint retrieves a list of appointments for a specific calendar within the given date range. The response is a JSON array containing appointment details such as ID, title, type, host user information, creator information, location, start and end times, meeting type, privacy status, recurrence, cancellation details, category, and other related attributes.</p>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id\": 22455,\n        \"crm_type\": \"crm:appointment\",\n        \"title\": \"Initial Consultation\",\n        \"type\": \"appointment\",\n        \"lead_id\": 159481,\n        \"lead\": {\n            \"id\": 159481,\n            \"first_name\": \"Elfrieda\",\n            \"last_name\": \"Hand\",\n            \"email\": \"elfrieda.hand@example.com\",\n            \"phone\": \"(312) 555-0198\",\n            \"created_at\": \"2023-09-23T09:38:00Z\",\n            \"updated_at\": \"2025-05-12T22:45:21Z\"\n        },\n        \"host_user_calendar_id\": 1109,\n        \"host_user_id\": 12345,\n        \"host_user\": {\n            \"id\": 12345,\n            \"name\": \"Amanda Ross\",\n            \"first_name\": \"Amanda\",\n            \"last_name\": \"Ross\",\n            \"admin\": 1,\n            \"email\": \"amanda.ross@example.com\",\n            \"timezone\": \"America/New_York\",\n            \"calendar_id\": 1109\n        },\n        \"creator_id\": 12345,\n        \"creator\": {\n            \"id\": 12345,\n            \"name\": \"Amanda Ross\",\n            \"first_name\": \"Amanda\",\n            \"last_name\": \"Ross\",\n            \"admin\": 1,\n            \"email\": \"amanda.ross@example.com\",\n            \"timezone\": \"America/New_York\",\n            \"calendar_id\": 1109\n        },\n        \"organizers\": [\n            {\n                \"name\": \"Amanda Ross\",\n                \"email\": \"amanda.ross@example.com\"\n            }\n        ],\n        \"guests\": [],\n        \"location\": \"Custom location\",\n        \"calendar_ids\": [\n            1109\n        ],\n        \"start_time\": \"2025-05-14T23:30:00Z\",\n        \"end_time\": \"2025-05-15T00:30:00Z\",\n        \"is_all_day\": false,\n        \"timezone\": \"America/New_York\",\n        \"meeting_type\": \"custom\",\n        \"meeting_details\": \"Custom location\",\n        \"meeting_link_details\": null,\n        \"is_private\": false,\n        \"comment\": \"&lt;p class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27;&gt;Appointments description&lt;/p&gt;\",\n        \"is_busy\": true,\n        \"user_available_locations\": [],\n        \"status_id\": 3,\n        \"status\": {\n            \"id\": 3,\n            \"name\": \"CONFIRMED\",\n            \"created_at\": \"2020-07-23T15:55:51.000000Z\",\n            \"updated_at\": \"2020-07-23T15:55:51.000000Z\"\n        },\n        \"parent_id\": null,\n        \"is_recurring\": false,\n        \"recurrence_rule\": null,\n        \"cancelled_at\": null,\n        \"cancellation_reason\": null,\n        \"priority\": null,\n        \"importance\": null,\n        \"category_id\": 622,\n        \"category\": {\n            \"id\": 622,\n            \"tenant_id\": 17673,\n            \"source\": \"redtail\",\n            \"source_id\": \"4\",\n            \"name\": \"Customer Service\",\n            \"color\": null,\n            \"is_public\": 0,\n            \"created_at\": \"2024-03-02T08:15:10.000000Z\",\n            \"updated_at\": \"2024-03-02T08:15:10.000000Z\",\n            \"deleted_at\": null\n        },\n        \"appointment_answers\": null,\n        \"is_spouse_included\": false,\n        \"zoomJoinUrl\": \"\",\n        \"spouse\": null,\n        \"source\": \"leadcenter\",\n        \"source_color\": \"#1f6cc4\",\n        \"created_at\": \"2025-05-12T22:44:17.000000Z\",\n        \"updated_at\": \"2025-05-12T22:44:30.000000Z\"\n    }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","calendars",":calendarId","appointments",":appointmentId","no-show"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Calendar ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"calendarId"},{"description":{"content":"<p>Appointment ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"appointmentId"}]}},"response":[{"id":"79965c2b-62c0-4186-9157-597cd1187e3d","name":"Success","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/calendars/:calendarId/appointments/:appointmentId/no-show","host":["{{domain}}"],"path":["v1","calendars",":calendarId","appointments",":appointmentId","no-show"],"variable":[{"key":"calendarId","value":"1792","description":"Calendar ID"},{"key":"appointmentId","value":"112213","description":"Appointment ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 May 2025 10:26:30 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 112213,\n    \"crm_type\": \"crm:appointment\",\n    \"title\": \"Test appointment to noshow\",\n    \"type\": \"appointment\",\n    \"lead_id\": 453932,\n    \"lead\": {\n        \"id\": 453932,\n        \"first_name\": \"Farhan\",\n        \"last_name\": \"Ali\",\n        \"email\": \"e.alifarhan@gmail.com\",\n        \"phone\": \"+91 99616 67781\",\n        \"created_at\": \"2025-04-04T12:17:14.000000Z\",\n        \"updated_at\": \"2025-04-25T14:38:33.000000Z\"\n    },\n    \"host_user_calendar_id\": 1792,\n    \"host_user_id\": 18325,\n    \"host_user\": {\n        \"id\": 18325,\n        \"name\": \"Farhan Ali\",\n        \"first_name\": \"Farhan\",\n        \"last_name\": \"Ali\",\n        \"admin\": 1,\n        \"email\": \"farhan@leadcenter.ai\",\n        \"timezone\": \"America/Chicago\",\n        \"phone\": null,\n        \"last_login\": null,\n        \"calendar_id\": 1792\n    },\n    \"creator_id\": 18325,\n    \"creator\": {\n        \"id\": 18325,\n        \"name\": \"Farhan Ali\",\n        \"first_name\": \"Farhan\",\n        \"last_name\": \"Ali\",\n        \"admin\": 1,\n        \"email\": \"farhan@leadcenter.ai\",\n        \"timezone\": \"America/Chicago\",\n        \"phone\": null,\n        \"last_login\": null,\n        \"calendar_id\": 1792\n    },\n    \"organizers\": [\n        {\n            \"name\": \"Farhan Ali\",\n            \"email\": \"farhan@leadcenter.ai\"\n        }\n    ],\n    \"guests\": [],\n    \"location\": null,\n    \"calendar_ids\": [\n        1792\n    ],\n    \"start_time\": \"2025-05-22T11:00:00Z\",\n    \"end_time\": \"2025-05-22T11:30:00Z\",\n    \"is_all_day\": false,\n    \"timezone\": \"Asia/Kolkata\",\n    \"meeting_type\": \"virtual\",\n    \"meeting_details\": null,\n    \"meeting_link_details\": null,\n    \"is_private\": false,\n    \"comment\": \"\",\n    \"is_busy\": true,\n    \"user_available_locations\": [],\n    \"status_id\": 6,\n    \"status\": {\n        \"id\": 6,\n        \"name\": \"NO-SHOW\",\n        \"created_at\": \"2023-05-15T11:47:11.000000Z\",\n        \"updated_at\": \"2023-05-15T11:47:11.000000Z\"\n    },\n    \"parent_id\": null,\n    \"is_recurring\": false,\n    \"recurrence_rule\": null,\n    \"cancelled_at\": null,\n    \"cancellation_reason\": null,\n    \"priority\": null,\n    \"importance\": null,\n    \"category_id\": null,\n    \"category\": null,\n    \"appointment_answers\": null,\n    \"is_spouse_included\": false,\n    \"zoomJoinUrl\": \"\",\n    \"spouse\": null,\n    \"source\": \"leadcenter\",\n    \"source_color\": \"#1f6cc4\",\n    \"created_at\": \"2025-05-22T10:24:01.000000Z\",\n    \"updated_at\": \"2025-05-22T10:26:30.000000Z\"\n}"},{"id":"9f055114-d4b6-4b7a-b71b-92fca4446337","name":"Error","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/calendars/:calendarId/appointments/:appointmentId/no-show","host":["{{domain}}"],"path":["v1","calendars",":calendarId","appointments",":appointmentId","no-show"],"variable":[{"key":"calendarId","value":"","description":"Calendar ID"},{"key":"appointmentId","value":"","description":"Appointment ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 May 2025 10:27:30 GMT"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Appointment not found\",\n    \"errors\": [\n        \"The requested appointment could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"f7883f1e-9b1e-40c4-aadd-4cefec46e973"}],"id":"11faad50-bc4c-420b-9922-a56b0bb2a708","_postman_id":"11faad50-bc4c-420b-9922-a56b0bb2a708","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"Calendars","id":"387c7ca5-7f42-4d4a-920c-d92ef41a122f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/calendars","description":"<h1 id=\"get-calendars\">Get Calendars</h1>\n<p>Retrieves a list of calendars associated with the current tenant. Each calendar includes configuration details, owner information, availability settings, and optionally assigned locations or linked integrations.</p>\n<h2 id=\"request\">Request</h2>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>GET /v1/calendars</code></p>\n<h2 id=\"example-response\">Example Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id\": 2101,\n        \"name\": \"Alex Johnson\",\n        \"owner_id\": 1002,\n        \"owner\": {\n            \"id\": 1002,\n            \"name\": \"Alex Johnson\",\n            \"first_name\": \"Alex\",\n            \"last_name\": \"Johnson\",\n            \"admin\": 0,\n            \"email\": \"alex.johnson@example.com\",\n            \"timezone\": \"America/Chicago\",\n            \"phone\": null,\n            \"last_login\": null,\n            \"calendar_id\": 2101\n        },\n        \"pre_bookable_days\": 14,\n        \"slot_increment\": 60,\n        \"slot_start_time\": \"08:00\",\n        \"slot_end_time\": \"17:00\",\n        \"virtual_link\": \"\",\n        \"is_active\": null,\n        \"push_to_provider\": null,\n        \"image\": null,\n        \"locations\": [],\n        \"created_at\": \"2023-10-25T11:27:17Z\",\n        \"updated_at\": \"2024-11-14T12:37:20Z\"\n    },\n    {\n        \"id\": 2102,\n        \"name\": \"Amanda Ross\",\n        \"owner_id\": 1001,\n        \"owner\": {\n            \"id\": 1001,\n            \"name\": \"Amanda Ross\",\n            \"first_name\": \"Amanda\",\n            \"last_name\": \"Ross\",\n            \"admin\": 1,\n            \"email\": \"amanda.ross@example.com\",\n            \"timezone\": \"America/New_York\",\n            \"phone\": null,\n            \"last_login\": null,\n            \"calendar_id\": 2102\n        },\n        \"pre_bookable_days\": 30,\n        \"slot_increment\": 120,\n        \"slot_start_time\": \"00:00\",\n        \"slot_end_time\": \"23:59\",\n        \"virtual_link\": \"\",\n        \"is_active\": null,\n        \"push_to_provider\": \"microsoft\",\n        \"image\": {\n            \"id\": 65,\n            \"calendar_id\": 2102,\n            \"name\": \"calendar-demo-image\",\n            \"extension\": \"png\",\n            \"path\": \"calendar/demo_image_original.png\",\n            \"content_type\": \"image/png\",\n            \"source_url\": \"/tmp/demo-image\",\n            \"size\": 979873,\n            \"width\": 1088,\n            \"height\": 986,\n            \"dominant_color\": \"#322f2f\",\n            \"created_at\": \"2024-01-20T19:27:43Z\",\n            \"updated_at\": \"2024-01-20T19:27:43Z\"\n        },\n        \"locations\": [\n            {\n                \"id\": 3161,\n                \"tenant_id\": 5001,\n                \"calendar_id\": 2102,\n                \"name\": \"Main Office - NYC\",\n                \"created_at\": \"2025-02-19T23:12:57Z\",\n                \"updated_at\": \"2025-02-19T23:12:57Z\"\n            }\n        ],\n        \"created_at\": \"2023-09-05T22:51:04Z\",\n        \"updated_at\": \"2025-05-12T10:27:38Z\"\n    },\n    {\n        \"id\": 2103,\n        \"name\": \"Morgan Lee\",\n        \"owner_id\": 1003,\n        \"owner\": {\n            \"id\": 1003,\n            \"name\": \"Morgan Lee\",\n            \"first_name\": \"Morgan\",\n            \"last_name\": \"Lee\",\n            \"admin\": 0,\n            \"email\": \"morgan.lee@example.com\",\n            \"timezone\": \"America/Chicago\",\n            \"phone\": null,\n            \"last_login\": null,\n            \"calendar_id\": 2103\n        },\n        \"pre_bookable_days\": 14,\n        \"slot_increment\": 60,\n        \"slot_start_time\": \"08:00\",\n        \"slot_end_time\": \"17:00\",\n        \"virtual_link\": \"\",\n        \"is_active\": null,\n        \"push_to_provider\": null,\n        \"image\": null,\n        \"locations\": [],\n        \"created_at\": \"2023-12-07T11:47:30Z\",\n        \"updated_at\": \"2023-12-07T11:56:19Z\"\n    },\n    {\n        \"id\": 2104,\n        \"name\": \"Jordan Smith\",\n        \"owner_id\": 1004,\n        \"owner\": {\n            \"id\": 1004,\n            \"name\": \"Jordan Smith\",\n            \"first_name\": \"Jordan\",\n            \"last_name\": \"Smith\",\n            \"admin\": 0,\n            \"email\": \"jordan.smith@example.com\",\n            \"timezone\": null,\n            \"phone\": null,\n            \"last_login\": null,\n            \"calendar_id\": 2104\n        },\n        \"pre_bookable_days\": 14,\n        \"slot_increment\": 60,\n        \"slot_start_time\": \"08:00\",\n        \"slot_end_time\": \"17:00\",\n        \"virtual_link\": null,\n        \"is_active\": null,\n        \"push_to_provider\": null,\n        \"image\": null,\n        \"locations\": [],\n        \"created_at\": \"2023-12-07T11:55:24Z\",\n        \"updated_at\": \"2023-12-07T11:55:24Z\"\n    }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","calendars"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"96af2c49-3f0c-4d7a-94de-e1b977703a84","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{domain}}/v1/calendars"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 11:03:25 GMT"},{"key":"phpdebugbar-id","value":"Xa8d91b50a12c7d3cb878f557aa9ab0c5"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n\t{\n\t\t\"id\": 2101,\n\t\t\"name\": \"Alex Johnson\",\n\t\t\"owner_id\": 1002,\n\t\t\"owner\": {\n\t\t\t\"id\": 1002,\n\t\t\t\"name\": \"Alex Johnson\",\n\t\t\t\"first_name\": \"Alex\",\n\t\t\t\"last_name\": \"Johnson\",\n\t\t\t\"admin\": 0,\n\t\t\t\"email\": \"alex.johnson@example.com\",\n\t\t\t\"timezone\": \"America/Chicago\",\n\t\t\t\"phone\": null,\n\t\t\t\"last_login\": null,\n\t\t\t\"calendar_id\": 2101\n\t\t},\n\t\t\"pre_bookable_days\": 14,\n\t\t\"slot_increment\": 60,\n\t\t\"slot_start_time\": \"08:00\",\n\t\t\"slot_end_time\": \"17:00\",\n\t\t\"virtual_link\": \"\",\n\t\t\"is_active\": null,\n\t\t\"push_to_provider\": null,\n\t\t\"image\": null,\n\t\t\"locations\": [],\n\t\t\"created_at\": \"2023-10-25T11:27:17Z\",\n\t\t\"updated_at\": \"2024-11-14T12:37:20Z\"\n\t},\n\t{\n\t\t\"id\": 2102,\n\t\t\"name\": \"Amanda Ross\",\n\t\t\"owner_id\": 1001,\n\t\t\"owner\": {\n\t\t\t\"id\": 1001,\n\t\t\t\"name\": \"Amanda Ross\",\n\t\t\t\"first_name\": \"Amanda\",\n\t\t\t\"last_name\": \"Ross\",\n\t\t\t\"admin\": 1,\n\t\t\t\"email\": \"amanda.ross@example.com\",\n\t\t\t\"timezone\": \"America/New_York\",\n\t\t\t\"phone\": null,\n\t\t\t\"last_login\": null,\n\t\t\t\"calendar_id\": 2102\n\t\t},\n\t\t\"pre_bookable_days\": 30,\n\t\t\"slot_increment\": 120,\n\t\t\"slot_start_time\": \"00:00\",\n\t\t\"slot_end_time\": \"23:59\",\n\t\t\"virtual_link\": \"\",\n\t\t\"is_active\": null,\n\t\t\"push_to_provider\": \"microsoft\",\n\t\t\"image\": {\n\t\t\t\"id\": 65,\n\t\t\t\"calendar_id\": 2102,\n\t\t\t\"name\": \"calendar-demo-image\",\n\t\t\t\"extension\": \"png\",\n\t\t\t\"path\": \"calendar/demo_image_original.png\",\n\t\t\t\"content_type\": \"image/png\",\n\t\t\t\"source_url\": \"/tmp/demo-image\",\n\t\t\t\"size\": 979873,\n\t\t\t\"width\": 1088,\n\t\t\t\"height\": 986,\n\t\t\t\"dominant_color\": \"#322f2f\",\n\t\t\t\"created_at\": \"2024-01-20T19:27:43Z\",\n\t\t\t\"updated_at\": \"2024-01-20T19:27:43Z\"\n\t\t},\n\t\t\"locations\": [\n\t\t\t{\n\t\t\t\t\"id\": 3161,\n\t\t\t\t\"tenant_id\": 5001,\n\t\t\t\t\"calendar_id\": 2102,\n\t\t\t\t\"name\": \"Main Office - NYC\",\n\t\t\t\t\"created_at\": \"2025-02-19T23:12:57Z\",\n\t\t\t\t\"updated_at\": \"2025-02-19T23:12:57Z\"\n\t\t\t}\n\t\t],\n\t\t\"created_at\": \"2023-09-05T22:51:04Z\",\n\t\t\"updated_at\": \"2025-05-12T10:27:38Z\"\n\t},\n\t{\n\t\t\"id\": 2103,\n\t\t\"name\": \"Morgan Lee\",\n\t\t\"owner_id\": 1003,\n\t\t\"owner\": {\n\t\t\t\"id\": 1003,\n\t\t\t\"name\": \"Morgan Lee\",\n\t\t\t\"first_name\": \"Morgan\",\n\t\t\t\"last_name\": \"Lee\",\n\t\t\t\"admin\": 0,\n\t\t\t\"email\": \"morgan.lee@example.com\",\n\t\t\t\"timezone\": \"America/Chicago\",\n\t\t\t\"phone\": null,\n\t\t\t\"last_login\": null,\n\t\t\t\"calendar_id\": 2103\n\t\t},\n\t\t\"pre_bookable_days\": 14,\n\t\t\"slot_increment\": 60,\n\t\t\"slot_start_time\": \"08:00\",\n\t\t\"slot_end_time\": \"17:00\",\n\t\t\"virtual_link\": \"\",\n\t\t\"is_active\": null,\n\t\t\"push_to_provider\": null,\n\t\t\"image\": null,\n\t\t\"locations\": [],\n\t\t\"created_at\": \"2023-12-07T11:47:30Z\",\n\t\t\"updated_at\": \"2023-12-07T11:56:19Z\"\n\t},\n\t{\n\t\t\"id\": 2104,\n\t\t\"name\": \"Jordan Smith\",\n\t\t\"owner_id\": 1004,\n\t\t\"owner\": {\n\t\t\t\"id\": 1004,\n\t\t\t\"name\": \"Jordan Smith\",\n\t\t\t\"first_name\": \"Jordan\",\n\t\t\t\"last_name\": \"Smith\",\n\t\t\t\"admin\": 0,\n\t\t\t\"email\": \"jordan.smith@example.com\",\n\t\t\t\"timezone\": null,\n\t\t\t\"phone\": null,\n\t\t\t\"last_login\": null,\n\t\t\t\"calendar_id\": 2104\n\t\t},\n\t\t\"pre_bookable_days\": 14,\n\t\t\"slot_increment\": 60,\n\t\t\"slot_start_time\": \"08:00\",\n\t\t\"slot_end_time\": \"17:00\",\n\t\t\"virtual_link\": null,\n\t\t\"is_active\": null,\n\t\t\"push_to_provider\": null,\n\t\t\"image\": null,\n\t\t\"locations\": [],\n\t\t\"created_at\": \"2023-12-07T11:55:24Z\",\n\t\t\"updated_at\": \"2023-12-07T11:55:24Z\"\n\t}\n]"}],"_postman_id":"387c7ca5-7f42-4d4a-920c-d92ef41a122f"},{"name":"Me","id":"d534ed8d-81a7-42c8-ad14-5a34897ab817","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/calendars/me","description":"<p>The endpoint retrieves calendar information for the authenticated user.</p>\n<h3 id=\"request\">Request</h3>\n<p>No request body parameters are required for this endpoint.</p>\n<h3 id=\"response\">Response</h3>\n<p>The response will be in JSON format and will include the following fields:</p>\n<ul>\n<li><p><code>id</code> (number): The unique identifier of the calendar.</p>\n</li>\n<li><p><code>name</code> (string): The name of the calendar.</p>\n</li>\n<li><p><code>owner_id</code> (number): The unique identifier of the calendar owner.</p>\n</li>\n<li><p><code>owner</code> (object): Information about the calendar owner, including their <code>id</code>, <code>name</code>, <code>first_name</code>, <code>last_name</code>, <code>admin</code> status, <code>email</code>, <code>timezone</code>, <code>phone</code>, <code>last_login</code>, and <code>calendar_id</code>.</p>\n</li>\n<li><p><code>pre_bookable_days</code> (number): The number of days in advance that can be booked.</p>\n</li>\n<li><p><code>slot_increment</code> (number): The time increment for each slot.</p>\n</li>\n<li><p><code>slot_start_time</code> (string): The start time for slots.</p>\n</li>\n<li><p><code>slot_end_time</code> (string): The end time for slots.</p>\n</li>\n<li><p><code>virtual_link</code> (string): The virtual link associated with the calendar.</p>\n</li>\n<li><p><code>is_active</code> (boolean): The status of the calendar.</p>\n</li>\n<li><p><code>push_to_provider</code> (string): Information about pushing data to a provider.</p>\n</li>\n<li><p><code>image</code> (object): Details about the calendar image, including <code>id</code>, <code>calendar_id</code>, <code>name</code>, <code>extension</code>, <code>path</code>, <code>content_type</code>, <code>source_url</code>, <code>size</code>, <code>width</code>, <code>height</code>, <code>dominant_color</code>, <code>created_at</code>, and <code>updated_at</code>.</p>\n</li>\n<li><p><code>locations</code> (array): An array of location objects, each containing <code>id</code>, <code>tenant_id</code>, <code>calendar_id</code>, <code>name</code>, <code>created_at</code>, and <code>updated_at</code>.</p>\n</li>\n<li><p><code>created_at</code> (string): The date and time when the calendar was created.</p>\n</li>\n<li><p><code>updated_at</code> (string): The date and time when the calendar was last updated.</p>\n</li>\n</ul>\n<h4 id=\"example\">Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": 2102,\n    \"name\": \"Amanda Ross\",\n    \"owner_id\": 1001,\n    \"owner\": {\n        \"id\": 1001,\n        \"name\": \"Amanda Ross\",\n        \"first_name\": \"Amanda\",\n        \"last_name\": \"Ross\",\n        \"admin\": 1,\n        \"email\": \"amanda.ross@example.com\",\n        \"timezone\": \"America/New_York\",\n        \"phone\": null,\n        \"last_login\": null,\n        \"calendar_id\": 2102\n    },\n    \"pre_bookable_days\": 30,\n    \"slot_increment\": 120,\n    \"slot_start_time\": \"00:00\",\n    \"slot_end_time\": \"23:59\",\n    \"virtual_link\": \"\",\n    \"is_active\": null,\n    \"push_to_provider\": \"microsoft\",\n    \"image\": {\n        \"id\": 65,\n        \"calendar_id\": 2102,\n        \"name\": \"calendar-header-img\",\n        \"extension\": \"png\",\n        \"path\": \"calendar/calendar-header-img_original.png\",\n        \"content_type\": \"image/png\",\n        \"source_url\": \"/tmp/calendar-header.png\",\n        \"size\": 980000,\n        \"width\": 1088,\n        \"height\": 986,\n        \"dominant_color\": \"#2d2d2d\",\n        \"created_at\": \"2024-01-20T19:27:43Z\",\n        \"updated_at\": \"2024-01-20T19:27:43Z\"\n    },\n    \"locations\": [\n        {\n            \"id\": 3161,\n            \"tenant_id\": 5001,\n            \"calendar_id\": 2102,\n            \"name\": \"Downtown Office - NYC\",\n            \"created_at\": \"2025-02-19T23:12:57Z\",\n            \"updated_at\": \"2025-02-19T23:12:57Z\"\n        }\n    ],\n    \"created_at\": \"2023-09-05T22:51:04Z\",\n    \"updated_at\": \"2025-05-12T10:27:38Z\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","calendars","me"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"1333dc6d-5d85-474c-9852-1cf89a7e0913","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{domain}}/v1/calendars/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 11:08:08 GMT"},{"key":"phpdebugbar-id","value":"X21745b5b3f137cb25771aaa033c3bf98"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n\t\"id\": 2102,\n\t\"name\": \"Amanda Ross\",\n\t\"owner_id\": 1001,\n\t\"owner\": {\n\t\t\"id\": 1001,\n\t\t\"name\": \"Amanda Ross\",\n\t\t\"first_name\": \"Amanda\",\n\t\t\"last_name\": \"Ross\",\n\t\t\"admin\": 1,\n\t\t\"email\": \"amanda.ross@example.com\",\n\t\t\"timezone\": \"America/New_York\",\n\t\t\"phone\": null,\n\t\t\"last_login\": null,\n\t\t\"calendar_id\": 2102\n\t},\n\t\"pre_bookable_days\": 30,\n\t\"slot_increment\": 120,\n\t\"slot_start_time\": \"00:00\",\n\t\"slot_end_time\": \"23:59\",\n\t\"virtual_link\": \"\",\n\t\"is_active\": null,\n\t\"push_to_provider\": \"microsoft\",\n\t\"image\": {\n\t\t\"id\": 65,\n\t\t\"calendar_id\": 2102,\n\t\t\"name\": \"calendar-header-img\",\n\t\t\"extension\": \"png\",\n\t\t\"path\": \"calendar/calendar-header-img_original.png\",\n\t\t\"content_type\": \"image/png\",\n\t\t\"source_url\": \"/tmp/calendar-header.png\",\n\t\t\"size\": 980000,\n\t\t\"width\": 1088,\n\t\t\"height\": 986,\n\t\t\"dominant_color\": \"#2d2d2d\",\n\t\t\"created_at\": \"2024-01-20T19:27:43Z\",\n\t\t\"updated_at\": \"2024-01-20T19:27:43Z\"\n\t},\n\t\"locations\": [\n\t\t{\n\t\t\t\"id\": 3161,\n\t\t\t\"tenant_id\": 5001,\n\t\t\t\"calendar_id\": 2102,\n\t\t\t\"name\": \"Downtown Office - NYC\",\n\t\t\t\"created_at\": \"2025-02-19T23:12:57Z\",\n\t\t\t\"updated_at\": \"2025-02-19T23:12:57Z\"\n\t\t}\n\t],\n\t\"created_at\": \"2023-09-05T22:51:04Z\",\n\t\"updated_at\": \"2025-05-12T10:27:38Z\"\n}"}],"_postman_id":"d534ed8d-81a7-42c8-ad14-5a34897ab817"}],"id":"54647ac9-0969-4cbe-9536-d3979b0e0d26","_postman_id":"54647ac9-0969-4cbe-9536-d3979b0e0d26","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"Tasks","item":[{"name":"List","id":"b4ff0ed4-2572-4a56-a45a-44436c78915b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/tasks","description":"<h3 id=\"get-v1tasks\">GET /v1/tasks</h3>\n<p>This endpoint retrieves a list of tasks.</p>\n<h4 id=\"response\">Response</h4>\n<p>The response will be a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [\n        {\n            \"id\": 19852,\n            \"type\": \"task\",\n            \"title\": \"Follow up with client to confirm appointment.\",\n            \"owner_id\": 1001,\n            \"owner\": {\n                \"id\": 1001,\n                \"name\": \"Amanda Ross\",\n                \"first_name\": \"Amanda\",\n                \"last_name\": \"Ross\",\n                \"admin\": 1,\n                \"email\": \"amanda.ross@example.com\",\n                \"timezone\": \"America/New_York\",\n                \"phone\": null,\n                \"last_login\": null,\n                \"calendar_id\": 2102\n            },\n            \"team_id\": null,\n            \"team\": null,\n            \"lead_id\": 347427,\n            \"lead\": {\n                \"id\": 347427,\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\",\n                \"email\": \"john.doe@example.com\",\n                \"phone\": \"(312) 555-0123\",\n                \"created_at\": \"2024-10-30T11:03:12Z\",\n                \"updated_at\": \"2025-03-13T15:58:06Z\"\n            },\n            \"task_list_id\": null,\n            \"task_list\": null,\n            \"state_id\": 1,\n            \"state\": {\n                \"id\": 1,\n                \"name\": \"Not Started\",\n                \"color\": \"orange\",\n                \"icon\": null,\n                \"created_at\": \"2020-11-14T07:35:29Z\",\n                \"updated_at\": \"2023-12-01T13:31:55Z\"\n            },\n            \"appointment_id\": null,\n            \"priority\": \"none\",\n            \"is_recurring\": false,\n            \"recurrence_rule\": null,\n            \"recurrence_start_date\": null,\n            \"recurrence_summary\": null,\n            \"completed_at\": null,\n            \"due_at\": \"2024-09-24T13:02:00Z\",\n            \"cancelled_at\": null,\n            \"created_at\": \"2024-09-17T13:02:30Z\",\n            \"updated_at\": \"2025-03-05T11:10:05Z\",\n            \"deleted_at\": null\n        }\n    ],\n    \"links\": {\n        \"first\": \"https://api.leadcenter.test/v1/tasks?page=1\",\n        \"last\": \"https://api.leadcenter.test/v1/tasks?page=2\",\n        \"prev\": null,\n        \"next\": \"https://api.leadcenter.test/v1/tasks?page=2\"\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 2,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"« Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/tasks?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/tasks?page=2\",\n                \"label\": \"2\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.leadcenter.test/v1/tasks?page=2\",\n                \"label\": \"Next »\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"https://api.leadcenter.test/v1/tasks\",\n        \"per_page\": 20,\n        \"to\": 20,\n        \"total\": 23\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","tasks"],"host":["{{domain}}"],"query":[{"disabled":true,"description":{"content":"<p>Search tasks by keyword</p>\n","type":"text/plain"},"key":"query","value":""},{"disabled":true,"description":{"content":"<p>Filter tasks by owner.  (Retrieve Users/owners list from User -&gt; Users)</p>\n","type":"text/plain"},"key":"owner_id","value":""},{"disabled":true,"description":{"content":"<p>overdue, due-today, recurring</p>\n","type":"text/plain"},"key":"mode","value":""},{"disabled":true,"description":{"content":"<p>Get tasks related to a specific task list. (Retrieve task lists from Task Lists -&gt; List)</p>\n","type":"text/plain"},"key":"task_list_id","value":""},{"disabled":true,"description":{"content":"<p>inbox, today, upcoming</p>\n","type":"text/plain"},"key":"scope","value":""},{"disabled":true,"description":{"content":"<p>Filter tasks related to specific lead</p>\n","type":"text/plain"},"key":"lead_id","value":""}],"variable":[]}},"response":[{"id":"2d262d52-74b2-403b-8e75-f474941f60da","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{domain}}/v1/tasks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 11:15:29 GMT"},{"key":"phpdebugbar-id","value":"X8955a69ffab9361a1cb5a457d001e92f"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"id\": 19852,\n\t\t\t\"type\": \"task\",\n\t\t\t\"title\": \"Follow up with client to confirm appointment.\",\n            \"description\": \"Task description\",\n\t\t\t\"owner_id\": 1001,\n\t\t\t\"owner\": {\n\t\t\t\t\"id\": 1001,\n\t\t\t\t\"name\": \"Amanda Ross\",\n\t\t\t\t\"first_name\": \"Amanda\",\n\t\t\t\t\"last_name\": \"Ross\",\n\t\t\t\t\"admin\": 1,\n\t\t\t\t\"email\": \"amanda.ross@example.com\",\n\t\t\t\t\"timezone\": \"America/New_York\",\n\t\t\t\t\"phone\": null,\n\t\t\t\t\"last_login\": null,\n\t\t\t\t\"calendar_id\": 2102\n\t\t\t},\n            \"comments\": [],\n\t\t\t\"team_id\": null,\n\t\t\t\"team\": null,\n\t\t\t\"lead_id\": 347427,\n\t\t\t\"lead\": {\n\t\t\t\t\"id\": 347427,\n\t\t\t\t\"first_name\": \"John\",\n\t\t\t\t\"last_name\": \"Doe\",\n\t\t\t\t\"email\": \"john.doe@example.com\",\n\t\t\t\t\"phone\": \"(312) 555-0123\",\n\t\t\t\t\"created_at\": \"2024-10-30T11:03:12Z\",\n\t\t\t\t\"updated_at\": \"2025-03-13T15:58:06Z\"\n\t\t\t},\n\t\t\t\"task_list_id\": null,\n\t\t\t\"task_list\": null,\n\t\t\t\"state_id\": 1,\n\t\t\t\"state\": {\n\t\t\t\t\"id\": 1,\n\t\t\t\t\"name\": \"Not Started\",\n\t\t\t\t\"color\": \"orange\",\n\t\t\t\t\"icon\": null,\n\t\t\t\t\"created_at\": \"2020-11-14T07:35:29Z\",\n\t\t\t\t\"updated_at\": \"2023-12-01T13:31:55Z\"\n\t\t\t},\n\t\t\t\"appointment_id\": null,\n\t\t\t\"priority\": \"none\",\n\t\t\t\"is_recurring\": false,\n\t\t\t\"recurrence_rule\": null,\n\t\t\t\"recurrence_start_date\": null,\n\t\t\t\"recurrence_summary\": null,\n\t\t\t\"completed_at\": null,\n\t\t\t\"due_at\": \"2024-09-24T13:02:00Z\",\n\t\t\t\"cancelled_at\": null,\n\t\t\t\"created_at\": \"2024-09-17T13:02:30Z\",\n\t\t\t\"updated_at\": \"2025-03-05T11:10:05Z\",\n\t\t\t\"deleted_at\": null\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.leadcenter.test/v1/tasks?page=1\",\n\t\t\"last\": \"https://api.leadcenter.test/v1/tasks?page=2\",\n\t\t\"prev\": null,\n\t\t\"next\": \"https://api.leadcenter.test/v1/tasks?page=2\"\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 2,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.leadcenter.test/v1/tasks?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.leadcenter.test/v1/tasks?page=2\",\n\t\t\t\t\"label\": \"2\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.leadcenter.test/v1/tasks?page=2\",\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.leadcenter.test/v1/tasks\",\n\t\t\"per_page\": 20,\n\t\t\"to\": 20,\n\t\t\"total\": 23\n\t}\n}"}],"_postman_id":"b4ff0ed4-2572-4a56-a45a-44436c78915b"},{"name":"Get","id":"daddb89d-57b8-4b1d-8b98-e261ee78684f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/tasks/:taskId","description":"<h3 id=\"get-task-details\">Get Task Details</h3>\n<p>This endpoint retrieves details of a specific task identified by the taskId parameter.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>{{domain}}/v1/tasks/:taskId</code></p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will be in JSON format with the following structure:</p>\n<ul>\n<li><p><code>id</code> (number): The unique identifier of the task.</p>\n</li>\n<li><p><code>type</code> (string): The type of the task.</p>\n</li>\n<li><p><code>title</code> (string): The title of the task.</p>\n</li>\n<li><p><code>owner_id</code> (number): The unique identifier of the task owner.</p>\n</li>\n<li><p><code>owner</code> (object): Details of the task owner including id, name, first name, last name, admin status, email, timezone, phone, last login, and calendar id.</p>\n</li>\n<li><p><code>team_id</code> (number): The unique identifier of the team associated with the task.</p>\n</li>\n<li><p><code>team</code> (object): Details of the team associated with the task.</p>\n</li>\n<li><p><code>lead_id</code> (number): The unique identifier of the lead associated with the task.</p>\n</li>\n<li><p><code>lead</code> (object): Details of the lead associated with the task including id, first name, last name, email, phone, created at, and updated at.</p>\n</li>\n<li><p><code>task_list_id</code> (number): The unique identifier of the task list associated with the task.</p>\n</li>\n<li><p><code>task_list</code> (object): Details of the task list associated with the task.</p>\n</li>\n<li><p><code>state_id</code> (number): The unique identifier of the state associated with the task.</p>\n</li>\n<li><p><code>state</code> (object): Details of the state associated with the task including id, name, color, icon, created at, and updated at.</p>\n</li>\n<li><p><code>appointment_id</code> (number): The unique identifier of the appointment associated with the task.</p>\n</li>\n<li><p><code>priority</code> (string): The priority of the task.</p>\n</li>\n<li><p><code>is_recurring</code> (boolean): Indicates if the task is recurring.</p>\n</li>\n<li><p><code>recurrence_rule</code> (object): Details of the recurrence rule if the task is recurring.</p>\n</li>\n<li><p><code>recurrence_start_date</code> (string): The start date of the recurring task.</p>\n</li>\n<li><p><code>recurrence_summary</code> (string): Summary of the recurrence rule.</p>\n</li>\n<li><p><code>completed_at</code> (string): The date and time when the task was completed.</p>\n</li>\n<li><p><code>due_at</code> (string): The due date and time of the task.</p>\n</li>\n<li><p><code>cancelled_at</code> (string): The date and time when the task was cancelled.</p>\n</li>\n<li><p><code>created_at</code> (string): The date and time when the task was created.</p>\n</li>\n<li><p><code>updated_at</code> (string): The date and time when the task was last updated.</p>\n</li>\n<li><p><code>deleted_at</code> (string): The date and time when the task was deleted.</p>\n</li>\n</ul>\n<h4 id=\"example\">Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": 19852,\n    \"type\": \"task\",\n    \"title\": \"Follow up with client to confirm appointment.\",\n    \"owner_id\": 1001,\n    \"owner\": {\n        \"id\": 1001,\n        \"name\": \"Amanda Ross\",\n        \"first_name\": \"Amanda\",\n        \"last_name\": \"Ross\",\n        \"admin\": 1,\n        \"email\": \"amanda.ross@example.com\",\n        \"timezone\": \"America/New_York\",\n        \"phone\": null,\n        \"last_login\": null,\n        \"calendar_id\": 2102\n    },\n    \"team_id\": null,\n    \"team\": null,\n    \"lead_id\": 347427,\n    \"lead\": {\n        \"id\": 347427,\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"email\": \"john.doe@example.com\",\n        \"phone\": \"(312) 555-0123\",\n        \"created_at\": \"2024-10-30T11:03:12Z\",\n        \"updated_at\": \"2025-03-13T15:58:06Z\"\n    },\n    \"task_list_id\": null,\n    \"task_list\": null,\n    \"state_id\": 1,\n    \"state\": {\n        \"id\": 1,\n        \"name\": \"Not Started\",\n        \"color\": \"orange\",\n        \"icon\": null,\n        \"created_at\": \"2020-11-14T07:35:29Z\",\n        \"updated_at\": \"2023-12-01T13:31:55Z\"\n    },\n    \"appointment_id\": null,\n    \"priority\": \"none\",\n    \"is_recurring\": false,\n    \"recurrence_rule\": null,\n    \"recurrence_start_date\": null,\n    \"recurrence_summary\": null,\n    \"completed_at\": null,\n    \"due_at\": \"2024-09-24T13:02:00Z\",\n    \"cancelled_at\": null,\n    \"created_at\": \"2024-09-17T13:02:30Z\",\n    \"updated_at\": \"2025-03-05T11:10:05Z\",\n    \"deleted_at\": null\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","tasks",":taskId"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Task ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"taskId"}]}},"response":[{"id":"f462b26f-89fe-44f2-ac96-529930fb3603","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{domain}}/v1/tasks/:taskId","host":["{{domain}}"],"path":["v1","tasks",":taskId"],"variable":[{"key":"taskId","value":"","description":"Task ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 11:24:38 GMT"},{"key":"phpdebugbar-id","value":"X30284d8af9ea2205d1b09c460c6bca3b"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 19852,\n    \"type\": \"task\",\n    \"title\": \"Follow up with client to confirm appointment.\",\n    \"description\": \"Task description\",\n    \"owner_id\": 1001,\n    \"owner\": {\n        \"id\": 1001,\n        \"name\": \"Amanda Ross\",\n        \"first_name\": \"Amanda\",\n        \"last_name\": \"Ross\",\n        \"admin\": 1,\n        \"email\": \"amanda.ross@example.com\",\n        \"timezone\": \"America/New_York\",\n        \"phone\": null,\n        \"last_login\": null,\n        \"calendar_id\": 2102\n    },\n    \"comments\": [],\n    \"team_id\": null,\n    \"team\": null,\n    \"lead_id\": 347427,\n    \"lead\": {\n        \"id\": 347427,\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"email\": \"john.doe@example.com\",\n        \"phone\": \"(312) 555-0123\",\n        \"created_at\": \"2024-10-30T11:03:12Z\",\n        \"updated_at\": \"2025-03-13T15:58:06Z\"\n    },\n    \"task_list_id\": null,\n    \"task_list\": null,\n    \"state_id\": 1,\n    \"state\": {\n        \"id\": 1,\n        \"name\": \"Not Started\",\n        \"color\": \"orange\",\n        \"icon\": null,\n        \"created_at\": \"2020-11-14T07:35:29Z\",\n        \"updated_at\": \"2023-12-01T13:31:55Z\"\n    },\n    \"appointment_id\": null,\n    \"priority\": \"none\",\n    \"is_recurring\": false,\n    \"recurrence_rule\": null,\n    \"recurrence_start_date\": null,\n    \"recurrence_summary\": null,\n    \"completed_at\": null,\n    \"due_at\": \"2024-09-24T13:02:00Z\",\n    \"cancelled_at\": null,\n    \"created_at\": \"2024-09-17T13:02:30Z\",\n    \"updated_at\": \"2025-03-05T11:10:05Z\",\n    \"deleted_at\": null\n}"},{"id":"dc9157ef-c2ff-4e3e-98f2-04f73da77673","name":"Error","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{domain}}/v1/tasks/:taskId","host":["{{domain}}"],"path":["v1","tasks",":taskId"],"variable":[{"key":"taskId","value":"","description":"Task ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 11:25:24 GMT"},{"key":"phpdebugbar-id","value":"X6642c532852e81f6cee6564fa0637fa9"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Task not found\",\n    \"errors\": [\n        \"The requested task could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"daddb89d-57b8-4b1d-8b98-e261ee78684f"},{"name":"Create","id":"6015ee1d-22cb-443d-85ff-e62be63e3c7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Follow up on client proposal\",\n    \"owner_id\": 17673,\n    \"team_id\": null,\n    \"task_list_id\": 16,\n    \"state_id\": 1, // 1 = NOT STARTED, 2 = IN PROGRESS, 3 = COMPLETED, 4 = CANCELED\n    \"priority\": \"medium\", // Options: none, low, medium, high\n    \"due_at\": \"2025-06-01T10:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/tasks","description":"<h3 id=\"post-v1tasks\">POST /v1/tasks</h3>\n<p>This endpoint is used to create a new task with the provided details.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>title</code> (string, required): The title of the task.</p>\n</li>\n<li><p><code>owner_id</code> (integer, required): The ID of the owner of the task.</p>\n</li>\n<li><p><code>team_id</code> (integer): The ID of the team to which the task belongs.</p>\n</li>\n<li><p><code>task_list_id</code> (integer, required): The ID of the task list to which the task belongs.</p>\n</li>\n<li><p><code>state_id</code> (integer, required): The ID representing the state of the task. <code>Options [1 = NOT STARTED, 2 = IN PROGRESS, 3 = COMPLETED, 4 = CANCELED]</code></p>\n</li>\n<li><p><code>priority</code> (string, required): The priority level of the task. Options: <code>[none, low, medium, high]</code></p>\n</li>\n<li><p><code>due_at</code> (string, required): The due date and time of the task.</p>\n</li>\n</ul>\n<h4 id=\"response-201---created\">Response (201 - Created)</h4>\n<p>The response will be in JSON format with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": 19852,\n    \"type\": \"task\",\n    \"title\": \"Follow up with client to confirm appointment.\",\n    \"owner_id\": 1001,\n    \"owner\": {\n        \"id\": 1001,\n        \"name\": \"Amanda Ross\",\n        \"first_name\": \"Amanda\",\n        \"last_name\": \"Ross\",\n        \"admin\": 1,\n        \"email\": \"amanda.ross@example.com\",\n        \"timezone\": \"America/New_York\",\n        \"phone\": null,\n        \"last_login\": null,\n        \"calendar_id\": 2102\n    },\n    \"team_id\": null,\n    \"team\": null,\n    \"lead_id\": 347427,\n    \"lead\": {\n        \"id\": 347427,\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"email\": \"john.doe@example.com\",\n        \"phone\": \"(312) 555-0123\",\n        \"created_at\": \"2024-10-30T11:03:12Z\",\n        \"updated_at\": \"2025-03-13T15:58:06Z\"\n    },\n    \"task_list_id\": 16,\n    \"task_list\": {\n        \"id\": 16,\n        \"name\": \"Task list 2\",\n        \"description\": \"\",\n        \"order\": 3,\n        \"is_private\": false,\n        \"created_at\": \"2024-10-31T22:12:45.000000Z\",\n        \"updated_at\": \"2024-11-22T11:40:38.000000Z\"\n    },\n    \"state_id\": 1,\n    \"state\": {\n        \"id\": 1,\n        \"name\": \"Not Started\",\n        \"color\": \"orange\",\n        \"icon\": null,\n        \"created_at\": \"2020-11-14T07:35:29Z\",\n        \"updated_at\": \"2023-12-01T13:31:55Z\"\n    },\n    \"appointment_id\": null,\n    \"priority\": \"none\",\n    \"is_recurring\": false,\n    \"recurrence_rule\": null,\n    \"recurrence_start_date\": null,\n    \"recurrence_summary\": null,\n    \"completed_at\": null,\n    \"due_at\": \"2024-09-24T13:02:00Z\",\n    \"cancelled_at\": null,\n    \"created_at\": \"2024-09-17T13:02:30Z\",\n    \"updated_at\": \"2025-03-05T11:10:05Z\",\n    \"deleted_at\": null\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","tasks"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"120f4b91-8893-4014-bb46-f3386d09cfc5","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Follow up on client proposal\",\n    \"owner_id\": 17673,\n    \"team_id\": null,\n    \"task_list_id\": 16,\n    \"state_id\": 1, // 1 = NOT STARTED, 2 = IN PROGRESS, 3 = COMPLETED, 4 = CANCELED\n    \"priority\": \"medium\", // Options: none, low, medium, high\n    \"due_at\": \"2025-06-01T10:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/tasks"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 11:54:08 GMT"},{"key":"phpdebugbar-id","value":"X3a21097e54408f1a827d04073a2bc928"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 19852,\n    \"type\": \"task\",\n    \"title\": \"Follow up with client to confirm appointment.\",\n    \"owner_id\": 1001,\n    \"owner\": {\n        \"id\": 1001,\n        \"name\": \"Amanda Ross\",\n        \"first_name\": \"Amanda\",\n        \"last_name\": \"Ross\",\n        \"admin\": 1,\n        \"email\": \"amanda.ross@example.com\",\n        \"timezone\": \"America/New_York\",\n        \"phone\": null,\n        \"last_login\": null,\n        \"calendar_id\": 2102\n    },\n    \"team_id\": null,\n    \"team\": null,\n    \"lead_id\": 347427,\n    \"lead\": {\n        \"id\": 347427,\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"email\": \"john.doe@example.com\",\n        \"phone\": \"(312) 555-0123\",\n        \"created_at\": \"2024-10-30T11:03:12Z\",\n        \"updated_at\": \"2025-03-13T15:58:06Z\"\n    },\n    \"task_list_id\": 16,\n    \"task_list\": {\n        \"id\": 16,\n        \"name\": \"Clients follow-up\",\n        \"description\": \"Contains tasks related to clients follow-up\",\n        \"order\": 3,\n        \"is_private\": false,\n        \"created_at\": \"2024-10-31T22:12:45.000000Z\",\n        \"updated_at\": \"2024-11-22T11:40:38.000000Z\"\n    },\n    \"state_id\": 1,\n    \"state\": {\n        \"id\": 1,\n        \"name\": \"Not Started\",\n        \"color\": \"orange\",\n        \"icon\": null,\n        \"created_at\": \"2020-11-14T07:35:29Z\",\n        \"updated_at\": \"2023-12-01T13:31:55Z\"\n    },\n    \"appointment_id\": null,\n    \"priority\": \"none\",\n    \"is_recurring\": false,\n    \"recurrence_rule\": null,\n    \"recurrence_start_date\": null,\n    \"recurrence_summary\": null,\n    \"completed_at\": null,\n    \"due_at\": \"2024-09-24T13:02:00Z\",\n    \"cancelled_at\": null,\n    \"created_at\": \"2024-09-17T13:02:30Z\",\n    \"updated_at\": \"2025-03-05T11:10:05Z\",\n    \"deleted_at\": null\n}"},{"id":"513577cc-e0d9-4126-9dfc-7133e6ed7a87","name":"Error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Follow up on client proposal\",\n    \"owner_id\": 1001,\n    \"team_id\": null,\n    \"lead_id\": 2001,\n    \"task_list_id\": 16,\n    \"state_id\": 1, // 1 = NOT STARTED, 2 = IN PROGRESS, 3 = COMPLETED, 4 = CANCELED\n    \"priority\": \"medium\", // Options: none, low, medium, high\n    \"due_at\": \"2025-06-01T10:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/tasks"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 11:53:02 GMT"},{"key":"phpdebugbar-id","value":"X144d895a2d62863203c5a2cdf38f5df4"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validation failed\",\n    \"errors\": [\n        \"The selected owner id is invalid.\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"6015ee1d-22cb-443d-85ff-e62be63e3c7a"},{"name":"Update","id":"8ae44783-bde3-42e0-bec6-80cff882a0e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"[UPDATED] Follow up on client proposal\",\n    \"description\": \"Task description\",\n    \"owner_id\": 17673,\n    \"team_id\": null,\n    \"lead_id\": 416824,\n    \"task_list_id\": 16,\n    \"state_id\": 1, // 1 = NOT STARTED, 2 = IN PROGRESS, 3 = COMPLETED, 4 = CANCELED\n    \"priority\": \"high\", // Options: none, low, medium, high\n    \"due_at\": \"2025-06-01T10:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/tasks/:taskId","description":"<h3 id=\"update-task\">Update Task</h3>\n<p>This endpoint allows the user to update a specific task by sending an HTTP PUT request to <code>{{domain}}/v1/tasks/:taskId</code>.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request should include a raw JSON payload with the following parameters:</p>\n<ul>\n<li><p><code>title</code> (string): The updated title of the task.</p>\n</li>\n<li><p><code>owner_id</code> (integer): The ID of the owner of the task.</p>\n</li>\n<li><p><code>team_id</code> (null or integer): The ID of the team associated with the task.</p>\n</li>\n<li><p><code>lead_id</code> (integer): The ID of the lead associated with the task.</p>\n</li>\n<li><p><code>task_list_id</code> (integer): The ID of the task list to which the task belongs.</p>\n</li>\n<li><p><code>state_id</code> (integer, required): The ID representing the state of the task. <code>Options [1 = NOT STARTED, 2 = IN PROGRESS, 3 = COMPLETED, 4 = CANCELED]</code></p>\n</li>\n<li><p><code>priority</code> (string, required): The priority level of the task. Options: <code>[none, low, medium, high]</code></p>\n</li>\n<li><p><code>due_at</code> (string): The updated due date and time for the task.</p>\n</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": 20135,\n    \"type\": \"task\",\n    \"title\": \"[UPDATED] Follow up on client proposal\",\n    \"owner_id\": 1001,\n    \"owner\": {\n        \"id\": 1001,\n        \"name\": \"Amanda Ross\",\n        \"first_name\": \"Amanda\",\n        \"last_name\": \"Ross\",\n        \"admin\": 1,\n        \"email\": \"amanda.ross@example.com\",\n        \"timezone\": \"America/New_York\",\n        \"phone\": null,\n        \"last_login\": null,\n        \"calendar_id\": 2102\n    },\n    \"team_id\": null,\n    \"team\": null,\n    \"lead_id\": 416824,\n    \"lead\": {\n        \"id\": 416824,\n        \"first_name\": \"James\",\n        \"last_name\": \"Smith\",\n        \"email\": \"james.smith@example.com\",\n        \"phone\": \"(555) 555-5555\",\n        \"created_at\": \"2025-05-07T11:19:05.000000Z\",\n        \"updated_at\": \"2025-05-13T10:03:43.000000Z\"\n    },\n    \"task_list_id\": 16,\n    \"task_list\": {\n        \"id\": 16,\n        \"name\": \"Clients follow-up\",\n        \"description\": \"Contains tasks related to clients follow-up\",\n        \"order\": 3,\n        \"is_private\": false,\n        \"created_at\": \"2024-10-31T22:12:45.000000Z\",\n        \"updated_at\": \"2024-11-22T11:40:38.000000Z\"\n    },\n    \"state_id\": 1,\n    \"state\": {\n        \"id\": 1,\n        \"name\": \"Not Started\",\n        \"color\": \"orange\",\n        \"icon\": null,\n        \"created_at\": \"2020-11-14T07:35:29Z\",\n        \"updated_at\": \"2023-12-01T13:31:55Z\"\n    },\n    \"appointment_id\": null,\n    \"priority\": \"none\",\n    \"is_recurring\": false,\n    \"recurrence_rule\": null,\n    \"recurrence_start_date\": null,\n    \"recurrence_summary\": null,\n    \"completed_at\": null,\n    \"due_at\": \"2024-09-24T13:02:00Z\",\n    \"cancelled_at\": null,\n    \"created_at\": \"2024-09-17T13:02:30Z\",\n    \"updated_at\": \"2025-03-05T11:10:05Z\",\n    \"deleted_at\": null\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","tasks",":taskId"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Task ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"taskId"}]}},"response":[{"id":"0d0bd8d3-f441-4ea8-b1ff-879224459515","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"[UPDATED] Follow up on client proposal\",\n    \"owner_id\": 17673,\n    \"team_id\": null,\n    \"lead_id\": 416824,\n    \"task_list_id\": 16,\n    \"state_id\": 1, // 1 = NOT STARTED, 2 = IN PROGRESS, 3 = COMPLETED, 4 = CANCELED\n    \"priority\": \"high\", // Options: none, low, medium, high\n    \"due_at\": \"2025-06-01T10:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/tasks/:taskId","host":["{{domain}}"],"path":["v1","tasks",":taskId"],"variable":[{"key":"taskId","value":"20135","description":"Task ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 12:01:09 GMT"},{"key":"phpdebugbar-id","value":"X4558baaa98f6a8381c5dedb51488bedf"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 20135,\n    \"type\": \"task\",\n    \"title\": \"[UPDATED] Follow up on client proposal\",\n    \"description\": \"Task description\",\n    \"owner_id\": 1001,\n    \"owner\": {\n        \"id\": 1001,\n        \"name\": \"Amanda Ross\",\n        \"first_name\": \"Amanda\",\n        \"last_name\": \"Ross\",\n        \"admin\": 1,\n        \"email\": \"amanda.ross@example.com\",\n        \"timezone\": \"America/New_York\",\n        \"phone\": null,\n        \"last_login\": null,\n        \"calendar_id\": 2102\n    },\n    \"comments\": [],\n    \"team_id\": null,\n    \"team\": null,\n    \"lead_id\": 416824,\n    \"lead\": {\n        \"id\": 416824,\n        \"first_name\": \"James\",\n        \"last_name\": \"Smith\",\n        \"email\": \"james.smith@example.com\",\n        \"phone\": \"(555) 555-5555\",\n        \"created_at\": \"2025-05-07T11:19:05.000000Z\",\n        \"updated_at\": \"2025-05-13T10:03:43.000000Z\"\n    },\n    \"task_list_id\": 101,\n    \"task_list\": {\n        \"id\": 16,\n        \"name\": \"Client Onboarding\",\n\t\t\"description\": \"Tasks related to onboarding new clients.\",\n        \"order\": 3,\n        \"is_private\": false,\n        \"created_at\": \"2024-10-31T22:12:45.000000Z\",\n        \"updated_at\": \"2024-11-22T11:40:38.000000Z\"\n    },\n    \"state_id\": 1,\n    \"state\": {\n        \"id\": 1,\n        \"name\": \"Not Started\",\n        \"color\": \"orange\",\n        \"icon\": null,\n        \"created_at\": \"2020-11-14T07:35:29Z\",\n        \"updated_at\": \"2023-12-01T13:31:55Z\"\n    },\n    \"appointment_id\": null,\n    \"priority\": \"none\",\n    \"is_recurring\": false,\n    \"recurrence_rule\": null,\n    \"recurrence_start_date\": null,\n    \"recurrence_summary\": null,\n    \"completed_at\": null,\n    \"due_at\": \"2024-09-24T13:02:00Z\",\n    \"cancelled_at\": null,\n    \"created_at\": \"2024-09-17T13:02:30Z\",\n    \"updated_at\": \"2025-03-05T11:10:05Z\",\n    \"deleted_at\": null\n}\n"},{"id":"42884b63-971a-4d04-bab8-e4d9ccf20e56","name":"Error","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"[UPDATED] Follow up on client proposal\",\n    \"owner_id\": 17673,\n    \"team_id\": null,\n    \"lead_id\": 416824,\n    \"task_list_id\": 16,\n    \"state_id\": 1, // 1 = NOT STARTED, 2 = IN PROGRESS, 3 = COMPLETED, 4 = CANCELED\n    \"priority\": \"high\", // Options: none, low, medium, high\n    \"due_at\": \"2025-06-01T10:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/tasks/:taskId","host":["{{domain}}"],"path":["v1","tasks",":taskId"],"variable":[{"key":"taskId","value":"","description":"Task ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 12:05:58 GMT"},{"key":"phpdebugbar-id","value":"Xf600fb6644625bb35323b1a23dedb0ee"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Task not found\",\n    \"errors\": [\n        \"The requested task could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"8ae44783-bde3-42e0-bec6-80cff882a0e5"},{"name":"Delete","id":"989e96fe-4dff-4d32-84cc-ff96e06fe74a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/tasks/:taskId","description":"<h3 id=\"delete-task\">Delete Task</h3>\n<p>This endpoint is used to delete a specific task identified by its taskId.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>This request does not require a request body.</p>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Task deleted successfully\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","tasks",":taskId"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Task ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"taskId"}]}},"response":[{"id":"89fd8dcb-7244-4129-9dbc-04d5b44bc588","name":"Success","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/tasks/:taskId","host":["{{domain}}"],"path":["v1","tasks",":taskId"],"variable":[{"key":"taskId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 12:09:09 GMT"},{"key":"phpdebugbar-id","value":"X507ddc327e33be8f29429e67cce6402b"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Task deleted successfully\"\n}"},{"id":"6a55847b-7e3f-40e8-961d-2d24a9169c4b","name":"Error","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{domain}}/v1/tasks/:taskId","host":["{{domain}}"],"path":["v1","tasks",":taskId"],"variable":[{"key":"taskId","value":"","description":"Task ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 12:09:24 GMT"},{"key":"phpdebugbar-id","value":"Xfc15d2705806b3fd345d32ae91308d17"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Task not found\",\n    \"errors\": [\n        \"The requested task could not be found\"\n    ],\n    \"success\": false\n}"}],"_postman_id":"989e96fe-4dff-4d32-84cc-ff96e06fe74a"}],"id":"6be93e8f-f0bc-485a-8e0e-5d0a07a86342","_postman_id":"6be93e8f-f0bc-485a-8e0e-5d0a07a86342","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"Task Lists","item":[{"name":"List","id":"f1c876af-3809-431f-8214-2fb0be06e464","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/v1/task-lists","description":"<h3 id=\"get-v1task-lists\">GET /v1/task-lists</h3>\n<p>This endpoint retrieves a list of task lists.</p>\n<h4 id=\"request\">Request</h4>\n<p>This is a GET request to the endpoint <code>{{domain}}/v1/task-lists</code>.</p>\n<h4 id=\"response\">Response</h4>\n<p>The response is a JSON array containing objects with the following properties:</p>\n<ul>\n<li><p><code>id</code> (number): The unique identifier for the task list.</p>\n</li>\n<li><p><code>name</code> (string): The name of the task list.</p>\n</li>\n<li><p><code>description</code> (string): The description of the task list.</p>\n</li>\n<li><p><code>order</code> (null): The order of the task list.</p>\n</li>\n<li><p><code>is_private</code> (boolean): Indicates if the task list is private.</p>\n</li>\n<li><p><code>created_at</code> (null): The timestamp when the task list was created.</p>\n</li>\n<li><p><code>updated_at</code> (null): The timestamp when the task list was last updated.</p>\n</li>\n</ul>\n<h4 id=\"example-response\">Example response:</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id\": 101,\n        \"name\": \"Client Onboarding\",\n        \"description\": \"Tasks related to onboarding new clients.\",\n        \"order\": null,\n        \"is_private\": false,\n        \"created_at\": null,\n        \"updated_at\": null\n    },\n    {\n        \"id\": 102,\n        \"name\": \"Follow-up Tasks\",\n        \"description\": \"&lt;p&gt;Tasks to follow up with leads after initial contact.&lt;/p&gt;\",\n        \"order\": null,\n        \"is_private\": false,\n        \"created_at\": null,\n        \"updated_at\": null\n    },\n    {\n        \"id\": 103,\n        \"name\": \"Marketing Pipeline\",\n        \"description\": \"\",\n        \"order\": null,\n        \"is_private\": false,\n        \"created_at\": null,\n        \"updated_at\": null\n    },\n    {\n        \"id\": 104,\n        \"name\": \"Internal Workflow\",\n        \"description\": \"\",\n        \"order\": null,\n        \"is_private\": false,\n        \"created_at\": null,\n        \"updated_at\": null\n    }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}},"urlObject":{"path":["v1","task-lists"],"host":["{{domain}}"],"query":[{"disabled":true,"key":"per_page","value":"10"}],"variable":[]}},"response":[{"id":"4676dbfd-dbcf-4304-ad1b-8ae242ce8522","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{domain}}/v1/task-lists"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.27.5"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.31"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 May 2025 12:11:12 GMT"},{"key":"phpdebugbar-id","value":"X411c0a71712c5f35ffc6d982786ad335"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n\t{\n\t\t\"id\": 101,\n\t\t\"name\": \"Client Onboarding\",\n\t\t\"description\": \"Tasks related to onboarding new clients.\",\n\t\t\"order\": null,\n\t\t\"is_private\": false,\n\t\t\"created_at\": \"2024-11-22T11:06:11.000000Z\",\n        \"updated_at\": \"2025-05-13T12:55:21.000000Z\"\n\t},\n\t{\n\t\t\"id\": 102,\n\t\t\"name\": \"Follow-up Tasks\",\n\t\t\"description\": \"<p>Tasks to follow up with leads after initial contact.</p>\",\n\t\t\"order\": null,\n\t\t\"is_private\": false,\n\t\t\"created_at\": \"2024-11-22T11:06:11.000000Z\",\n        \"updated_at\": \"2025-05-13T12:55:21.000000Z\"\n\t},\n\t{\n\t\t\"id\": 103,\n\t\t\"name\": \"Marketing Pipeline\",\n\t\t\"description\": \"\",\n\t\t\"order\": null,\n\t\t\"is_private\": false,\n\t\t\"created_at\": \"2024-11-22T11:06:11.000000Z\",\n        \"updated_at\": \"2025-05-13T12:55:21.000000Z\"\n\t},\n\t{\n\t\t\"id\": 104,\n\t\t\"name\": \"Internal Workflow\",\n\t\t\"description\": \"\",\n\t\t\"order\": null,\n\t\t\"is_private\": false,\n\t\t\"created_at\": \"2024-11-22T11:06:11.000000Z\",\n        \"updated_at\": \"2025-05-13T12:55:21.000000Z\"\n\t}\n]"}],"_postman_id":"f1c876af-3809-431f-8214-2fb0be06e464"}],"id":"e7297dc4-9731-40fa-ad14-563d5fa3e82b","_postman_id":"e7297dc4-9731-40fa-ad14-563d5fa3e82b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}},{"name":"Dashboard","item":[{"name":"Index","id":"ef2f02d7-ce41-4fdd-b8e2-8411ea125477","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"user_id\": 1,\n    \"appointment_id\": 6058,\n    \"title\": \"Hello There\",\n    \"body\": \"Hello there mr 1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/v1/notifications/notify","urlObject":{"path":["v1","notifications","notify"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef2f02d7-ce41-4fdd-b8e2-8411ea125477"}],"id":"6b177b77-a20e-4d80-aca4-11db13e16f98","_postman_id":"6b177b77-a20e-4d80-aca4-11db13e16f98","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"40e76ef0-46a5-4edd-aede-229b92d0770d","id":"40e76ef0-46a5-4edd-aede-229b92d0770d","name":"Leadcenter API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]}},"event":[{"listen":"prerequest","script":{"id":"af2ee7e3-3919-453b-b310-788854b52084","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"4d8dfaef-7aa5-44a1-bf6c-e4871fa94155","type":"text/javascript","packages":{},"exec":[""]}}]}