{"info":{"_postman_id":"9108736e-b46f-4520-be1d-c98c645a6db1","name":"SalesGadget API v1.1.10","description":"<html><head></head><body><p>Welcome to SalesGadget Api docs. Below are list available apis.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"15048495","collectionId":"9108736e-b46f-4520-be1d-c98c645a6db1","publishedId":"Tz5wVu2g","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"5808be"},"publishDate":"2021-03-21T11:13:54.000Z"},"item":[{"name":"Calendar","item":[{"name":"Calendar/Team","item":[{"name":"/v1/calendars/teams","id":"67694e15-2067-433f-909f-0f64924a4e5b","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/calendars/teams","description":"<h4>Get all teams. <h4><strong>Authorization:</strong> <p>Provide your location api key (Bearer Token).</p></h4></h4>","urlObject":{"path":["v1","calendars","teams"],"host":["https://api.salesgadget.io"],"query":[],"variable":[]}},"response":[{"id":"1530f9d3-d4f4-47ac-87c4-56cdd8fcbffa","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/calendars/teams"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"teams\": [\n  {\n   \"id\": \"OW59k4IchTgKjIDy3VMO\",\n   \"name\": \"Test Team\",\n   \"members\": [\n    {\n     \"id\": \"mnUXmpG2MhhHKmjegzBZ\",\n     \"name\": \"Elon Musk\",\n     \"email\": \"elon@musk.com\"\n    },\n    {\n     \"id\": \"mnUXmpG2MhhHKmjegzBZ\",\n     \"name\": \"Elon Musk\",\n     \"email\": \"elon@musk.com\"\n    }\n   ],\n   \"calendarConfig\": {\n    \"calendarName\": \"Test Calendar\",\n    \"description\": \"Desc.\",\n    \"slug\": \"slug\",\n    \"link\": \"/widget/appointment/slug\",\n    \"shouldAssignContactToTeamMember\": false,\n    \"shouldSkipAssigningContactForExisting\": false\n   }\n  },\n  {\n   \"id\": \"OW59k4IchTgKjIDy3VMO\",\n   \"name\": \"Test Team\",\n   \"members\": [\n    {\n     \"id\": \"mnUXmpG2MhhHKmjegzBZ\",\n     \"name\": \"Elon Musk\",\n     \"email\": \"elon@musk.com\"\n    },\n    {\n     \"id\": \"mnUXmpG2MhhHKmjegzBZ\",\n     \"name\": \"Elon Musk\",\n     \"email\": \"elon@musk.com\"\n    }\n   ],\n   \"calendarConfig\": {\n    \"calendarName\": \"Test Calendar\",\n    \"description\": \"Desc.\",\n    \"slug\": \"slug\",\n    \"link\": \"/widget/appointment/slug\",\n    \"shouldAssignContactToTeamMember\": false,\n    \"shouldSkipAssigningContactForExisting\": false\n   }\n  }\n ]\n}"},{"id":"2e2e2377-82d8-4e80-a660-35df9ea2c25f","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/calendars/teams"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"caaa3653-0c7c-4b0c-8b82-6f7482197e19","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/calendars/teams"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"}],"_postman_id":"67694e15-2067-433f-909f-0f64924a4e5b"},{"name":"/v1/calendars/check-slug-availability/:slug","id":"1021b92e-9b61-4e9c-b4e1-9bc460da3379","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/calendars/check-slug-availability/:slug","description":"<h4>Check Calendar (Provider) slug availability.</h4><strong>Authorization:</strong> <p>Provide your location api key (Bearer Token).</p>","urlObject":{"path":["v1","calendars","check-slug-availability",":slug"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"2e1c5531-27ef-4cf5-99b4-2662c9384e1c","description":{"content":"<p>(Required) Slug</p>\n","type":"text/plain"},"type":"any","value":"xyz","key":"slug"}]}},"response":[{"id":"00675aac-a189-4fca-abf2-68c47c78a359","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/calendars/check-slug-availability/:slug","host":["https://api.salesgadget.io"],"path":["v1","calendars","check-slug-availability",":slug"],"variable":[{"key":"slug"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"slug\": \"sales-services\",\n \"isSlugAvailable\": true\n}"},{"id":"30fc7cd6-2c8b-49a5-88d6-fc49c93cfdf7","name":"Unprocessable Entity","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/calendars/check-slug-availability/:slug","host":["https://api.salesgadget.io"],"path":["v1","calendars","check-slug-availability",":slug"],"variable":[{"key":"slug"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"email or phone\": {\n  \"message\": \"The email or phone field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"},{"id":"9e998f89-5304-4e52-ba7a-3a3c98cc255d","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/calendars/check-slug-availability/:slug","host":["https://api.salesgadget.io"],"path":["v1","calendars","check-slug-availability",":slug"],"variable":[{"key":"slug"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"b95ba8f1-9708-4c1a-9512-742763901012","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/calendars/check-slug-availability/:slug","host":["https://api.salesgadget.io"],"path":["v1","calendars","check-slug-availability",":slug"],"variable":[{"key":"slug"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"}],"_postman_id":"1021b92e-9b61-4e9c-b4e1-9bc460da3379"},{"name":"/v1/calendars/teams/","id":"07aff780-8785-419a-8290-412181055b45","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Sales Team\",\n    \"userIds\": [\n        \"aliqua\",\n        \"et do Excepteur pariatur\"\n    ],\n    \"calendarConfig\": {\n        \"calendarName\": \"Sales Team Calendar\",\n        \"description\": \"Sales Team Calendar Services\",\n        \"slug\": \"sales-team\",\n        \"shouldAssignContactToTeamMember\": false,\n        \"shouldSkipAssigningContactForExisting\": false\n    }\n}"},"url":"https://api.salesgadget.io/v1/calendars/teams/","description":"<h4>Create a team.</h4> <p>Required JSON fields in the body</p><table><thead><th>Fields</th><th>Types</th><th>Example</th></thead><tbody><tr><td>name</td><td>string</td><td>Test Team</td></tr><tr><td>userIds</td><td>array</td><td><code>[\"J37gEVtdFMRYVQWPdXIc\"]</code></td></tr><tr><td>calendarConfig</td><td>object</td><td><code>{\"calendarName\": \"test\", \"description\": \"dfsadfsd\", \"slug\": \"tesfdsafdsa\", \"link\": \"/widget/appointment/tesfdsafdsa\", \"shouldAssignContactToTeamMember\": false, \"shouldSkipAssigningContactForExisting\": false}</code></td></tr></tbody></table><p>Required JSON fields in the <code>calendarConfig</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th></thead><tbody><tr><td>calendarName</td><td>string</td><td>First Calendar</td></tr><tr><td>description</td><td>string</td><td>Some description</td></tr><tr><td>slug</td><td>string</td><td>first-calendar</td></tr></tbody></table><p>Allowed JSON fields in the <code>calendarConfig</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th></thead><tbody><tr><td>shouldAssignContactToTeamMember</td><td>boolean</td><td><code>false</code></td></tr><tr><td>shouldSkipAssigningContactForExisting</td><td>boolean</td><td><code>false</code></td></tr></tbody></table><br /><strong>Authorization:</strong> <p>Provide your location api key (Bearer Token).</p>","urlObject":{"path":["v1","calendars","teams",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[]}},"response":[{"id":"4eda9391-479f-4735-8840-5829f736f44d","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Sales Team\",\n    \"userIds\": [\n        \"aut\",\n        \"ea dolore consequat\"\n    ],\n    \"calendarConfig\": {\n        \"calendarName\": \"Sales Team Calendar\",\n        \"description\": \"Sales Team Calendar Services\",\n        \"slug\": \"sales-team\",\n        \"shouldAssignContactToTeamMember\": false,\n        \"shouldSkipAssigningContactForExisting\": false\n    }\n}"},"url":"https://api.salesgadget.io/v1/calendars/teams/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"OW59k4IchTgKjIDy3VMO\",\n \"name\": \"Test Team\",\n \"members\": [\n  {\n   \"id\": \"mnUXmpG2MhhHKmjegzBZ\",\n   \"name\": \"Elon Musk\",\n   \"email\": \"elon@musk.com\"\n  },\n  {\n   \"id\": \"mnUXmpG2MhhHKmjegzBZ\",\n   \"name\": \"Elon Musk\",\n   \"email\": \"elon@musk.com\"\n  }\n ],\n \"calendarConfig\": {\n  \"calendarName\": \"Test Calendar\",\n  \"description\": \"Desc.\",\n  \"slug\": \"slug\",\n  \"link\": \"/widget/appointment/slug\",\n  \"shouldAssignContactToTeamMember\": false,\n  \"shouldSkipAssigningContactForExisting\": false\n }\n}"},{"id":"6a7f395e-4beb-49c9-a043-cd422835cce3","name":"Unprocessable Entity","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Sales Team\",\n    \"userIds\": [\n        \"aut\",\n        \"ea dolore consequat\"\n    ],\n    \"calendarConfig\": {\n        \"calendarName\": \"Sales Team Calendar\",\n        \"description\": \"Sales Team Calendar Services\",\n        \"slug\": \"sales-team\",\n        \"shouldAssignContactToTeamMember\": false,\n        \"shouldSkipAssigningContactForExisting\": false\n    }\n}"},"url":"https://api.salesgadget.io/v1/calendars/teams/"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"name\": {\n  \"message\": \"The name field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"userIds\": {\n  \"message\": \"The user ids field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"calendarConfig.calendarName\": {\n  \"message\": \"The calendarConfig.calendarName field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"calendarConfig.description\": {\n  \"message\": \"The calendarConfig.description field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"calendarConfig.slug\": {\n  \"message\": \"The calendarConfig.slug field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"},{"id":"cedf054c-a3c2-479e-b80f-7176d6b629ca","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Sales Team\",\n    \"userIds\": [\n        \"aut\",\n        \"ea dolore consequat\"\n    ],\n    \"calendarConfig\": {\n        \"calendarName\": \"Sales Team Calendar\",\n        \"description\": \"Sales Team Calendar Services\",\n        \"slug\": \"sales-team\",\n        \"shouldAssignContactToTeamMember\": false,\n        \"shouldSkipAssigningContactForExisting\": false\n    }\n}"},"url":"https://api.salesgadget.io/v1/calendars/teams/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"e6231f7a-bbaf-4768-8071-1e7be0f7c6dd","name":"Bad Request. please contact support!","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Sales Team\",\n    \"userIds\": [\n        \"aut\",\n        \"ea dolore consequat\"\n    ],\n    \"calendarConfig\": {\n        \"calendarName\": \"Sales Team Calendar\",\n        \"description\": \"Sales Team Calendar Services\",\n        \"slug\": \"sales-team\",\n        \"shouldAssignContactToTeamMember\": false,\n        \"shouldSkipAssigningContactForExisting\": false\n    }\n}"},"url":"https://api.salesgadget.io/v1/calendars/teams/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"}],"_postman_id":"07aff780-8785-419a-8290-412181055b45"},{"name":"/v1/calendars/teams/:teamId","id":"e2e8cd10-9b79-4449-8ffe-710dc7476034","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Sales Team\",\n    \"userIds\": [\n        \"aut\",\n        \"ea dolore consequat\"\n    ],\n    \"calendarConfig\": {\n        \"calendarName\": \"Sales Team Calendar\",\n        \"description\": \"Sales Team Calendar Services\",\n        \"slug\": \"sales-team\",\n        \"shouldAssignContactToTeamMember\": false,\n        \"shouldSkipAssigningContactForExisting\": false\n    }\n}"},"url":"https://api.salesgadget.io/v1/calendars/teams/:teamId","description":"<h4>Updating existing team.</h4> <p>Required JSON fields in the body</p><table><thead><th>Fields</th><th>Types</th><th>Example</th></thead><tbody><tr><td>name</td><td>string</td><td>Test Team</td></tr><tr><td>userIds</td><td>array</td><td><code>[\"J37gEVtdFMRYVQWPdXIc\"]</code></td></tr><tr><td>calendarConfig</td><td>object</td><td><code>{\"calendarName\": \"test\", \"description\": \"dfsadfsd\", \"slug\": \"tesfdsafdsa\", \"link\": \"/widget/appointment/tesfdsafdsa\", \"shouldAssignContactToTeamMember\": false, \"shouldSkipAssigningContactForExisting\": false}</code></td></tr></tbody></table><p>Required JSON fields in the <code>calendarConfig</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th></thead><tbody><tr><td>calendarName</td><td>string</td><td>First Calendar</td></tr><tr><td>description</td><td>string</td><td>Some description</td></tr><tr><td>slug</td><td>string</td><td>first-calendar</td></tr></tbody></table><p>Allowed JSON fields in the <code>calendarConfig</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th></thead><tbody><tr><td>shouldAssignContactToTeamMember</td><td>boolean</td><td><code>false</code></td></tr><tr><td>shouldSkipAssigningContactForExisting</td><td>boolean</td><td><code>false</code></td></tr></tbody></table><br /><strong>Authorization:</strong>","urlObject":{"path":["v1","calendars","teams",":teamId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"7fbc5711-b509-4f2e-adc1-2c1349dd9368","description":{"content":"<p>(Required) Team Id</p>\n","type":"text/plain"},"type":"any","value":"0nU7uKSrtT2RVM1KknuF","key":"teamId"}]}},"response":[{"id":"052fe929-b779-41a9-855d-6629ac68b68a","name":"Successful response","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Sales Team\",\n    \"userIds\": [\n        \"aut\",\n        \"ea dolore consequat\"\n    ],\n    \"calendarConfig\": {\n        \"calendarName\": \"Sales Team Calendar\",\n        \"description\": \"Sales Team Calendar Services\",\n        \"slug\": \"sales-team\",\n        \"shouldAssignContactToTeamMember\": false,\n        \"shouldSkipAssigningContactForExisting\": false\n    }\n}"},"url":{"raw":"https://api.salesgadget.io/v1/calendars/teams/:teamId","host":["https://api.salesgadget.io"],"path":["v1","calendars","teams",":teamId"],"variable":[{"key":"teamId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"OW59k4IchTgKjIDy3VMO\",\n \"name\": \"Test Team\",\n \"members\": [\n  {\n   \"id\": \"mnUXmpG2MhhHKmjegzBZ\",\n   \"name\": \"Elon Musk\",\n   \"email\": \"elon@musk.com\"\n  },\n  {\n   \"id\": \"mnUXmpG2MhhHKmjegzBZ\",\n   \"name\": \"Elon Musk\",\n   \"email\": \"elon@musk.com\"\n  }\n ],\n \"calendarConfig\": {\n  \"calendarName\": \"Test Calendar\",\n  \"description\": \"Desc.\",\n  \"slug\": \"slug\",\n  \"link\": \"/widget/appointment/slug\",\n  \"shouldAssignContactToTeamMember\": false,\n  \"shouldSkipAssigningContactForExisting\": false\n }\n}"},{"id":"41209f1e-4535-4083-8e33-4242e978099c","name":"Bad Request. please contact support!","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Sales Team\",\n    \"userIds\": [\n        \"aut\",\n        \"ea dolore consequat\"\n    ],\n    \"calendarConfig\": {\n        \"calendarName\": \"Sales Team Calendar\",\n        \"description\": \"Sales Team Calendar Services\",\n        \"slug\": \"sales-team\",\n        \"shouldAssignContactToTeamMember\": false,\n        \"shouldSkipAssigningContactForExisting\": false\n    }\n}"},"url":{"raw":"https://api.salesgadget.io/v1/calendars/teams/:teamId","host":["https://api.salesgadget.io"],"path":["v1","calendars","teams",":teamId"],"variable":[{"key":"teamId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"d6b49a17-701c-47d2-90f8-60f526d2d0b6","name":"Unauthorized","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Sales Team\",\n    \"userIds\": [\n        \"aut\",\n        \"ea dolore consequat\"\n    ],\n    \"calendarConfig\": {\n        \"calendarName\": \"Sales Team Calendar\",\n        \"description\": \"Sales Team Calendar Services\",\n        \"slug\": \"sales-team\",\n        \"shouldAssignContactToTeamMember\": false,\n        \"shouldSkipAssigningContactForExisting\": false\n    }\n}"},"url":{"raw":"https://api.salesgadget.io/v1/calendars/teams/:teamId","host":["https://api.salesgadget.io"],"path":["v1","calendars","teams",":teamId"],"variable":[{"key":"teamId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"d790e200-f505-461d-b89e-9ac06a7f31e2","name":"Unprocessable Entity","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Sales Team\",\n    \"userIds\": [\n        \"aut\",\n        \"ea dolore consequat\"\n    ],\n    \"calendarConfig\": {\n        \"calendarName\": \"Sales Team Calendar\",\n        \"description\": \"Sales Team Calendar Services\",\n        \"slug\": \"sales-team\",\n        \"shouldAssignContactToTeamMember\": false,\n        \"shouldSkipAssigningContactForExisting\": false\n    }\n}"},"url":{"raw":"https://api.salesgadget.io/v1/calendars/teams/:teamId","host":["https://api.salesgadget.io"],"path":["v1","calendars","teams",":teamId"],"variable":[{"key":"teamId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"name\": {\n  \"message\": \"The name field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"userIds\": {\n  \"message\": \"The user ids field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"calendarConfig.calendarName\": {\n  \"message\": \"The calendarConfig.calendarName field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"calendarConfig.description\": {\n  \"message\": \"The calendarConfig.description field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"calendarConfig.slug\": {\n  \"message\": \"The calendarConfig.slug field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"}],"_postman_id":"e2e8cd10-9b79-4449-8ffe-710dc7476034"},{"name":"/v1/calendars/teams/:teamId","id":"c38c291e-032f-4559-a503-02688da860aa","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://api.salesgadget.io/v1/calendars/teams/:teamId","description":"<h4>Delete Team. </h4><strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","calendars","teams",":teamId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"44ee4204-1c51-43cb-8c11-4441abadcc8b","description":{"content":"<p>(Required) Team Id</p>\n","type":"text/plain"},"type":"any","value":"0nU7uKSrtT2RVM1KknuF","key":"teamId"}]}},"response":[{"id":"10dde81d-4747-4ba4-b52a-38f45d38e8a8","name":"Successful response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/calendars/teams/:teamId","host":["https://api.salesgadget.io"],"path":["v1","calendars","teams",":teamId"],"variable":[{"key":"teamId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"5466f885-fcd8-4de1-b16d-85564f9f9af7","name":"Bad Request. please contact support!","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/calendars/teams/:teamId","host":["https://api.salesgadget.io"],"path":["v1","calendars","teams",":teamId"],"variable":[{"key":"teamId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"f67e3865-faeb-479c-8de2-887bf32c0be1","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/calendars/teams/:teamId","host":["https://api.salesgadget.io"],"path":["v1","calendars","teams",":teamId"],"variable":[{"key":"teamId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"}],"_postman_id":"c38c291e-032f-4559-a503-02688da860aa"}],"id":"b73c4fe3-593e-4b51-828e-4ab07ffe63e2","description":"<p>Fetch calendar and team</p>\n","_postman_id":"b73c4fe3-593e-4b51-828e-4ab07ffe63e2"},{"name":"Calendar/Service","item":[{"name":"/v1/calendars/services","id":"988c1ee0-208c-4764-adda-09bc94720aab","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/calendars/services?teamId=ABXdTR0kegkPcTvtdr1L","description":"<h4>Get all calendar services.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","calendars","services"],"host":["https://api.salesgadget.io"],"query":[{"description":{"content":"<p>Filter service by team id.</p>\n","type":"text/plain"},"key":"teamId","value":"ABXdTR0kegkPcTvtdr1L"}],"variable":[]}},"response":[{"id":"3b9118f9-7a79-412a-8c4d-d7aebe4c1516","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/calendars/services?teamId=ABXdTR0kegkPcTvtdr1L","host":["https://api.salesgadget.io"],"path":["v1","calendars","services"],"query":[{"key":"teamId","value":"ABXdTR0kegkPcTvtdr1L"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"services\": [\n  {\n   \"id\": \"OW59k4IchTgKjIDy3VMO\",\n   \"name\": \"Test Service\",\n   \"description\": \"Test Service Desc.\",\n   \"appointmentTitle\": \"{{contact.name}}\",\n   \"meetingLocation\": \"location\",\n   \"eventColor\": \"#FF0000\",\n   \"teamId\": \"#FF0000\",\n   \"linkedCalendars\": {\n    \"google\": {\n     \"id\": \"exercitation eu dolore Lorem\",\n     \"name\": \"sint occaecat officia\"\n    },\n    \"clio\": {\n     \"id\": \"proident ullamco\",\n     \"name\": \"ipsum\"\n    },\n    \"drchrono\": {\n     \"id\": \"eiusmod tempor\",\n     \"name\": \"pariatur ullamco do cillum\"\n    }\n   },\n   \"syncOption\": \"oneway\",\n   \"teamMembers\": [\n    {\n     \"userId\": \"\",\n     \"priority\": 0,\n     \"selected\": false,\n     \"meetingLocation\": \"https://zoom.us\"\n    },\n    {\n     \"userId\": \"\",\n     \"priority\": 0,\n     \"selected\": false,\n     \"meetingLocation\": \"https://zoom.us\"\n    }\n   ],\n   \"availability\": {\n    \"eventTiming\": {\n     \"slotDuration\": 30,\n     \"slotInterval\": 30,\n     \"slotBuffer\": 0\n    },\n    \"appointmentInfo\": {\n     \"perSlot\": 1,\n     \"perDay\": 8\n    },\n    \"schedule\": {\n     \"allowBookingAfter\": 1,\n     \"allowBookingAfterUnit\": \"Hours\",\n     \"allowBookingFor\": 8,\n     \"allowBookingForUnit\": \"Hours\"\n    },\n    \"officeHours\": {\n     \"monday\": [\n      {\n       \"openMinute\": 0,\n       \"closeMinute\": 0,\n       \"closeHour\": 17,\n       \"openHour\": 8\n      },\n      {\n       \"openMinute\": 0,\n       \"closeMinute\": 0,\n       \"closeHour\": 17,\n       \"openHour\": 8\n      }\n     ],\n     \"tuesday\": [\n      {\n       \"openMinute\": 0,\n       \"closeMinute\": 0,\n       \"closeHour\": 17,\n       \"openHour\": 8\n      },\n      {\n       \"openMinute\": 0,\n       \"closeMinute\": 0,\n       \"closeHour\": 17,\n       \"openHour\": 8\n      }\n     ],\n     \"wednesday\": [\n      {\n       \"openMinute\": 0,\n       \"closeMinute\": 0,\n       \"closeHour\": 17,\n       \"openHour\": 8\n      },\n      {\n       \"openMinute\": 0,\n       \"closeMinute\": 0,\n       \"closeHour\": 17,\n       \"openHour\": 8\n      }\n     ],\n     \"thursday\": [\n      {\n       \"openMinute\": 0,\n       \"closeMinute\": 0,\n       \"closeHour\": 17,\n       \"openHour\": 8\n      },\n      {\n       \"openMinute\": 0,\n       \"closeMinute\": 0,\n       \"closeHour\": 17,\n       \"openHour\": 8\n      }\n     ],\n     \"friday\": [\n      {\n       \"openMinute\": 0,\n       \"closeMinute\": 0,\n       \"closeHour\": 17,\n       \"openHour\": 8\n      },\n      {\n       \"openMinute\": 0,\n       \"closeMinute\": 0,\n       \"closeHour\": 17,\n       \"openHour\": 8\n      }\n     ]\n    }\n   },\n   \"confirmation\": {\n    \"form\": {\n     \"customFormId\": \"jjusM6EOngDExnbo2DbU\",\n     \"stickyContact\": false\n    },\n    \"notificationAndOther\": {\n     \"alertEmail\": \"culpa do incididunt\",\n     \"hasAutoConfirm\": false,\n     \"hasGoogleSendInvitationEmail\": false,\n     \"hasAllowReschedule\": false,\n     \"hasAllowCancellation\": false,\n     \"hasSendEmailToAssignedMember\": false,\n     \"notes\": \"\",\n     \"facebookPixelId\": \"\",\n     \"customCode\": \"\"\n    },\n    \"formSubmission\": {\n     \"type\": \"ThankYouMessage\",\n     \"content\": \"\"\n    }\n   }\n  },\n  {\n   \"id\": \"OW59k4IchTgKjIDy3VMO\",\n   \"name\": \"Test Service\",\n   \"description\": \"Test Service Desc.\",\n   \"appointmentTitle\": \"{{contact.name}}\",\n   \"meetingLocation\": \"location\",\n   \"eventColor\": \"#FF0000\",\n   \"teamId\": \"#FF0000\",\n   \"linkedCalendars\": {\n    \"google\": {\n     \"id\": \"Ut amet tempor sunt\",\n     \"name\": \"labore deserunt veniam\"\n    },\n    \"clio\": {\n     \"id\": \"ullamco amet magna ex\",\n     \"name\": \"veniam sint\"\n    },\n    \"drchrono\": {\n     \"id\": \"voluptate pariatur culpa\",\n     \"name\": \"tempor\"\n    }\n   },\n   \"syncOption\": \"oneway\",\n   \"teamMembers\": [\n    {\n     \"userId\": \"\",\n     \"priority\": 0,\n     \"selected\": false,\n     \"meetingLocation\": \"https://zoom.us\"\n    },\n    {\n     \"userId\": \"\",\n     \"priority\": 0,\n     \"selected\": false,\n     \"meetingLocation\": \"https://zoom.us\"\n    }\n   ],\n   \"availability\": {\n    \"eventTiming\": {\n     \"slotDuration\": 30,\n     \"slotInterval\": 30,\n     \"slotBuffer\": 0\n    },\n    \"appointmentInfo\": {\n     \"perSlot\": 1,\n     \"perDay\": 8\n    },\n    \"schedule\": {\n     \"allowBookingAfter\": 1,\n     \"allowBookingAfterUnit\": \"Hours\",\n     \"allowBookingFor\": 8,\n     \"allowBookingForUnit\": \"Hours\"\n    },\n    \"officeHours\": {\n     \"monday\": [\n      {\n       \"openMinute\": 0,\n       \"closeMinute\": 0,\n       \"closeHour\": 17,\n       \"openHour\": 8\n      },\n      {\n       \"openMinute\": 0,\n       \"closeMinute\": 0,\n       \"closeHour\": 17,\n       \"openHour\": 8\n      }\n     ],\n     \"tuesday\": [\n      {\n       \"openMinute\": 0,\n       \"closeMinute\": 0,\n       \"closeHour\": 17,\n       \"openHour\": 8\n      },\n      {\n       \"openMinute\": 0,\n       \"closeMinute\": 0,\n       \"closeHour\": 17,\n       \"openHour\": 8\n      }\n     ],\n     \"wednesday\": [\n      {\n       \"openMinute\": 0,\n       \"closeMinute\": 0,\n       \"closeHour\": 17,\n       \"openHour\": 8\n      },\n      {\n       \"openMinute\": 0,\n       \"closeMinute\": 0,\n       \"closeHour\": 17,\n       \"openHour\": 8\n      }\n     ],\n     \"thursday\": [\n      {\n       \"openMinute\": 0,\n       \"closeMinute\": 0,\n       \"closeHour\": 17,\n       \"openHour\": 8\n      },\n      {\n       \"openMinute\": 0,\n       \"closeMinute\": 0,\n       \"closeHour\": 17,\n       \"openHour\": 8\n      }\n     ],\n     \"friday\": [\n      {\n       \"openMinute\": 0,\n       \"closeMinute\": 0,\n       \"closeHour\": 17,\n       \"openHour\": 8\n      },\n      {\n       \"openMinute\": 0,\n       \"closeMinute\": 0,\n       \"closeHour\": 17,\n       \"openHour\": 8\n      }\n     ]\n    }\n   },\n   \"confirmation\": {\n    \"form\": {\n     \"customFormId\": \"jjusM6EOngDExnbo2DbU\",\n     \"stickyContact\": false\n    },\n    \"notificationAndOther\": {\n     \"alertEmail\": \"eu Lorem proident\",\n     \"hasAutoConfirm\": false,\n     \"hasGoogleSendInvitationEmail\": false,\n     \"hasAllowReschedule\": false,\n     \"hasAllowCancellation\": false,\n     \"hasSendEmailToAssignedMember\": false,\n     \"notes\": \"\",\n     \"facebookPixelId\": \"\",\n     \"customCode\": \"\"\n    },\n    \"formSubmission\": {\n     \"type\": \"ThankYouMessage\",\n     \"content\": \"\"\n    }\n   }\n  }\n ]\n}"},{"id":"46aff5d7-6d6e-42e4-8035-a9abd62eec70","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/calendars/services?teamId=ABXdTR0kegkPcTvtdr1L","host":["https://api.salesgadget.io"],"path":["v1","calendars","services"],"query":[{"key":"teamId","value":"ABXdTR0kegkPcTvtdr1L"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"865e6f07-2437-4552-a6c2-3448e26898d6","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/calendars/services?teamId=ABXdTR0kegkPcTvtdr1L","host":["https://api.salesgadget.io"],"path":["v1","calendars","services"],"query":[{"key":"teamId","value":"ABXdTR0kegkPcTvtdr1L"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"}],"_postman_id":"988c1ee0-208c-4764-adda-09bc94720aab"},{"name":"/v1/calendars/services/","id":"20054180-a69f-4a28-b9b4-1973643c5261","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"teamId\": \"0RXEzw5UVe5oLFm6GQls\",\n    \"eventType\": \"RoundRobin_OptimizeForAvailability\",\n    \"teamMembers\": [\n        {\n            \"selected\": true,\n            \"userId\": \"0nU7uKSrtT2RVM1KknuF\",\n            \"priority\": \"Low\",\n            \"meetingLocation\": \"PhoneNumber/ZoomLink/GoogleMeet/Location\"\n        },\n        {\n            \"selected\": true,\n            \"userId\": \"0nU7uKSrtT2RVM1KknuF\",\n            \"priority\": \"Low\",\n            \"meetingLocation\": \"PhoneNumber/ZoomLink/GoogleMeet/Location\"\n        }\n    ],\n    \"name\": \"30 Mins Call\",\n    \"description\": \"30 Minutes Call\",\n    \"slug\": \"30-mins-call\",\n    \"eventColor\": \"Peacock\",\n    \"availability\": {\n        \"eventTiming\": {\n            \"slotDuration\": 30,\n            \"slotInterval\": 30,\n            \"slotBuffer\": 0\n        },\n        \"appointmentInfo\": {\n            \"perSlot\": 0,\n            \"perDay\": 0\n        },\n        \"schedule\": {\n            \"allowBookingAfter\": 0,\n            \"allowBookingAfterUnit\": \"days\",\n            \"allowBookingFor\": 0,\n            \"allowBookingForUnit\": \"days\"\n        },\n        \"officeHours\": {\n            \"sunday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"monday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"tuesday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"wednesday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"thursday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"friday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"saturday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ]\n        }\n    },\n    \"confirmation\": {\n        \"form\": {\n            \"customFormId\": \"\",\n            \"stickyContact\": false,\n            \"stripe\": {\n                \"amount\": 0,\n                \"currency\": \"USD\",\n                \"chargeDescription\": \"Your will be billed X amount for this appointment\"\n            }\n        },\n        \"notificationAndOther\": {\n            \"autoConfirm\": true,\n            \"shouldSendAlertEmailsToAssignedMember\": true,\n            \"googleInvitationEmails\": false,\n            \"allowReschedule\": true,\n            \"allowCancellation\": true,\n            \"notes\": \"Phone:- {{contact.phone}} Email:- {{contact.email}} Need to make a change to this event? Reschedule:- {{reschedule_link}} Cancel:- {{cancellation_link}}\",\n            \"facebookPixelId\": \"\"\n        },\n        \"formSubmission\": {\n            \"type\": \"ThankYouMessage\",\n            \"content\": \"https://www.bing.com or Thank you for your appointment request. We will contact you shortly to confirm your request. Please call our office at {{contactMethod}} if you have any questions.\"\n        }\n    },\n    \"appointmentTitle\": \"{{contact.name}}\"\n}"},"url":"https://api.salesgadget.io/v1/calendars/services/","description":"<h4>Create a service</h4> <p>Required JSON fields in the body</p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>Allowed Option?</th></thead><tbody><tr><td>teamId</td><td>string</td><td>O4qa8K1M6xA4oPXu1b8O</td><td></td></tr><tr><td>name</td><td>string</td><td>Awsome Service</td><td></td></tr><tr><td>description</td><td>string</td><td>Awsome description</td><td></td></tr><tr><td>eventType</td><td>string</td><td>RoundRobin_OptimizeForAvailability</td><td><ul><li>RoundRobin_OptimizeForAvailability</li><li>RoundRobin_OptimizeForEqualDistribution</li></ul></td></tr><tr><td>teamMembers</td><td>obbject</td><td>See field info on the <code>teamMembers</code> table</td><td></td></tr><tr><td>slug</td><td>string</td><td>awsome-service</td><td></td></tr><tr><td>appointmentTitle</td><td>string</td><td><code>{{contact.name}}</code></td><td></td></tr><tr><td>eventColor</td><td>string</td><td>Tomato</td><td><ul><li>Banana</li><li>Basil</li><li>Blueberry</li><li>Flamingo</li><li>Grape</li><li>Graphite</li><li>Lavender</li><li>Peacock</li><li>Sage</li><li>Tangerine</li><li>Tomato</li></ul></td></tr><tr><td>availability</td><td>object</td><td>See field info on <code>availability</code> table.</td><td></td></tr><tr><td>confirmation</td><td>object</td><td>See field info on <code>confirmation</code> table.</td><td></td></tr></tbody></table><p>Allowed JSON fields in the body</p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>Allowed Option</th></thead><tbody><tr><td>isActive</td><td>boolean</td><td><code>true</code></td><td></td></tr><tr><td>syncOption</td><td>string</td><td>oneway</td><td><ul><li>oneway</li><li>twoway</li></ul></td></tr><tr><td>slug</td><td>string</td><td>first-calendar</td></tr></tbody></table><p>Allowed JSON fields in the <code>teamMembers</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>Allowed Options</th><th>is Required?</th></thead><tbody><tr><td>userId</td><td>string</td><td>GCs5KuzPqTls7vWclkEV</td><td></td><td>Yes</td></tr><tr><td>priority</td><td>string</td><td>High</td><td><ul><li>High</li><li>Medium</li><li>Low</li></ul></td><td>Yes</td></tr><tr><td>selected</td><td>boolean</td><td>true</td><td></td><td>Yes</td></tr><tr><td>meetingLocation</td><td>string</td><td>https://zoom.us/j/XXXXXXXXXX</td><td></td><td>No</td></tr></tbody></table><p>Allowed JSON fields in the <code>availability</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>is Required?</th></thead><tbody><tr><td>eventTiming</td><td>object</td><td>See field info on <code>availability.eventTiming</code> table.</td><td>Yes</td></tr><tr><td>officeHours</td><td>object</td><td>See field info on <code>availability.officeHours</code> table.</td><td>Yes</td></tr><tr><td>appointmentInfo</td><td>object</td><td>See field info on <code>availability.appointmentInfo</code> table.</td><td>No</td></tr><tr><td>schedule</td><td>object</td><td>See field info on <code>availability.schedule</code> table.</td><td>No</td></tr></tbody></table><p>Allowed JSON fields in the <code>availability.eventTiming</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>Allowed Options</th><th>is Required?</th></thead><tbody><tr><td>slotDuration</td><td>number</td><td>30</td><td><ul><li>10</li><li>15</li><li>20</li><li>30</li><li>45</li><li>60</li><li>90</li><li>120</li><li>180</li><li>240</li><li>300</li><li>360</li><li>420</li><li>480</li></ul></td><td>Yes</td></tr><tr><td>slotInterval</td><td>number</td><td>30</td><td><ul><li>10</li><li>15</li><li>20</li><li>30</li><li>45</li><li>60</li><li>90</li><li>120</li><li>180</li><li>240</li><li>300</li><li>360</li><li>420</li><li>480</li></ul></td><td>Yes</td></tr><tr><td>slotBuffer</td><td>number</td><td>1</td><td></td><td>No</td></tr></tbody></table><p>Allowed JSON fields in the <code>availability.appointmentInfo</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>is Required?</th></thead><tbody><tr><td>perSlot</td><td>number</td><td>1</td><td>No</td></tr><tr><td>perDay</td><td>number</td><td>5</td><td>No</td></tr></tbody></table><p>Allowed JSON fields in the <code>availability.schedule</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>Allowed Options</th><th>is Required?</th></thead><tbody><tr><td>allowBookingAfter</td><td>number</td><td>1</td><td></td><td>No</td></tr><tr><td>allowBookingAfterUnit</td><td>string</td><td>days</td><td><ul><li>hours</li><li>days</li><li>weeks</li><li>months</li></ul></td><td>No</td></tr><tr><td>allowBookingFor</td><td>number</td><td>5</td><td>No</td></tr><tr><td>allowBookingForUnit</td><td>string</td><td>days</td><td><ul><li>hours</li><li>days</li><li>weeks</li><li>months</li></ul></td><td>No</td></tr></tbody></table><p>Allowed JSON fields in the <code>availability.officeHours</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>is Required?</th></thead><tbody><tr><td>monday</td><td>array</td><td>Please see field info <code>availability.officeHours.days</code> table. include as a array.</td><td>Yes</td></tr><tr><td>tuesday</td><td>array</td><td>Please see field info <code>availability.officeHours.days</code> table. include as a array.</td><td>Yes</td></tr><tr><td>wednesday</td><td>array</td><td>Please see field info <code>availability.officeHours.days</code> table. include as a array.</td><td>Yes</td></tr><tr><td>thursday</td><td>array</td><td>Please see field info <code>availability.officeHours.days</code> table. include as a array.</td><td>Yes</td></tr><tr><td>friday</td><td>array</td><td>Please see field info <code>availability.officeHours.days</code> table. include as a array.</td><td>Yes</td></tr></tbody></table><p>Allowed JSON fields in the <code>availability.officeHours.days</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>is Required?</th></thead><tbody><tr><td>openMinute</td><td>number</td><td>0</td><td>Yes</td></tr><tr><td>openHour</td><td>number</td><td>8</td><td>Yes</td></tr><tr><td>closeMinute</td><td>number</td><td>0</td><td>Yes</td></tr><tr><td>closeHour</td><td>number</td><td>17</td><td>Yes</td></tr></tbody></table><p>Allowed JSON fields in the <code>confirmation</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>is Required?</th></thead><tbody><tr><td>form</td><td>object</td><td>See field info on <code>confirmation.form</code> table.</td><td>No</td></tr><tr><td>notificationAndOther</td><td>object</td><td>See field info on <code>confirmation.notificationAndOther</code> table.</td><td>Yes</td></tr><tr><td>formSubmission</td><td>object</td><td>See field info on <code>confirmation.formSubmission</code> table.</td><td>Yes</td></tr></tbody></table><p>Allowed JSON fields in the <code>confirmation.form</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>is Required?</th></thead><tbody><tr><td>customFormId</td><td>string</td><td>jjusM6EOngDExnbo2DbU</td><td>No</td></tr><tr><td>stickyContact</td><td>boolean</td><td>false</td><td>No</td></tr></tbody></table><p>Allowed JSON fields in the <code>confirmation.notificationAndOther</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>is Required?</th></thead><tbody><tr><td>autoConfirm</td><td>boolean</td><td>false</td><td>Yes</td></tr><tr><td>shouldSendAlertEmailsToAssignedMember</td><td>boolean</td><td>false</td><td>Yes</td></tr><tr><td>googleInvitationEmails</td><td>boolean</td><td>false</td><td>Yes</td></tr><tr><td>allowReschedule</td><td>boolean</td><td>false</td><td>Yes</td></tr><tr><td>allowCancellation</td><td>boolean</td><td>false</td><td>Yes</td></tr><tr><td>alertEmail</td><td>string</td><td>john@deo.com</td><td>No</td></tr><tr><td>notes</td><td>string</td><td>Awesome Notes</td><td>No</td></tr><tr><td>facebookPixelId</td><td>string</td><td>XXXXXXXXXX</td><td>No</td></tr></tbody></table><p>Allowed JSON fields in the <code>confirmation.formSubmission</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>Allowed Options</th><th>is Required?</th></thead><tbody><tr><td>type</td><td>string</td><td>ThankYouMessage</td><td><ul><li>ThankYouMessage</li><li>RedirectURL</li></ul></td><td>Yes</td></tr><tr><td>content</td><td>string</td><td>Thank you for your appointment request.</td><td></td><td>Yes</td></tr></tbody></table><br /><strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","calendars","services",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[]}},"response":[{"id":"08505538-73d6-4268-951b-532e91c72471","name":"Unprocessable Entity","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"teamId\": \"0RXEzw5UVe5oLFm6GQls\",\n    \"eventType\": \"RoundRobin_OptimizeForAvailability\",\n    \"teamMembers\": [\n        {\n            \"selected\": true,\n            \"userId\": \"0nU7uKSrtT2RVM1KknuF\",\n            \"priority\": \"Low\",\n            \"meetingLocation\": \"PhoneNumber/ZoomLink/GoogleMeet/Location\"\n        },\n        {\n            \"selected\": true,\n            \"userId\": \"0nU7uKSrtT2RVM1KknuF\",\n            \"priority\": \"Low\",\n            \"meetingLocation\": \"PhoneNumber/ZoomLink/GoogleMeet/Location\"\n        }\n    ],\n    \"name\": \"30 Mins Call\",\n    \"description\": \"30 Minutes Call\",\n    \"slug\": \"30-mins-call\",\n    \"eventColor\": \"Peacock\",\n    \"availability\": {\n        \"eventTiming\": {\n            \"slotDuration\": 30,\n            \"slotInterval\": 30,\n            \"slotBuffer\": 0\n        },\n        \"appointmentInfo\": {\n            \"perSlot\": 0,\n            \"perDay\": 0\n        },\n        \"schedule\": {\n            \"allowBookingAfter\": 0,\n            \"allowBookingAfterUnit\": \"days\",\n            \"allowBookingFor\": 0,\n            \"allowBookingForUnit\": \"days\"\n        },\n        \"officeHours\": {\n            \"sunday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"monday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"tuesday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"wednesday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"thursday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"friday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"saturday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ]\n        }\n    },\n    \"confirmation\": {\n        \"form\": {\n            \"customFormId\": \"\",\n            \"stickyContact\": false,\n            \"stripe\": {\n                \"amount\": 0,\n                \"currency\": \"USD\",\n                \"chargeDescription\": \"Your will be billed X amount for this appointment\"\n            }\n        },\n        \"notificationAndOther\": {\n            \"autoConfirm\": true,\n            \"shouldSendAlertEmailsToAssignedMember\": true,\n            \"googleInvitationEmails\": false,\n            \"allowReschedule\": true,\n            \"allowCancellation\": true,\n            \"notes\": \"Phone:- {{contact.phone}} Email:- {{contact.email}} Need to make a change to this event? Reschedule:- {{reschedule_link}} Cancel:- {{cancellation_link}}\",\n            \"facebookPixelId\": \"\"\n        },\n        \"formSubmission\": {\n            \"type\": \"ThankYouMessage\",\n            \"content\": \"https://www.bing.com or Thank you for your appointment request. We will contact you shortly to confirm your request. Please call our office at {{contactMethod}} if you have any questions.\"\n        }\n    },\n    \"appointmentTitle\": \"{{contact.name}}\"\n}"},"url":"https://api.salesgadget.io/v1/calendars/services/"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"teamId\": {\n  \"message\": \"The team id field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"name\": {\n  \"message\": \"The name field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"description\": {\n  \"message\": \"The description field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"eventType\": {\n  \"message\": \"The event type field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"teamMembers\": {\n  \"message\": \"The team members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"slug\": {\n  \"message\": \"The slug field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"appointmentTitle\": {\n  \"message\": \"The team members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"eventColor\": {\n  \"message\": \"The event color field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"availability.eventTiming.slotDuration\": {\n  \"message\": \"The availability.eventTiming.slotDuration members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"availability.eventTiming.slotInterval\": {\n  \"message\": \"The availability.eventTiming.slotInterval members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"availability.officeHours\": {\n  \"message\": \"The availability.officeHours members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"confirmation.notificationAndOther.autoConfirm\": {\n  \"message\": \"The confirmation.notificationAndOther.autoConfirm members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"confirmation.notificationAndOther.shouldSendAlertEmailsToAssignedMember\": {\n  \"message\": \"The confirmation.notificationAndOther.shouldSendAlertEmailsToAssignedMember members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"confirmation.notificationAndOther.googleInvitationEmails\": {\n  \"message\": \"The confirmation.notificationAndOther.googleInvitationEmails members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"confirmation.notificationAndOther.allowReschedule\": {\n  \"message\": \"The confirmation.notificationAndOther.allowReschedule members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"confirmation.notificationAndOther.allowCancellation\": {\n  \"message\": \"The confirmation.notificationAndOther.allowCancellation members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"confirmation.formSubmission.type\": {\n  \"message\": \"The confirmation.formSubmission.type members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"confirmation.formSubmission.content\": {\n  \"message\": \"The confirmation.formSubmission.content members field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"},{"id":"1c27faad-7e93-4f9d-b87b-2b9ba10ea8e7","name":"Bad Request. please contact support!","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"teamId\": \"0RXEzw5UVe5oLFm6GQls\",\n    \"eventType\": \"RoundRobin_OptimizeForAvailability\",\n    \"teamMembers\": [\n        {\n            \"selected\": true,\n            \"userId\": \"0nU7uKSrtT2RVM1KknuF\",\n            \"priority\": \"Low\",\n            \"meetingLocation\": \"PhoneNumber/ZoomLink/GoogleMeet/Location\"\n        },\n        {\n            \"selected\": true,\n            \"userId\": \"0nU7uKSrtT2RVM1KknuF\",\n            \"priority\": \"Low\",\n            \"meetingLocation\": \"PhoneNumber/ZoomLink/GoogleMeet/Location\"\n        }\n    ],\n    \"name\": \"30 Mins Call\",\n    \"description\": \"30 Minutes Call\",\n    \"slug\": \"30-mins-call\",\n    \"eventColor\": \"Peacock\",\n    \"availability\": {\n        \"eventTiming\": {\n            \"slotDuration\": 30,\n            \"slotInterval\": 30,\n            \"slotBuffer\": 0\n        },\n        \"appointmentInfo\": {\n            \"perSlot\": 0,\n            \"perDay\": 0\n        },\n        \"schedule\": {\n            \"allowBookingAfter\": 0,\n            \"allowBookingAfterUnit\": \"days\",\n            \"allowBookingFor\": 0,\n            \"allowBookingForUnit\": \"days\"\n        },\n        \"officeHours\": {\n            \"sunday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"monday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"tuesday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"wednesday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"thursday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"friday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"saturday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ]\n        }\n    },\n    \"confirmation\": {\n        \"form\": {\n            \"customFormId\": \"\",\n            \"stickyContact\": false,\n            \"stripe\": {\n                \"amount\": 0,\n                \"currency\": \"USD\",\n                \"chargeDescription\": \"Your will be billed X amount for this appointment\"\n            }\n        },\n        \"notificationAndOther\": {\n            \"autoConfirm\": true,\n            \"shouldSendAlertEmailsToAssignedMember\": true,\n            \"googleInvitationEmails\": false,\n            \"allowReschedule\": true,\n            \"allowCancellation\": true,\n            \"notes\": \"Phone:- {{contact.phone}} Email:- {{contact.email}} Need to make a change to this event? Reschedule:- {{reschedule_link}} Cancel:- {{cancellation_link}}\",\n            \"facebookPixelId\": \"\"\n        },\n        \"formSubmission\": {\n            \"type\": \"ThankYouMessage\",\n            \"content\": \"https://www.bing.com or Thank you for your appointment request. We will contact you shortly to confirm your request. Please call our office at {{contactMethod}} if you have any questions.\"\n        }\n    },\n    \"appointmentTitle\": \"{{contact.name}}\"\n}"},"url":"https://api.salesgadget.io/v1/calendars/services/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"95619675-816b-4240-a0dc-7236532e51e4","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"teamId\": \"0RXEzw5UVe5oLFm6GQls\",\n    \"eventType\": \"RoundRobin_OptimizeForAvailability\",\n    \"teamMembers\": [\n        {\n            \"selected\": true,\n            \"userId\": \"0nU7uKSrtT2RVM1KknuF\",\n            \"priority\": \"Low\",\n            \"meetingLocation\": \"PhoneNumber/ZoomLink/GoogleMeet/Location\"\n        },\n        {\n            \"selected\": true,\n            \"userId\": \"0nU7uKSrtT2RVM1KknuF\",\n            \"priority\": \"Low\",\n            \"meetingLocation\": \"PhoneNumber/ZoomLink/GoogleMeet/Location\"\n        }\n    ],\n    \"name\": \"30 Mins Call\",\n    \"description\": \"30 Minutes Call\",\n    \"slug\": \"30-mins-call\",\n    \"eventColor\": \"Peacock\",\n    \"availability\": {\n        \"eventTiming\": {\n            \"slotDuration\": 30,\n            \"slotInterval\": 30,\n            \"slotBuffer\": 0\n        },\n        \"appointmentInfo\": {\n            \"perSlot\": 0,\n            \"perDay\": 0\n        },\n        \"schedule\": {\n            \"allowBookingAfter\": 0,\n            \"allowBookingAfterUnit\": \"days\",\n            \"allowBookingFor\": 0,\n            \"allowBookingForUnit\": \"days\"\n        },\n        \"officeHours\": {\n            \"sunday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"monday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"tuesday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"wednesday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"thursday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"friday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"saturday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ]\n        }\n    },\n    \"confirmation\": {\n        \"form\": {\n            \"customFormId\": \"\",\n            \"stickyContact\": false,\n            \"stripe\": {\n                \"amount\": 0,\n                \"currency\": \"USD\",\n                \"chargeDescription\": \"Your will be billed X amount for this appointment\"\n            }\n        },\n        \"notificationAndOther\": {\n            \"autoConfirm\": true,\n            \"shouldSendAlertEmailsToAssignedMember\": true,\n            \"googleInvitationEmails\": false,\n            \"allowReschedule\": true,\n            \"allowCancellation\": true,\n            \"notes\": \"Phone:- {{contact.phone}} Email:- {{contact.email}} Need to make a change to this event? Reschedule:- {{reschedule_link}} Cancel:- {{cancellation_link}}\",\n            \"facebookPixelId\": \"\"\n        },\n        \"formSubmission\": {\n            \"type\": \"ThankYouMessage\",\n            \"content\": \"https://www.bing.com or Thank you for your appointment request. We will contact you shortly to confirm your request. Please call our office at {{contactMethod}} if you have any questions.\"\n        }\n    },\n    \"appointmentTitle\": \"{{contact.name}}\"\n}"},"url":"https://api.salesgadget.io/v1/calendars/services/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"b2e6d240-c321-4de0-a4ad-6c747188877e","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"teamId\": \"0RXEzw5UVe5oLFm6GQls\",\n    \"eventType\": \"RoundRobin_OptimizeForAvailability\",\n    \"teamMembers\": [\n        {\n            \"selected\": true,\n            \"userId\": \"0nU7uKSrtT2RVM1KknuF\",\n            \"priority\": \"Low\",\n            \"meetingLocation\": \"PhoneNumber/ZoomLink/GoogleMeet/Location\"\n        },\n        {\n            \"selected\": true,\n            \"userId\": \"0nU7uKSrtT2RVM1KknuF\",\n            \"priority\": \"Low\",\n            \"meetingLocation\": \"PhoneNumber/ZoomLink/GoogleMeet/Location\"\n        }\n    ],\n    \"name\": \"30 Mins Call\",\n    \"description\": \"30 Minutes Call\",\n    \"slug\": \"30-mins-call\",\n    \"eventColor\": \"Peacock\",\n    \"availability\": {\n        \"eventTiming\": {\n            \"slotDuration\": 30,\n            \"slotInterval\": 30,\n            \"slotBuffer\": 0\n        },\n        \"appointmentInfo\": {\n            \"perSlot\": 0,\n            \"perDay\": 0\n        },\n        \"schedule\": {\n            \"allowBookingAfter\": 0,\n            \"allowBookingAfterUnit\": \"days\",\n            \"allowBookingFor\": 0,\n            \"allowBookingForUnit\": \"days\"\n        },\n        \"officeHours\": {\n            \"sunday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"monday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"tuesday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"wednesday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"thursday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"friday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"saturday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ]\n        }\n    },\n    \"confirmation\": {\n        \"form\": {\n            \"customFormId\": \"\",\n            \"stickyContact\": false,\n            \"stripe\": {\n                \"amount\": 0,\n                \"currency\": \"USD\",\n                \"chargeDescription\": \"Your will be billed X amount for this appointment\"\n            }\n        },\n        \"notificationAndOther\": {\n            \"autoConfirm\": true,\n            \"shouldSendAlertEmailsToAssignedMember\": true,\n            \"googleInvitationEmails\": false,\n            \"allowReschedule\": true,\n            \"allowCancellation\": true,\n            \"notes\": \"Phone:- {{contact.phone}} Email:- {{contact.email}} Need to make a change to this event? Reschedule:- {{reschedule_link}} Cancel:- {{cancellation_link}}\",\n            \"facebookPixelId\": \"\"\n        },\n        \"formSubmission\": {\n            \"type\": \"ThankYouMessage\",\n            \"content\": \"https://www.bing.com or Thank you for your appointment request. We will contact you shortly to confirm your request. Please call our office at {{contactMethod}} if you have any questions.\"\n        }\n    },\n    \"appointmentTitle\": \"{{contact.name}}\"\n}"},"url":"https://api.salesgadget.io/v1/calendars/services/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"OW59k4IchTgKjIDy3VMO\",\n \"name\": \"Test Service\",\n \"description\": \"Test Service Desc.\",\n \"appointmentTitle\": \"{{contact.name}}\",\n \"meetingLocation\": \"location\",\n \"eventColor\": \"#FF0000\",\n \"teamId\": \"#FF0000\",\n \"linkedCalendars\": {\n  \"google\": {\n   \"id\": \"ullamco in\",\n   \"name\": \"cillum magna consectetur culpa tempor\"\n  },\n  \"clio\": {\n   \"id\": \"Duis Ut\",\n   \"name\": \"si\"\n  },\n  \"drchrono\": {\n   \"id\": \"pro\",\n   \"name\": \"ullamco\"\n  }\n },\n \"syncOption\": \"oneway\",\n \"teamMembers\": [\n  {\n   \"userId\": \"\",\n   \"priority\": 0,\n   \"selected\": false,\n   \"meetingLocation\": \"https://zoom.us\"\n  },\n  {\n   \"userId\": \"\",\n   \"priority\": 0,\n   \"selected\": false,\n   \"meetingLocation\": \"https://zoom.us\"\n  }\n ],\n \"availability\": {\n  \"eventTiming\": {\n   \"slotDuration\": 30,\n   \"slotInterval\": 30,\n   \"slotBuffer\": 0\n  },\n  \"appointmentInfo\": {\n   \"perSlot\": 1,\n   \"perDay\": 8\n  },\n  \"schedule\": {\n   \"allowBookingAfter\": 1,\n   \"allowBookingAfterUnit\": \"Hours\",\n   \"allowBookingFor\": 8,\n   \"allowBookingForUnit\": \"Hours\"\n  },\n  \"officeHours\": {\n   \"monday\": [\n    {\n     \"openMinute\": 0,\n     \"closeMinute\": 0,\n     \"closeHour\": 17,\n     \"openHour\": 8\n    },\n    {\n     \"openMinute\": 0,\n     \"closeMinute\": 0,\n     \"closeHour\": 17,\n     \"openHour\": 8\n    }\n   ],\n   \"tuesday\": [\n    {\n     \"openMinute\": 0,\n     \"closeMinute\": 0,\n     \"closeHour\": 17,\n     \"openHour\": 8\n    },\n    {\n     \"openMinute\": 0,\n     \"closeMinute\": 0,\n     \"closeHour\": 17,\n     \"openHour\": 8\n    }\n   ],\n   \"wednesday\": [\n    {\n     \"openMinute\": 0,\n     \"closeMinute\": 0,\n     \"closeHour\": 17,\n     \"openHour\": 8\n    },\n    {\n     \"openMinute\": 0,\n     \"closeMinute\": 0,\n     \"closeHour\": 17,\n     \"openHour\": 8\n    }\n   ],\n   \"thursday\": [\n    {\n     \"openMinute\": 0,\n     \"closeMinute\": 0,\n     \"closeHour\": 17,\n     \"openHour\": 8\n    },\n    {\n     \"openMinute\": 0,\n     \"closeMinute\": 0,\n     \"closeHour\": 17,\n     \"openHour\": 8\n    }\n   ],\n   \"friday\": [\n    {\n     \"openMinute\": 0,\n     \"closeMinute\": 0,\n     \"closeHour\": 17,\n     \"openHour\": 8\n    },\n    {\n     \"openMinute\": 0,\n     \"closeMinute\": 0,\n     \"closeHour\": 17,\n     \"openHour\": 8\n    }\n   ]\n  }\n },\n \"confirmation\": {\n  \"form\": {\n   \"customFormId\": \"jjusM6EOngDExnbo2DbU\",\n   \"stickyContact\": false\n  },\n  \"notificationAndOther\": {\n   \"alertEmail\": \"sint consequat\",\n   \"hasAutoConfirm\": false,\n   \"hasGoogleSendInvitationEmail\": false,\n   \"hasAllowReschedule\": false,\n   \"hasAllowCancellation\": false,\n   \"hasSendEmailToAssignedMember\": false,\n   \"notes\": \"\",\n   \"facebookPixelId\": \"\",\n   \"customCode\": \"\"\n  },\n  \"formSubmission\": {\n   \"type\": \"ThankYouMessage\",\n   \"content\": \"\"\n  }\n }\n}"}],"_postman_id":"20054180-a69f-4a28-b9b4-1973643c5261"},{"name":"/v1/calendars/services/:serviceId","id":"b5fb9d04-9e50-4e79-9524-6b53b6a078a0","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"teamId\": \"0RXEzw5UVe5oLFm6GQls\",\n    \"eventType\": \"RoundRobin_OptimizeForAvailability\",\n    \"teamMembers\": [\n        {\n            \"selected\": true,\n            \"userId\": \"0nU7uKSrtT2RVM1KknuF\",\n            \"priority\": \"Low\",\n            \"meetingLocation\": \"PhoneNumber/ZoomLink/GoogleMeet/Location\"\n        },\n        {\n            \"selected\": true,\n            \"userId\": \"0nU7uKSrtT2RVM1KknuF\",\n            \"priority\": \"Low\",\n            \"meetingLocation\": \"PhoneNumber/ZoomLink/GoogleMeet/Location\"\n        }\n    ],\n    \"name\": \"30 Mins Call\",\n    \"description\": \"30 Minutes Call\",\n    \"slug\": \"30-mins-call\",\n    \"eventColor\": \"Peacock\",\n    \"availability\": {\n        \"eventTiming\": {\n            \"slotDuration\": 30,\n            \"slotInterval\": 30,\n            \"slotBuffer\": 0\n        },\n        \"appointmentInfo\": {\n            \"perSlot\": 0,\n            \"perDay\": 0\n        },\n        \"schedule\": {\n            \"allowBookingAfter\": 0,\n            \"allowBookingAfterUnit\": \"days\",\n            \"allowBookingFor\": 0,\n            \"allowBookingForUnit\": \"days\"\n        },\n        \"officeHours\": {\n            \"sunday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"monday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"tuesday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"wednesday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"thursday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"friday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"saturday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ]\n        }\n    },\n    \"confirmation\": {\n        \"form\": {\n            \"customFormId\": \"\",\n            \"stickyContact\": false,\n            \"stripe\": {\n                \"amount\": 0,\n                \"currency\": \"USD\",\n                \"chargeDescription\": \"Your will be billed X amount for this appointment\"\n            }\n        },\n        \"notificationAndOther\": {\n            \"autoConfirm\": true,\n            \"shouldSendAlertEmailsToAssignedMember\": true,\n            \"googleInvitationEmails\": false,\n            \"allowReschedule\": true,\n            \"allowCancellation\": true,\n            \"notes\": \"Phone:- {{contact.phone}} Email:- {{contact.email}} Need to make a change to this event? Reschedule:- {{reschedule_link}} Cancel:- {{cancellation_link}}\",\n            \"facebookPixelId\": \"\"\n        },\n        \"formSubmission\": {\n            \"type\": \"ThankYouMessage\",\n            \"content\": \"https://www.bing.com or Thank you for your appointment request. We will contact you shortly to confirm your request. Please call our office at {{contactMethod}} if you have any questions.\"\n        }\n    },\n    \"appointmentTitle\": \"{{contact.name}}\"\n}"},"url":"https://api.salesgadget.io/v1/calendars/services/:serviceId","description":"<h4>Update existing service</h4> <p>Required JSON fields in the body</p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>Allowed Option?</th></thead><tbody><tr><td>teamId</td><td>string</td><td>O4qa8K1M6xA4oPXu1b8O</td><td></td></tr><tr><td>name</td><td>string</td><td>Awsome Service</td><td></td></tr><tr><td>description</td><td>string</td><td>Awsome description</td><td></td></tr><tr><td>eventType</td><td>string</td><td>RoundRobin_OptimizeForAvailability</td><td><ul><li>RoundRobin_OptimizeForAvailability</li><li>RoundRobin_OptimizeForEqualDistribution</li></ul></td></tr><tr><td>teamMembers</td><td>obbject</td><td>See field info on the <code>teamMembers</code> table</td><td></td></tr><tr><td>slug</td><td>string</td><td>awsome-service</td><td></td></tr><tr><td>appointmentTitle</td><td>string</td><td><code>{{contact.name}}</code></td><td></td></tr><tr><td>eventColor</td><td>string</td><td>Tomato</td><td><ul><li>Banana</li><li>Basil</li><li>Blueberry</li><li>Flamingo</li><li>Grape</li><li>Graphite</li><li>Lavender</li><li>Peacock</li><li>Sage</li><li>Tangerine</li><li>Tomato</li></ul></td></tr><tr><td>availability</td><td>object</td><td>See field info on <code>availability</code> table.</td><td></td></tr><tr><td>confirmation</td><td>object</td><td>See field info on <code>confirmation</code> table.</td><td></td></tr></tbody></table><p>Allowed JSON fields in the body</p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>Allowed Option</th></thead><tbody><tr><td>isActive</td><td>boolean</td><td><code>true</code></td><td></td></tr><tr><td>syncOption</td><td>string</td><td>oneway</td><td><ul><li>oneway</li><li>twoway</li></ul></td></tr><tr><td>slug</td><td>string</td><td>first-calendar</td></tr></tbody></table><p>Allowed JSON fields in the <code>teamMembers</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>Allowed Options</th><th>is Required?</th></thead><tbody><tr><td>userId</td><td>string</td><td>GCs5KuzPqTls7vWclkEV</td><td></td><td>Yes</td></tr><tr><td>priority</td><td>string</td><td>High</td><td><ul><li>High</li><li>Medium</li><li>Low</li></ul></td><td>Yes</td></tr><tr><td>selected</td><td>boolean</td><td>true</td><td></td><td>Yes</td></tr><tr><td>meetingLocation</td><td>string</td><td>https://zoom.us/j/XXXXXXXXXX</td><td></td><td>No</td></tr></tbody></table><p>Allowed JSON fields in the <code>availability</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>is Required?</th></thead><tbody><tr><td>eventTiming</td><td>object</td><td>See field info on <code>availability.eventTiming</code> table.</td><td>Yes</td></tr><tr><td>officeHours</td><td>object</td><td>See field info on <code>availability.officeHours</code> table.</td><td>Yes</td></tr><tr><td>appointmentInfo</td><td>object</td><td>See field info on <code>availability.appointmentInfo</code> table.</td><td>No</td></tr><tr><td>schedule</td><td>object</td><td>See field info on <code>availability.schedule</code> table.</td><td>No</td></tr></tbody></table><p>Allowed JSON fields in the <code>availability.eventTiming</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>Allowed Options</th><th>is Required?</th></thead><tbody><tr><td>slotDuration</td><td>number</td><td>30</td><td><ul><li>10</li><li>15</li><li>20</li><li>30</li><li>45</li><li>60</li><li>90</li><li>120</li><li>180</li><li>240</li><li>300</li><li>360</li><li>420</li><li>480</li></ul></td><td>Yes</td></tr><tr><td>slotInterval</td><td>number</td><td>30</td><td><ul><li>10</li><li>15</li><li>20</li><li>30</li><li>45</li><li>60</li><li>90</li><li>120</li><li>180</li><li>240</li><li>300</li><li>360</li><li>420</li><li>480</li></ul></td><td>Yes</td></tr><tr><td>slotBuffer</td><td>number</td><td>1</td><td></td><td>No</td></tr></tbody></table><p>Allowed JSON fields in the <code>availability.appointmentInfo</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>is Required?</th></thead><tbody><tr><td>perSlot</td><td>number</td><td>1</td><td>No</td></tr><tr><td>perDay</td><td>number</td><td>5</td><td>No</td></tr></tbody></table><p>Allowed JSON fields in the <code>availability.schedule</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>Allowed Options</th><th>is Required?</th></thead><tbody><tr><td>allowBookingAfter</td><td>number</td><td>1</td><td></td><td>No</td></tr><tr><td>allowBookingAfterUnit</td><td>string</td><td>days</td><td><ul><li>hours</li><li>days</li><li>weeks</li><li>months</li></ul></td><td>No</td></tr><tr><td>allowBookingFor</td><td>number</td><td>5</td><td>No</td></tr><tr><td>allowBookingForUnit</td><td>string</td><td>days</td><td><ul><li>hours</li><li>days</li><li>weeks</li><li>months</li></ul></td><td>No</td></tr></tbody></table><p>Allowed JSON fields in the <code>availability.officeHours</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>is Required?</th></thead><tbody><tr><td>monday</td><td>array</td><td>Please see field info <code>availability.officeHours.days</code> table. include as a array.</td><td>Yes</td></tr><tr><td>tuesday</td><td>array</td><td>Please see field info <code>availability.officeHours.days</code> table. include as a array.</td><td>Yes</td></tr><tr><td>wednesday</td><td>array</td><td>Please see field info <code>availability.officeHours.days</code> table. include as a array.</td><td>Yes</td></tr><tr><td>thursday</td><td>array</td><td>Please see field info <code>availability.officeHours.days</code> table. include as a array.</td><td>Yes</td></tr><tr><td>friday</td><td>array</td><td>Please see field info <code>availability.officeHours.days</code> table. include as a array.</td><td>Yes</td></tr></tbody></table><p>Allowed JSON fields in the <code>availability.officeHours.days</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>is Required?</th></thead><tbody><tr><td>openMinute</td><td>number</td><td>0</td><td>Yes</td></tr><tr><td>openHour</td><td>number</td><td>8</td><td>Yes</td></tr><tr><td>closeMinute</td><td>number</td><td>0</td><td>Yes</td></tr><tr><td>closeHour</td><td>number</td><td>17</td><td>Yes</td></tr></tbody></table><p>Allowed JSON fields in the <code>confirmation</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>is Required?</th></thead><tbody><tr><td>form</td><td>object</td><td>See field info on <code>confirmation.form</code> table.</td><td>No</td></tr><tr><td>notificationAndOther</td><td>object</td><td>See field info on <code>confirmation.notificationAndOther</code> table.</td><td>Yes</td></tr><tr><td>formSubmission</td><td>object</td><td>See field info on <code>confirmation.formSubmission</code> table.</td><td>Yes</td></tr></tbody></table><p>Allowed JSON fields in the <code>confirmation.form</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>is Required?</th></thead><tbody><tr><td>customFormId</td><td>string</td><td>jjusM6EOngDExnbo2DbU</td><td>No</td></tr><tr><td>stickyContact</td><td>boolean</td><td>false</td><td>No</td></tr></tbody></table><p>Allowed JSON fields in the <code>confirmation.notificationAndOther</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>is Required?</th></thead><tbody><tr><td>autoConfirm</td><td>boolean</td><td>false</td><td>Yes</td></tr><tr><td>shouldSendAlertEmailsToAssignedMember</td><td>boolean</td><td>false</td><td>Yes</td></tr><tr><td>googleInvitationEmails</td><td>boolean</td><td>false</td><td>Yes</td></tr><tr><td>allowReschedule</td><td>boolean</td><td>false</td><td>Yes</td></tr><tr><td>allowCancellation</td><td>boolean</td><td>false</td><td>Yes</td></tr><tr><td>alertEmail</td><td>string</td><td>john@deo.com</td><td>No</td></tr><tr><td>notes</td><td>string</td><td>Awesome Notes</td><td>No</td></tr><tr><td>facebookPixelId</td><td>string</td><td>XXXXXXXXXX</td><td>No</td></tr></tbody></table><p>Allowed JSON fields in the <code>confirmation.formSubmission</code></p><table><thead><th>Fields</th><th>Types</th><th>Example</th><th>Allowed Options</th><th>is Required?</th></thead><tbody><tr><td>type</td><td>string</td><td>ThankYouMessage</td><td><ul><li>ThankYouMessage</li><li>RedirectURL</li></ul></td><td>Yes</td></tr><tr><td>content</td><td>string</td><td>Thank you for your appointment request.</td><td></td><td>Yes</td></tr></tbody></table><br /><strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","calendars","services",":serviceId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"31ec0d94-d180-4702-ae01-215f4d93597b","description":{"content":"<p>(Required) Service Id</p>\n","type":"text/plain"},"type":"any","value":"0RXEzw5UVe5oLFm6GQls","key":"serviceId"}]}},"response":[{"id":"774a7148-8bc8-4170-9706-bb553e6cb02f","name":"Successful response","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"teamId\": \"0RXEzw5UVe5oLFm6GQls\",\n    \"eventType\": \"RoundRobin_OptimizeForAvailability\",\n    \"teamMembers\": [\n        {\n            \"selected\": true,\n            \"userId\": \"0nU7uKSrtT2RVM1KknuF\",\n            \"priority\": \"Low\",\n            \"meetingLocation\": \"PhoneNumber/ZoomLink/GoogleMeet/Location\"\n        },\n        {\n            \"selected\": true,\n            \"userId\": \"0nU7uKSrtT2RVM1KknuF\",\n            \"priority\": \"Low\",\n            \"meetingLocation\": \"PhoneNumber/ZoomLink/GoogleMeet/Location\"\n        }\n    ],\n    \"name\": \"30 Mins Call\",\n    \"description\": \"30 Minutes Call\",\n    \"slug\": \"30-mins-call\",\n    \"eventColor\": \"Peacock\",\n    \"availability\": {\n        \"eventTiming\": {\n            \"slotDuration\": 30,\n            \"slotInterval\": 30,\n            \"slotBuffer\": 0\n        },\n        \"appointmentInfo\": {\n            \"perSlot\": 0,\n            \"perDay\": 0\n        },\n        \"schedule\": {\n            \"allowBookingAfter\": 0,\n            \"allowBookingAfterUnit\": \"days\",\n            \"allowBookingFor\": 0,\n            \"allowBookingForUnit\": \"days\"\n        },\n        \"officeHours\": {\n            \"sunday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"monday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"tuesday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"wednesday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"thursday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"friday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"saturday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ]\n        }\n    },\n    \"confirmation\": {\n        \"form\": {\n            \"customFormId\": \"\",\n            \"stickyContact\": false,\n            \"stripe\": {\n                \"amount\": 0,\n                \"currency\": \"USD\",\n                \"chargeDescription\": \"Your will be billed X amount for this appointment\"\n            }\n        },\n        \"notificationAndOther\": {\n            \"autoConfirm\": true,\n            \"shouldSendAlertEmailsToAssignedMember\": true,\n            \"googleInvitationEmails\": false,\n            \"allowReschedule\": true,\n            \"allowCancellation\": true,\n            \"notes\": \"Phone:- {{contact.phone}} Email:- {{contact.email}} Need to make a change to this event? Reschedule:- {{reschedule_link}} Cancel:- {{cancellation_link}}\",\n            \"facebookPixelId\": \"\"\n        },\n        \"formSubmission\": {\n            \"type\": \"ThankYouMessage\",\n            \"content\": \"https://www.bing.com or Thank you for your appointment request. We will contact you shortly to confirm your request. Please call our office at {{contactMethod}} if you have any questions.\"\n        }\n    },\n    \"appointmentTitle\": \"{{contact.name}}\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/calendars/services/:serviceId","host":["https://api.salesgadget.io"],"path":["v1","calendars","services",":serviceId"],"variable":[{"key":"serviceId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"OW59k4IchTgKjIDy3VMO\",\n \"name\": \"Test Service\",\n \"description\": \"Test Service Desc.\",\n \"appointmentTitle\": \"{{contact.name}}\",\n \"meetingLocation\": \"location\",\n \"eventColor\": \"#FF0000\",\n \"teamId\": \"#FF0000\",\n \"linkedCalendars\": {\n  \"google\": {\n   \"id\": \"ullamco in\",\n   \"name\": \"cillum magna consectetur culpa tempor\"\n  },\n  \"clio\": {\n   \"id\": \"Duis Ut\",\n   \"name\": \"si\"\n  },\n  \"drchrono\": {\n   \"id\": \"pro\",\n   \"name\": \"ullamco\"\n  }\n },\n \"syncOption\": \"oneway\",\n \"teamMembers\": [\n  {\n   \"userId\": \"\",\n   \"priority\": 0,\n   \"selected\": false,\n   \"meetingLocation\": \"https://zoom.us\"\n  },\n  {\n   \"userId\": \"\",\n   \"priority\": 0,\n   \"selected\": false,\n   \"meetingLocation\": \"https://zoom.us\"\n  }\n ],\n \"availability\": {\n  \"eventTiming\": {\n   \"slotDuration\": 30,\n   \"slotInterval\": 30,\n   \"slotBuffer\": 0\n  },\n  \"appointmentInfo\": {\n   \"perSlot\": 1,\n   \"perDay\": 8\n  },\n  \"schedule\": {\n   \"allowBookingAfter\": 1,\n   \"allowBookingAfterUnit\": \"Hours\",\n   \"allowBookingFor\": 8,\n   \"allowBookingForUnit\": \"Hours\"\n  },\n  \"officeHours\": {\n   \"monday\": [\n    {\n     \"openMinute\": 0,\n     \"closeMinute\": 0,\n     \"closeHour\": 17,\n     \"openHour\": 8\n    },\n    {\n     \"openMinute\": 0,\n     \"closeMinute\": 0,\n     \"closeHour\": 17,\n     \"openHour\": 8\n    }\n   ],\n   \"tuesday\": [\n    {\n     \"openMinute\": 0,\n     \"closeMinute\": 0,\n     \"closeHour\": 17,\n     \"openHour\": 8\n    },\n    {\n     \"openMinute\": 0,\n     \"closeMinute\": 0,\n     \"closeHour\": 17,\n     \"openHour\": 8\n    }\n   ],\n   \"wednesday\": [\n    {\n     \"openMinute\": 0,\n     \"closeMinute\": 0,\n     \"closeHour\": 17,\n     \"openHour\": 8\n    },\n    {\n     \"openMinute\": 0,\n     \"closeMinute\": 0,\n     \"closeHour\": 17,\n     \"openHour\": 8\n    }\n   ],\n   \"thursday\": [\n    {\n     \"openMinute\": 0,\n     \"closeMinute\": 0,\n     \"closeHour\": 17,\n     \"openHour\": 8\n    },\n    {\n     \"openMinute\": 0,\n     \"closeMinute\": 0,\n     \"closeHour\": 17,\n     \"openHour\": 8\n    }\n   ],\n   \"friday\": [\n    {\n     \"openMinute\": 0,\n     \"closeMinute\": 0,\n     \"closeHour\": 17,\n     \"openHour\": 8\n    },\n    {\n     \"openMinute\": 0,\n     \"closeMinute\": 0,\n     \"closeHour\": 17,\n     \"openHour\": 8\n    }\n   ]\n  }\n },\n \"confirmation\": {\n  \"form\": {\n   \"customFormId\": \"jjusM6EOngDExnbo2DbU\",\n   \"stickyContact\": false\n  },\n  \"notificationAndOther\": {\n   \"alertEmail\": \"sint consequat\",\n   \"hasAutoConfirm\": false,\n   \"hasGoogleSendInvitationEmail\": false,\n   \"hasAllowReschedule\": false,\n   \"hasAllowCancellation\": false,\n   \"hasSendEmailToAssignedMember\": false,\n   \"notes\": \"\",\n   \"facebookPixelId\": \"\",\n   \"customCode\": \"\"\n  },\n  \"formSubmission\": {\n   \"type\": \"ThankYouMessage\",\n   \"content\": \"\"\n  }\n }\n}"},{"id":"873daf59-86b4-4d10-b9f8-e0d0a20a7b6a","name":"Bad Request. please contact support!","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"teamId\": \"0RXEzw5UVe5oLFm6GQls\",\n    \"eventType\": \"RoundRobin_OptimizeForAvailability\",\n    \"teamMembers\": [\n        {\n            \"selected\": true,\n            \"userId\": \"0nU7uKSrtT2RVM1KknuF\",\n            \"priority\": \"Low\",\n            \"meetingLocation\": \"PhoneNumber/ZoomLink/GoogleMeet/Location\"\n        },\n        {\n            \"selected\": true,\n            \"userId\": \"0nU7uKSrtT2RVM1KknuF\",\n            \"priority\": \"Low\",\n            \"meetingLocation\": \"PhoneNumber/ZoomLink/GoogleMeet/Location\"\n        }\n    ],\n    \"name\": \"30 Mins Call\",\n    \"description\": \"30 Minutes Call\",\n    \"slug\": \"30-mins-call\",\n    \"eventColor\": \"Peacock\",\n    \"availability\": {\n        \"eventTiming\": {\n            \"slotDuration\": 30,\n            \"slotInterval\": 30,\n            \"slotBuffer\": 0\n        },\n        \"appointmentInfo\": {\n            \"perSlot\": 0,\n            \"perDay\": 0\n        },\n        \"schedule\": {\n            \"allowBookingAfter\": 0,\n            \"allowBookingAfterUnit\": \"days\",\n            \"allowBookingFor\": 0,\n            \"allowBookingForUnit\": \"days\"\n        },\n        \"officeHours\": {\n            \"sunday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"monday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"tuesday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"wednesday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"thursday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"friday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"saturday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ]\n        }\n    },\n    \"confirmation\": {\n        \"form\": {\n            \"customFormId\": \"\",\n            \"stickyContact\": false,\n            \"stripe\": {\n                \"amount\": 0,\n                \"currency\": \"USD\",\n                \"chargeDescription\": \"Your will be billed X amount for this appointment\"\n            }\n        },\n        \"notificationAndOther\": {\n            \"autoConfirm\": true,\n            \"shouldSendAlertEmailsToAssignedMember\": true,\n            \"googleInvitationEmails\": false,\n            \"allowReschedule\": true,\n            \"allowCancellation\": true,\n            \"notes\": \"Phone:- {{contact.phone}} Email:- {{contact.email}} Need to make a change to this event? Reschedule:- {{reschedule_link}} Cancel:- {{cancellation_link}}\",\n            \"facebookPixelId\": \"\"\n        },\n        \"formSubmission\": {\n            \"type\": \"ThankYouMessage\",\n            \"content\": \"https://www.bing.com or Thank you for your appointment request. We will contact you shortly to confirm your request. Please call our office at {{contactMethod}} if you have any questions.\"\n        }\n    },\n    \"appointmentTitle\": \"{{contact.name}}\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/calendars/services/:serviceId","host":["https://api.salesgadget.io"],"path":["v1","calendars","services",":serviceId"],"variable":[{"key":"serviceId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"8e3d4968-20ae-4bfa-8d1a-c126e5a90386","name":"Unauthorized","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"teamId\": \"0RXEzw5UVe5oLFm6GQls\",\n    \"eventType\": \"RoundRobin_OptimizeForAvailability\",\n    \"teamMembers\": [\n        {\n            \"selected\": true,\n            \"userId\": \"0nU7uKSrtT2RVM1KknuF\",\n            \"priority\": \"Low\",\n            \"meetingLocation\": \"PhoneNumber/ZoomLink/GoogleMeet/Location\"\n        },\n        {\n            \"selected\": true,\n            \"userId\": \"0nU7uKSrtT2RVM1KknuF\",\n            \"priority\": \"Low\",\n            \"meetingLocation\": \"PhoneNumber/ZoomLink/GoogleMeet/Location\"\n        }\n    ],\n    \"name\": \"30 Mins Call\",\n    \"description\": \"30 Minutes Call\",\n    \"slug\": \"30-mins-call\",\n    \"eventColor\": \"Peacock\",\n    \"availability\": {\n        \"eventTiming\": {\n            \"slotDuration\": 30,\n            \"slotInterval\": 30,\n            \"slotBuffer\": 0\n        },\n        \"appointmentInfo\": {\n            \"perSlot\": 0,\n            \"perDay\": 0\n        },\n        \"schedule\": {\n            \"allowBookingAfter\": 0,\n            \"allowBookingAfterUnit\": \"days\",\n            \"allowBookingFor\": 0,\n            \"allowBookingForUnit\": \"days\"\n        },\n        \"officeHours\": {\n            \"sunday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"monday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"tuesday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"wednesday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"thursday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"friday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"saturday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ]\n        }\n    },\n    \"confirmation\": {\n        \"form\": {\n            \"customFormId\": \"\",\n            \"stickyContact\": false,\n            \"stripe\": {\n                \"amount\": 0,\n                \"currency\": \"USD\",\n                \"chargeDescription\": \"Your will be billed X amount for this appointment\"\n            }\n        },\n        \"notificationAndOther\": {\n            \"autoConfirm\": true,\n            \"shouldSendAlertEmailsToAssignedMember\": true,\n            \"googleInvitationEmails\": false,\n            \"allowReschedule\": true,\n            \"allowCancellation\": true,\n            \"notes\": \"Phone:- {{contact.phone}} Email:- {{contact.email}} Need to make a change to this event? Reschedule:- {{reschedule_link}} Cancel:- {{cancellation_link}}\",\n            \"facebookPixelId\": \"\"\n        },\n        \"formSubmission\": {\n            \"type\": \"ThankYouMessage\",\n            \"content\": \"https://www.bing.com or Thank you for your appointment request. We will contact you shortly to confirm your request. Please call our office at {{contactMethod}} if you have any questions.\"\n        }\n    },\n    \"appointmentTitle\": \"{{contact.name}}\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/calendars/services/:serviceId","host":["https://api.salesgadget.io"],"path":["v1","calendars","services",":serviceId"],"variable":[{"key":"serviceId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"ed45d0e9-a86b-4bc2-b7a0-5d5b822ffb18","name":"Unprocessable Entity","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"teamId\": \"0RXEzw5UVe5oLFm6GQls\",\n    \"eventType\": \"RoundRobin_OptimizeForAvailability\",\n    \"teamMembers\": [\n        {\n            \"selected\": true,\n            \"userId\": \"0nU7uKSrtT2RVM1KknuF\",\n            \"priority\": \"Low\",\n            \"meetingLocation\": \"PhoneNumber/ZoomLink/GoogleMeet/Location\"\n        },\n        {\n            \"selected\": true,\n            \"userId\": \"0nU7uKSrtT2RVM1KknuF\",\n            \"priority\": \"Low\",\n            \"meetingLocation\": \"PhoneNumber/ZoomLink/GoogleMeet/Location\"\n        }\n    ],\n    \"name\": \"30 Mins Call\",\n    \"description\": \"30 Minutes Call\",\n    \"slug\": \"30-mins-call\",\n    \"eventColor\": \"Peacock\",\n    \"availability\": {\n        \"eventTiming\": {\n            \"slotDuration\": 30,\n            \"slotInterval\": 30,\n            \"slotBuffer\": 0\n        },\n        \"appointmentInfo\": {\n            \"perSlot\": 0,\n            \"perDay\": 0\n        },\n        \"schedule\": {\n            \"allowBookingAfter\": 0,\n            \"allowBookingAfterUnit\": \"days\",\n            \"allowBookingFor\": 0,\n            \"allowBookingForUnit\": \"days\"\n        },\n        \"officeHours\": {\n            \"sunday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"monday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"tuesday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"wednesday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"thursday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"friday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ],\n            \"saturday\": [\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                },\n                {\n                    \"openHour\": 8,\n                    \"openMinute\": 0,\n                    \"closeHour\": 17,\n                    \"closeMinute\": 0\n                }\n            ]\n        }\n    },\n    \"confirmation\": {\n        \"form\": {\n            \"customFormId\": \"\",\n            \"stickyContact\": false,\n            \"stripe\": {\n                \"amount\": 0,\n                \"currency\": \"USD\",\n                \"chargeDescription\": \"Your will be billed X amount for this appointment\"\n            }\n        },\n        \"notificationAndOther\": {\n            \"autoConfirm\": true,\n            \"shouldSendAlertEmailsToAssignedMember\": true,\n            \"googleInvitationEmails\": false,\n            \"allowReschedule\": true,\n            \"allowCancellation\": true,\n            \"notes\": \"Phone:- {{contact.phone}} Email:- {{contact.email}} Need to make a change to this event? Reschedule:- {{reschedule_link}} Cancel:- {{cancellation_link}}\",\n            \"facebookPixelId\": \"\"\n        },\n        \"formSubmission\": {\n            \"type\": \"ThankYouMessage\",\n            \"content\": \"https://www.bing.com or Thank you for your appointment request. We will contact you shortly to confirm your request. Please call our office at {{contactMethod}} if you have any questions.\"\n        }\n    },\n    \"appointmentTitle\": \"{{contact.name}}\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/calendars/services/:serviceId","host":["https://api.salesgadget.io"],"path":["v1","calendars","services",":serviceId"],"variable":[{"key":"serviceId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"teamId\": {\n  \"message\": \"The team id field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"name\": {\n  \"message\": \"The name field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"description\": {\n  \"message\": \"The description field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"eventType\": {\n  \"message\": \"The event type field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"teamMembers\": {\n  \"message\": \"The team members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"slug\": {\n  \"message\": \"The slug field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"appointmentTitle\": {\n  \"message\": \"The team members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"eventColor\": {\n  \"message\": \"The event color field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"availability.eventTiming.slotDuration\": {\n  \"message\": \"The availability.eventTiming.slotDuration members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"availability.eventTiming.slotInterval\": {\n  \"message\": \"The availability.eventTiming.slotInterval members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"availability.officeHours\": {\n  \"message\": \"The availability.officeHours members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"confirmation.notificationAndOther.autoConfirm\": {\n  \"message\": \"The confirmation.notificationAndOther.autoConfirm members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"confirmation.notificationAndOther.shouldSendAlertEmailsToAssignedMember\": {\n  \"message\": \"The confirmation.notificationAndOther.shouldSendAlertEmailsToAssignedMember members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"confirmation.notificationAndOther.googleInvitationEmails\": {\n  \"message\": \"The confirmation.notificationAndOther.googleInvitationEmails members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"confirmation.notificationAndOther.allowReschedule\": {\n  \"message\": \"The confirmation.notificationAndOther.allowReschedule members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"confirmation.notificationAndOther.allowCancellation\": {\n  \"message\": \"The confirmation.notificationAndOther.allowCancellation members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"confirmation.formSubmission.type\": {\n  \"message\": \"The confirmation.formSubmission.type members field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"confirmation.formSubmission.content\": {\n  \"message\": \"The confirmation.formSubmission.content members field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"}],"_postman_id":"b5fb9d04-9e50-4e79-9524-6b53b6a078a0"},{"name":"/v1/calendars/services/:serviceId","id":"cd8631a2-2e9e-42ac-847c-7aa776923717","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://api.salesgadget.io/v1/calendars/services/:serviceId","description":"<h4>Delete Service.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","calendars","services",":serviceId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"a0964002-d116-4787-9657-8e3f6ac7d43e","description":{"content":"<p>(Required) Service Id</p>\n","type":"text/plain"},"type":"any","value":"0RXEzw5UVe5oLFm6GQls","key":"serviceId"}]}},"response":[{"id":"1d488be0-1ce0-41f9-b121-6b8b31c4dcfc","name":"Unprocessable Entity","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/calendars/services/:serviceId","host":["https://api.salesgadget.io"],"path":["v1","calendars","services",":serviceId"],"variable":[{"key":"serviceId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": {\n  \"message\": \"The contact id is invalid.\",\n  \"rule\": \"invalid\"\n }\n}"},{"id":"40415525-7e09-43b9-bd84-5ccf3b0fee38","name":"Bad Request. please contact support!","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/calendars/services/:serviceId","host":["https://api.salesgadget.io"],"path":["v1","calendars","services",":serviceId"],"variable":[{"key":"serviceId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"7cc12381-9837-4333-8ab3-b129a3c9e66e","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/calendars/services/:serviceId","host":["https://api.salesgadget.io"],"path":["v1","calendars","services",":serviceId"],"variable":[{"key":"serviceId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"c2e5608f-34b1-49a1-bbf8-bb35cc1bcdab","name":"Successful response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/calendars/services/:serviceId","host":["https://api.salesgadget.io"],"path":["v1","calendars","services",":serviceId"],"variable":[{"key":"serviceId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"cd8631a2-2e9e-42ac-847c-7aa776923717"}],"id":"150cab84-ca5e-4c1d-9848-cdc33ab78e40","_postman_id":"150cab84-ca5e-4c1d-9848-cdc33ab78e40","description":""},{"name":"Appointment","item":[{"name":"/v1/appointments/slots","id":"0baddd28-8ad5-4dda-b271-9986e3ecace9","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/appointments/slots?calendarId=CVokAlI8fgw4WYWoCtQz&startDate=1598898600000&endDate=1601490599999&timezone=America/Chihuahua&userId=082goXVW3lIExEQPOnd3","description":"<h4>Get free slots.</h4><p>Required fields in the query</p><table><thead><tr><th>Fields</th><th>Types</th><th>Example</th></tr></thead><tbody><tr><td>calendarId</td><td>string</td><td>CVokAlI8fgw4WYWoCtQz</td></tr><tr><td>startDate</td><td>integer</td><td>epoch timestamp. for ex: <code>1548898600000</code></td></tr><tr><td>endDate</td><td>integer</td><td>epoch timestamp. for ex: <code>1601490599999</code></td></tr></tbody></table><p>Allowed field in the query</p><table><thead><tr><th>Fields</th><th>Types</th><th>Example</th></tr></thead><tbody><tr><td>userId</td><td>string</td><td>082goXVW3lIExEQPOnd3</td></tr><tr><td>timezone</td><td>string</td><td>America/Chihuahua</td></tr></tbody></table> <br /> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","appointments","slots"],"host":["https://api.salesgadget.io"],"query":[{"description":{"content":"<p>(Required) Calendar Id</p>\n","type":"text/plain"},"key":"calendarId","value":"CVokAlI8fgw4WYWoCtQz"},{"description":{"content":"<p>(Required) epoch timestamp</p>\n","type":"text/plain"},"key":"startDate","value":"1598898600000"},{"description":{"content":"<p>(Required) epoch timestamp</p>\n","type":"text/plain"},"key":"endDate","value":"1601490599999"},{"description":{"content":"<p>Timezone</p>\n","type":"text/plain"},"key":"timezone","value":"America/Chihuahua"},{"description":{"content":"<p>User Id</p>\n","type":"text/plain"},"key":"userId","value":"082goXVW3lIExEQPOnd3"}],"variable":[]}},"response":[{"id":"76eebf11-0e79-4198-86af-88b2ecdc9886","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/appointments/slots?calendarId=CVokAlI8fgw4WYWoCtQz&startDate=1598898600000&endDate=1601490599999&timezone=America/Chihuahua&userId=082goXVW3lIExEQPOnd3","host":["https://api.salesgadget.io"],"path":["v1","appointments","slots"],"query":[{"key":"calendarId","value":"CVokAlI8fgw4WYWoCtQz"},{"key":"startDate","value":"1598898600000"},{"key":"endDate","value":"1601490599999"},{"key":"timezone","value":"America/Chihuahua"},{"key":"userId","value":"082goXVW3lIExEQPOnd3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"_dates_\": {\n  \"slots\": [\n   \"2020-09-04T08:00:00+05:30\",\n   \"2020-09-04T08:00:00+05:30\"\n  ]\n }\n}"},{"id":"79c6328e-5c75-4c93-a647-3835a7b58e2f","name":"Unprocessable Entity","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/appointments/slots?calendarId=CVokAlI8fgw4WYWoCtQz&startDate=1598898600000&endDate=1601490599999&timezone=America/Chihuahua&userId=082goXVW3lIExEQPOnd3","host":["https://api.salesgadget.io"],"path":["v1","appointments","slots"],"query":[{"key":"calendarId","value":"CVokAlI8fgw4WYWoCtQz"},{"key":"startDate","value":"1598898600000"},{"key":"endDate","value":"1601490599999"},{"key":"timezone","value":"America/Chihuahua"},{"key":"userId","value":"082goXVW3lIExEQPOnd3"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"calendarId\": {\n  \"message\": \"The calendar id field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"startDate\": {\n  \"message\": \"The start date field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"endDate\": {\n  \"message\": \"The end date field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"},{"id":"b9ecac43-52f7-45e1-9ee0-456e3445aec1","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/appointments/slots?calendarId=CVokAlI8fgw4WYWoCtQz&startDate=1598898600000&endDate=1601490599999&timezone=America/Chihuahua&userId=082goXVW3lIExEQPOnd3","host":["https://api.salesgadget.io"],"path":["v1","appointments","slots"],"query":[{"key":"calendarId","value":"CVokAlI8fgw4WYWoCtQz"},{"key":"startDate","value":"1598898600000"},{"key":"endDate","value":"1601490599999"},{"key":"timezone","value":"America/Chihuahua"},{"key":"userId","value":"082goXVW3lIExEQPOnd3"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"f9584ca3-127d-4e85-a2fa-20b59b271444","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/appointments/slots?calendarId=CVokAlI8fgw4WYWoCtQz&startDate=1598898600000&endDate=1601490599999&timezone=America/Chihuahua&userId=082goXVW3lIExEQPOnd3","host":["https://api.salesgadget.io"],"path":["v1","appointments","slots"],"query":[{"key":"calendarId","value":"CVokAlI8fgw4WYWoCtQz"},{"key":"startDate","value":"1598898600000"},{"key":"endDate","value":"1601490599999"},{"key":"timezone","value":"America/Chihuahua"},{"key":"userId","value":"082goXVW3lIExEQPOnd3"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"}],"_postman_id":"0baddd28-8ad5-4dda-b271-9986e3ecace9"},{"name":"/v1/appointments/","id":"1058908f-55d1-49f4-9eb7-04c3e78546cf","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/appointments/?startDate=1548898600000&endDate=1601490599999&userId=082goXVW3lIExEQPOnd3&calendarId=0nU7uKSrtT2RVM1KknuF&teamId=O4qa8K1M6xA4oPXu1b8O&includeAll=true","description":"<h4>Get all booked events.</h4> <p>Required fields in the query</p><table><thead><tr><th>Fields</th><th>Types</th><th>Example</th></tr></thead><tbody><tr><td>startDate</td><td>integer</td><td>epoch timestamp. for ex: <code>1548898600000</code></td></tr><tr><td>endDate</td><td>integer</td><td>epoch timestamp. for ex: <code>1601490599999</code></td></tr><tr><td>userId(or calendarId or teamId)</td><td>string</td><td>082goXVW3lIExEQPOnd3</td></tr><tr><td>calendarId(or userId or teamId)</td><td>string</td><td>0nU7uKSrtT2RVM1KknuF</td></tr><tr><td>teamId(or userId or calendarId)</td><td>string</td><td>O4qa8K1M6xA4oPXu1b8O</td></tr></tbody></table><p>Allowed field in the query</p><table><thead><tr><th>Fields</th><th>Types</th><th>Example</th></tr></thead><tbody><tr><td>includeAll</td><td>boolean</td><td>Include contact and more data. for ex: <code>true</code></td></tr></tbody></table> <br /> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","appointments",""],"host":["https://api.salesgadget.io"],"query":[{"description":{"content":"<p>(Required) epoch timestamp</p>\n","type":"text/plain"},"key":"startDate","value":"1548898600000"},{"description":{"content":"<p>(Required) epoch timestamp</p>\n","type":"text/plain"},"key":"endDate","value":"1601490599999"},{"description":{"content":"<p>User Id</p>\n","type":"text/plain"},"key":"userId","value":"082goXVW3lIExEQPOnd3"},{"description":{"content":"<p>Calendar Id</p>\n","type":"text/plain"},"key":"calendarId","value":"0nU7uKSrtT2RVM1KknuF"},{"description":{"content":"<p>Team Id</p>\n","type":"text/plain"},"key":"teamId","value":"O4qa8K1M6xA4oPXu1b8O"},{"description":{"content":"<p>Include contact and more data.</p>\n","type":"text/plain"},"key":"includeAll","value":"true"}],"variable":[]}},"response":[{"id":"d29da482-539b-479d-9ec5-3abfe6f3f4ee","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/appointments/?startDate=1548898600000&endDate=1601490599999&userId=082goXVW3lIExEQPOnd3&calendarId=0nU7uKSrtT2RVM1KknuF&teamId=O4qa8K1M6xA4oPXu1b8O&includeAll=true","host":["https://api.salesgadget.io"],"path":["v1","appointments",""],"query":[{"key":"startDate","value":"1548898600000"},{"key":"endDate","value":"1601490599999"},{"key":"userId","value":"082goXVW3lIExEQPOnd3"},{"key":"calendarId","value":"0nU7uKSrtT2RVM1KknuF"},{"key":"teamId","value":"O4qa8K1M6xA4oPXu1b8O"},{"key":"includeAll","value":"true"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"d4327d26-4741-4d83-b4eb-ddebb00f9f6c","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/appointments/?startDate=1548898600000&endDate=1601490599999&userId=082goXVW3lIExEQPOnd3&calendarId=0nU7uKSrtT2RVM1KknuF&teamId=O4qa8K1M6xA4oPXu1b8O&includeAll=true","host":["https://api.salesgadget.io"],"path":["v1","appointments",""],"query":[{"key":"startDate","value":"1548898600000"},{"key":"endDate","value":"1601490599999"},{"key":"userId","value":"082goXVW3lIExEQPOnd3"},{"key":"calendarId","value":"0nU7uKSrtT2RVM1KknuF"},{"key":"teamId","value":"O4qa8K1M6xA4oPXu1b8O"},{"key":"includeAll","value":"true"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"d52e9094-af2e-49b1-b17d-772fad6c4aec","name":"Unprocessable Entity","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/appointments/?startDate=1548898600000&endDate=1601490599999&userId=082goXVW3lIExEQPOnd3&calendarId=0nU7uKSrtT2RVM1KknuF&teamId=O4qa8K1M6xA4oPXu1b8O&includeAll=true","host":["https://api.salesgadget.io"],"path":["v1","appointments",""],"query":[{"key":"startDate","value":"1548898600000"},{"key":"endDate","value":"1601490599999"},{"key":"userId","value":"082goXVW3lIExEQPOnd3"},{"key":"calendarId","value":"0nU7uKSrtT2RVM1KknuF"},{"key":"teamId","value":"O4qa8K1M6xA4oPXu1b8O"},{"key":"includeAll","value":"true"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"startDate\": {\n  \"message\": \"The start date field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"endDate\": {\n  \"message\": \"The end date field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"userId or calendarProviderId\": {\n  \"message\": \"The user id or calendar provider id field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"},{"id":"d59040b9-7c4f-4b1d-945e-113237d40675","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/appointments/?startDate=1548898600000&endDate=1601490599999&userId=082goXVW3lIExEQPOnd3&calendarId=0nU7uKSrtT2RVM1KknuF&teamId=O4qa8K1M6xA4oPXu1b8O&includeAll=true","host":["https://api.salesgadget.io"],"path":["v1","appointments",""],"query":[{"key":"startDate","value":"1548898600000"},{"key":"endDate","value":"1601490599999"},{"key":"userId","value":"082goXVW3lIExEQPOnd3"},{"key":"calendarId","value":"0nU7uKSrtT2RVM1KknuF"},{"key":"teamId","value":"O4qa8K1M6xA4oPXu1b8O"},{"key":"includeAll","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"appointments\": [\n  {\n   \"id\": \"EaALh02zfPo8VB3JOnpq\",\n   \"userId\": \"GCs5KuzPqTls7vWclkEV\",\n   \"calendarProviderId\": \"0nU7uKSrtT2RVM1KknuF\",\n   \"calendarId\": \"9qFx5qCKr3jIdBw0DiqB\",\n   \"contactId\": \"v1kbP2GBSZq6yzRkh7KT\",\n   \"calendarServiceId\": \"CVokAlI8fgw4WYWoCtQz\",\n   \"isRecurring\": false,\n   \"status\": \"booked\",\n   \"appoinmentStatus\": \"confirmed\",\n   \"title\": \"Calendar Standup\",\n   \"locationId\": \"C2QujeCh8ZnC7al2InWR\",\n   \"startTime\": \"2020-07-22T16:00:00+05:30\",\n   \"endTime\": \"2020-07-22T16:30:00+05:30\",\n   \"selectedTimezone\": \"Asia/Calcutta\",\n   \"contact\": {\n    \"id\": \"ocQHyuzHvysMo5N5VsXc\",\n    \"locationId\": \"C2QujeCh8ZnC7al2InWR\",\n    \"email\": \"JohnDeo@gmail.com\",\n    \"emailLowerCase\": \"johndeo@gmail.com\",\n    \"fingerprint\": \"91f4f0e0-e2dd-11ea-9b16-53b2d72e8a24\",\n    \"timezone\": \"Asia/Calcutta\",\n    \"country\": \"DE\",\n    \"customField\": [\n     {\n      \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n      \"value\": \"consectetur amet in ad\"\n     },\n     {\n      \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n      \"value\": \"mollit nisi esse Ut\"\n     }\n    ],\n    \"tags\": [\n     \"irure laboris ut enim\",\n     \"ea sunt\"\n    ],\n    \"__moreField__\": \"tempor ex amet sed quis\"\n   }\n  },\n  {\n   \"id\": \"EaALh02zfPo8VB3JOnpq\",\n   \"userId\": \"GCs5KuzPqTls7vWclkEV\",\n   \"calendarProviderId\": \"0nU7uKSrtT2RVM1KknuF\",\n   \"calendarId\": \"9qFx5qCKr3jIdBw0DiqB\",\n   \"contactId\": \"v1kbP2GBSZq6yzRkh7KT\",\n   \"calendarServiceId\": \"CVokAlI8fgw4WYWoCtQz\",\n   \"isRecurring\": false,\n   \"status\": \"booked\",\n   \"appoinmentStatus\": \"confirmed\",\n   \"title\": \"Calendar Standup\",\n   \"locationId\": \"C2QujeCh8ZnC7al2InWR\",\n   \"startTime\": \"2020-07-22T16:00:00+05:30\",\n   \"endTime\": \"2020-07-22T16:30:00+05:30\",\n   \"selectedTimezone\": \"Asia/Calcutta\",\n   \"contact\": {\n    \"id\": \"ocQHyuzHvysMo5N5VsXc\",\n    \"locationId\": \"C2QujeCh8ZnC7al2InWR\",\n    \"email\": \"JohnDeo@gmail.com\",\n    \"emailLowerCase\": \"johndeo@gmail.com\",\n    \"fingerprint\": \"91f4f0e0-e2dd-11ea-9b16-53b2d72e8a24\",\n    \"timezone\": \"Asia/Calcutta\",\n    \"country\": \"DE\",\n    \"customField\": [\n     {\n      \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n      \"value\": \"in voluptate amet\"\n     },\n     {\n      \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n      \"value\": \"magna\"\n     }\n    ],\n    \"tags\": [\n     \"cillum labore nisi\",\n     \"aute\"\n    ],\n    \"__moreField__\": \"reprehenderit m\"\n   }\n  }\n ]\n}"}],"_postman_id":"1058908f-55d1-49f4-9eb7-04c3e78546cf"},{"name":"/v1/appointments/","id":"df4a3ddf-0d78-4336-b486-0fe5382fcf83","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"calendarId\": \"CVokAlI8fgw4WYWoCtQz\",\n    \"selectedTimezone\": \"Asia/Calcutta\",\n    \"selectedSlot\": \"2020-08-28T15:30:00\",\n    \"email\": \"john@deo.com\",\n    \"phone\": \"+18887324197\"\n}"},"url":"https://api.salesgadget.io/v1/appointments/","description":"<h4>Booking Appoinment.</h4><p>HL Appointments API provides several different ways the endpoints can be leveraged, You can examine its application depending on any of the following use cases:</p><p><strong>Use case #1</strong>: Schedule Appointments</p><p>This predominantly focuses on consumer facing online booking applications. To be able to use it effectively, consider the following parameters during your set-up.</p><p>Required JSON fields in the body</p><table><thead><th>Fields</th><th>Types</th><th>Example</th></thead><tbody><tr><td>email(or phone)</td><td>string</td><td>johndeo@gmail.com</td></tr><tr><td>phone(or email)</td><td>string</td><td>+1 888-888-8888</td></tr><tr><td>selectedSlot</td><td>datetime</td><td>2021-02-05T11:00:00+05:30</td></tr><tr><td>selectedTimezone</td><td>string</td><td>Asia/Calcutta</td></tr><tr><td>calendarId</td><td>string</td><td>J37gEVtdFMRYVQWPdXIc</td></tr></tbody></table><p>Allowed JSON fields in the body</p><table><thead><th>Fields</th><th>Types</th><th>Example</th></thead><tbody><tr><td>firstName</td><td>string</td><td>John</td></tr><tr><td>lastName</td><td>string</td><td>Deo</td></tr><tr><td>name</td><td>string</td><td>John Deo</td></tr><tr><td>title</td><td>string</td><td>Best Event</td></tr><tr><td>address1</td><td>long</td><td>Tonkawa Trail W</td></tr><tr><td>city</td><td>string</td><td>Austin</td></tr><tr><td>state</td><td>string</td><td>Texas</td></tr><tr><td>website</td><td>string(url)</td><td>https://www.google.com</td></tr><tr><td>__custome_field_id__</td><td>string/array</td><td>Test</td></tr><tr><td>calendarNotes</td><td>long</td><td>Booked from public api</td></tr></tbody></table><p><strong>Use case #2</strong>: Block Off Time (Event Blocks)</p><p>This focuses specifically on actions surrounding internal applications such as posting a custom event block availability within your own application. While its application covers a range of different scenarios, you can use the following parameters during your set-up.</p><p>Required JSON fields in the body</p><table><thead><th>Fields</th><th>Types</th><th>Example</th></thead><tbody><tr><td>selectedSlot</td><td>datetime</td><td>2021-02-10T10:00:00Z</td></tr><tr><td>endAt</td><td>datetime</td><td>2021-02-12T10:00:00Z</td></tr><tr><td>calendarId/userId</td><td>string</td><td>J37gEVtdFMRYVQWPdXIc</td></tr></tbody></table><p>Allowed JSON fields in the body</p><table><thead><th>Fields</th><th>Types</th><th>Example</th></thead><tbody><tr><td>title</td><td>string</td><td>Blocking Event</td></tr></tbody></table> <br /> <strong>Authorization:</strong><p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","appointments",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[]}},"response":[{"id":"0c978132-0aac-4afc-a8ad-ba84dc597690","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"calendarId\": \"CVokAlI8fgw4WYWoCtQz\",\n    \"selectedTimezone\": \"Asia/Calcutta\",\n    \"selectedSlot\": \"2020-08-28T15:30:00\",\n    \"email\": \"john@deo.com\",\n    \"phone\": \"+18887324197\"\n}"},"url":"https://api.salesgadget.io/v1/appointments/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"3731cf7a-ae3b-43ba-9291-92cd3c3791cb","name":"Bad Request. please contact support!","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"calendarId\": \"CVokAlI8fgw4WYWoCtQz\",\n    \"selectedTimezone\": \"Asia/Calcutta\",\n    \"selectedSlot\": \"2020-08-28T15:30:00\",\n    \"email\": \"john@deo.com\",\n    \"phone\": \"+18887324197\"\n}"},"url":"https://api.salesgadget.io/v1/appointments/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"645bdef0-e83d-4f1c-8fb6-7915f4b26437","name":"Unprocessable Entity","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"calendarId\": \"CVokAlI8fgw4WYWoCtQz\",\n    \"selectedTimezone\": \"Asia/Calcutta\",\n    \"selectedSlot\": \"2020-08-28T15:30:00\",\n    \"email\": \"john@deo.com\",\n    \"phone\": \"+18887324197\"\n}"},"url":"https://api.salesgadget.io/v1/appointments/"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"calendarId\": {\n  \"message\": \"The calendar id field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"selectedSlot\": {\n  \"message\": \"The selected slot field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"selectedTimezone\": {\n  \"message\": \"The selected timezone field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"email or phone\": {\n  \"message\": \"The email or phone field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"},{"id":"83d29f6b-ea7c-47ee-b8f5-974dd04e7dd0","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"calendarId\": \"CVokAlI8fgw4WYWoCtQz\",\n    \"selectedTimezone\": \"Asia/Calcutta\",\n    \"selectedSlot\": \"2020-08-28T15:30:00\",\n    \"email\": \"john@deo.com\",\n    \"phone\": \"+18887324197\"\n}"},"url":"https://api.salesgadget.io/v1/appointments/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"004B1SpcAvh3s9E3rqk8\",\n \"contactId\": \"0007BWpSzSwfiuSl0tR2\",\n \"contact\": {\n  \"id\": \"0007BWpSzSwfiuSl0tR2\",\n  \"locationId\": \"C2QujeCh8ZnC7al2InWR\",\n  \"email\": \"JohnDeo@gmail.com\",\n  \"emailLowerCase\": \"johndeo@gmail.com\",\n  \"fingerprint\": \"91f4f0e0-e2dd-11ea-9b16-53b2d72e8a24\",\n  \"timezone\": \"Asia/Calcutta\",\n  \"country\": \"DE\",\n  \"customField\": [\n   {\n    \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n    \"value\": \"ex\"\n   },\n   {\n    \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n    \"value\": \"laboris in\"\n   }\n  ],\n  \"__moreField__\": \"officia culpa pariatur\"\n }\n}"}],"_postman_id":"df4a3ddf-0d78-4336-b486-0fe5382fcf83"},{"name":"/v1/appointments/:appointmentId","id":"c767e49f-e1b0-425b-82a5-2ca2fe9bb57b","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/appointments/:appointmentId","description":"<h4>Get appointment by id.</h4><br /><strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","appointments",":appointmentId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"23fccc78-76c3-46b7-aded-d77b138601bc","description":{"content":"<p>(Required) Appointment Id</p>\n","type":"text/plain"},"type":"any","value":"004B1SpcAvh3s9E3rqk8","key":"appointmentId"}]}},"response":[{"id":"26d4a16f-925f-4bc9-b3b2-f18423571c35","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/appointments/:appointmentId","host":["https://api.salesgadget.io"],"path":["v1","appointments",":appointmentId"],"variable":[{"key":"appointmentId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"EaALh02zfPo8VB3JOnpq\",\n \"userId\": \"GCs5KuzPqTls7vWclkEV\",\n \"calendarProviderId\": \"0nU7uKSrtT2RVM1KknuF\",\n \"calendarId\": \"9qFx5qCKr3jIdBw0DiqB\",\n \"contactId\": \"v1kbP2GBSZq6yzRkh7KT\",\n \"calendarServiceId\": \"CVokAlI8fgw4WYWoCtQz\",\n \"isRecurring\": false,\n \"status\": \"booked\",\n \"appoinmentStatus\": \"confirmed\",\n \"title\": \"Calendar Standup\",\n \"locationId\": \"C2QujeCh8ZnC7al2InWR\",\n \"startTime\": \"2020-07-22T16:00:00+05:30\",\n \"endTime\": \"2020-07-22T16:30:00+05:30\",\n \"selectedTimezone\": \"Asia/Calcutta\",\n \"contact\": {\n  \"id\": \"ocQHyuzHvysMo5N5VsXc\",\n  \"locationId\": \"C2QujeCh8ZnC7al2InWR\",\n  \"email\": \"JohnDeo@gmail.com\",\n  \"emailLowerCase\": \"johndeo@gmail.com\",\n  \"fingerprint\": \"91f4f0e0-e2dd-11ea-9b16-53b2d72e8a24\",\n  \"timezone\": \"Asia/Calcutta\",\n  \"country\": \"DE\",\n  \"customField\": [\n   {\n    \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n    \"value\": \"dolore officia\"\n   },\n   {\n    \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n    \"value\": \"ea esse qui\"\n   }\n  ],\n  \"tags\": [\n   \"culpa deserunt enim Excepteur\",\n   \"consectetur anim et sunt dolore\"\n  ],\n  \"__moreField__\": \"elit\"\n }\n}"},{"id":"c7405728-d148-4581-bde2-7e22ef962a84","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/appointments/:appointmentId","host":["https://api.salesgadget.io"],"path":["v1","appointments",":appointmentId"],"variable":[{"key":"appointmentId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"ec3c9a47-195a-4cb5-96c6-5bcd4fcf9e76","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/appointments/:appointmentId","host":["https://api.salesgadget.io"],"path":["v1","appointments",":appointmentId"],"variable":[{"key":"appointmentId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"}],"_postman_id":"c767e49f-e1b0-425b-82a5-2ca2fe9bb57b"},{"name":"/v1/appointments/:appointmentId","id":"8d307bc7-9aef-497d-8d06-86d93e5c17e1","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"selectedTimezone\": \"Asia/Calcutta\",\n    \"selectedSlot\": \"2020-08-28T15:30:00\"\n}"},"url":"https://api.salesgadget.io/v1/appointments/:appointmentId","description":"<h4>Update exisiting appoinment.</h4><br /><strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","appointments",":appointmentId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"3ff6e381-70af-4fc7-bf71-a1572a66950e","description":{"content":"<p>(Required) Appointment Id</p>\n","type":"text/plain"},"type":"any","value":"004B1SpcAvh3s9E3rqk8","key":"appointmentId"}]}},"response":[{"id":"0a506239-9902-41f9-a4ed-38c341518623","name":"Unauthorized","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"selectedTimezone\": \"Asia/Calcutta\",\n    \"selectedSlot\": \"2020-08-28T15:30:00\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/appointments/:appointmentId","host":["https://api.salesgadget.io"],"path":["v1","appointments",":appointmentId"],"variable":[{"key":"appointmentId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"79c9130d-3d3a-4e73-93f0-ffe3ff394625","name":"Bad Request. please contact support!","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"selectedTimezone\": \"Asia/Calcutta\",\n    \"selectedSlot\": \"2020-08-28T15:30:00\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/appointments/:appointmentId","host":["https://api.salesgadget.io"],"path":["v1","appointments",":appointmentId"],"variable":[{"key":"appointmentId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"a3ffd619-a996-4a84-85a0-6abcddd958dc","name":"Successful response","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"selectedTimezone\": \"Asia/Calcutta\",\n    \"selectedSlot\": \"2020-08-28T15:30:00\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/appointments/:appointmentId","host":["https://api.salesgadget.io"],"path":["v1","appointments",":appointmentId"],"variable":[{"key":"appointmentId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"004B1SpcAvh3s9E3rqk8\",\n \"contactId\": \"0007BWpSzSwfiuSl0tR2\",\n \"contact\": {\n  \"id\": \"0007BWpSzSwfiuSl0tR2\",\n  \"locationId\": \"C2QujeCh8ZnC7al2InWR\",\n  \"email\": \"JohnDeo@gmail.com\",\n  \"emailLowerCase\": \"johndeo@gmail.com\",\n  \"fingerprint\": \"91f4f0e0-e2dd-11ea-9b16-53b2d72e8a24\",\n  \"timezone\": \"Asia/Calcutta\",\n  \"country\": \"DE\",\n  \"customField\": [\n   {\n    \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n    \"value\": \"magna\"\n   },\n   {\n    \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n    \"value\": \"eiusmod occaecat nulla\"\n   }\n  ],\n  \"__moreField__\": \"i\"\n }\n}"},{"id":"ce70c8df-07e0-46f8-ac08-14206778cb1d","name":"Unprocessable Entity","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"selectedTimezone\": \"Asia/Calcutta\",\n    \"selectedSlot\": \"2020-08-28T15:30:00\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/appointments/:appointmentId","host":["https://api.salesgadget.io"],"path":["v1","appointments",":appointmentId"],"variable":[{"key":"appointmentId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"selectedSlot\": {\n  \"message\": \"The selected slot field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"selectedTimezone\": {\n  \"message\": \"The selected timezone field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"}],"_postman_id":"8d307bc7-9aef-497d-8d06-86d93e5c17e1"},{"name":"/v1/appointments/:appointmentId","id":"4ca10b97-92b3-426d-9989-23e76d901249","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://api.salesgadget.io/v1/appointments/:appointmentId","description":"<h4>Delete exisiting appoinment.</h4><br /><strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","appointments",":appointmentId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"fdd38028-3127-49c9-9301-a231d1d6de7c","description":{"content":"<p>(Required) Appointment Id</p>\n","type":"text/plain"},"type":"any","value":"004B1SpcAvh3s9E3rqk8","key":"appointmentId"}]}},"response":[{"id":"46230649-b832-45e6-8f6e-3290876a86fe","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/appointments/:appointmentId","host":["https://api.salesgadget.io"],"path":["v1","appointments",":appointmentId"],"variable":[{"key":"appointmentId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"50f9ed45-7928-4945-b322-42274accbbaf","name":"Bad Request. please contact support!","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/appointments/:appointmentId","host":["https://api.salesgadget.io"],"path":["v1","appointments",":appointmentId"],"variable":[{"key":"appointmentId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"b2236a65-e844-456c-98d2-e57fbac78ae3","name":"Successful response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/appointments/:appointmentId","host":["https://api.salesgadget.io"],"path":["v1","appointments",":appointmentId"],"variable":[{"key":"appointmentId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"\""}],"_postman_id":"4ca10b97-92b3-426d-9989-23e76d901249"},{"name":"/v1/appointments/:appointmentId/status","id":"9a3fb04f-4919-4643-9ad9-19bed3cc921f","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"confirmed\"\n}"},"url":"https://api.salesgadget.io/v1/appointments/:appointmentId/status","description":"<h4>Update exisiting appoinment status.</h4><p>Required JSON fields in the body</p><table><thead><tr><th>Fields</th><th>Types</th><th>Example</th><th>Allowed Options</th></tr></thead><tbody><tr><td>status</td><td>string</td><td>confirmed</td><td><ul><li>confirmed</li><li>cancelled</li><li>showed</li><li>noshow</li><li>invalid</li></ul></td></tr></tbody></table><br /><strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","appointments",":appointmentId","status"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"2c2e1f28-7e62-4d13-b49a-789b38ef6a13","description":{"content":"<p>(Required) Appointment Id</p>\n","type":"text/plain"},"type":"any","value":"004B1SpcAvh3s9E3rqk8","key":"appointmentId"}]}},"response":[{"id":"32093bb6-ebbf-4039-9c5d-812deaf44ce8","name":"Successful response","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"confirmed\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/appointments/:appointmentId/status","host":["https://api.salesgadget.io"],"path":["v1","appointments",":appointmentId","status"],"variable":[{"key":"appointmentId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"8c2d9b94-5ecd-4e02-9d85-ab481280c8ba","name":"Unauthorized","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"confirmed\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/appointments/:appointmentId/status","host":["https://api.salesgadget.io"],"path":["v1","appointments",":appointmentId","status"],"variable":[{"key":"appointmentId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"dc1adcc9-e84d-4883-a768-93c19b8c3bbf","name":"Bad Request. please contact support!","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"confirmed\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/appointments/:appointmentId/status","host":["https://api.salesgadget.io"],"path":["v1","appointments",":appointmentId","status"],"variable":[{"key":"appointmentId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"e9c56327-19e9-4f34-b4d8-be9a1521fb81","name":"Unprocessable Entity","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"confirmed\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/appointments/:appointmentId/status","host":["https://api.salesgadget.io"],"path":["v1","appointments",":appointmentId","status"],"variable":[{"key":"appointmentId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": {\n  \"message\": \"The status field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"}],"_postman_id":"9a3fb04f-4919-4643-9ad9-19bed3cc921f"}],"id":"e32b2c22-4696-4a05-af01-d33ea7c4a1dd","description":"<p>Booking Appointment</p>\n","_postman_id":"e32b2c22-4696-4a05-af01-d33ea7c4a1dd"}],"id":"cb3f574f-9952-40a6-b23f-fe7bcc5e891e","description":"<p>Using our robust API you can customize and manage the appointment scheduling workflow that works for your products and services while we do all the leg work behind the scenes.</p>\n","_postman_id":"cb3f574f-9952-40a6-b23f-fe7bcc5e891e"},{"name":"Campaign","item":[{"name":"/v1/campaigns/","id":"f2a8d997-0cb0-4d4d-a2d6-57ef71756bf2","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/campaigns/?status=published","description":"<h4>Get Campaigns.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token).</p>","urlObject":{"path":["v1","campaigns",""],"host":["https://api.salesgadget.io"],"query":[{"description":{"content":"<p>Filter by status, Allowed option are draft or published.</p>\n","type":"text/plain"},"key":"status","value":"published"}],"variable":[]}},"response":[{"id":"29d0c394-9584-43f5-a40c-83ed07656e6c","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/campaigns/?status=published","host":["https://api.salesgadget.io"],"path":["v1","campaigns",""],"query":[{"key":"status","value":"published"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"campaigns\": [\n  {\n   \"id\": \"Y2I9XM7aO1hncuSOlc9L\",\n   \"name\": \"Test Campaign\",\n   \"status\": \"draft\"\n  },\n  {\n   \"id\": \"Y2I9XM7aO1hncuSOlc9L\",\n   \"name\": \"Test Campaign\",\n   \"status\": \"draft\"\n  }\n ]\n}"},{"id":"7fe12180-d347-46eb-ad4d-3173272da53d","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/campaigns/?status=published","host":["https://api.salesgadget.io"],"path":["v1","campaigns",""],"query":[{"key":"status","value":"published"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"bc1f2b55-b04e-4ac3-839e-189458dec4cf","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/campaigns/?status=published","host":["https://api.salesgadget.io"],"path":["v1","campaigns",""],"query":[{"key":"status","value":"published"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"}],"_postman_id":"f2a8d997-0cb0-4d4d-a2d6-57ef71756bf2"}],"id":"74f0a02b-5b3a-4ffe-8161-9527262bc93a","_postman_id":"74f0a02b-5b3a-4ffe-8161-9527262bc93a","description":""},{"name":"Contact","item":[{"name":"Appointment","item":[{"name":"/v1/contacts/:contactId/appointments/","id":"9666283c-b594-46dc-9c84-b4d55f71a918","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/contacts/:contactId/appointments/","description":"<h4>Get contact appointments.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",":contactId","appointments",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"94577abe-9d3e-453d-871c-5388e91fe34b","description":{"content":"<p>(Required) Contact Id</p>\n","type":"text/plain"},"type":"any","value":"sx6wyHhbFdRXh302LLNR","key":"contactId"}]}},"response":[{"id":"51596753-d00d-4805-930e-13252982843d","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/appointments/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","appointments",""],"variable":[{"key":"contactId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"80a9f845-f993-4f50-8ddc-866bc49313f9","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/appointments/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","appointments",""],"variable":[{"key":"contactId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"dc18f162-6f6e-4760-a1d4-3b20e2ae9b6c","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/appointments/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","appointments",""],"variable":[{"key":"contactId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"}],"_postman_id":"9666283c-b594-46dc-9c84-b4d55f71a918"}],"id":"ab3c3a4a-0a29-4243-ad05-dfc132d5486d","_postman_id":"ab3c3a4a-0a29-4243-ad05-dfc132d5486d","description":""},{"name":"Tag","item":[{"name":"/v1/contacts/:contactId/tags/","id":"d0387e2e-27ed-4abb-8326-cf155d057cc4","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"tags\": [\n        \"non sed consequat\",\n        \"dolore exercitation in veniam\"\n    ]\n}"},"url":"https://api.salesgadget.io/v1/contacts/:contactId/tags/","description":"<h4>Add Tags on contacts.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",":contactId","tags",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"56e17eea-3d20-404a-ae83-c2c194515fad","description":{"content":"<p>(Required) Contact Id</p>\n","type":"text/plain"},"type":"any","value":"sx6wyHhbFdRXh302LLNR","key":"contactId"}]}},"response":[{"id":"5690d3ff-4fc6-466b-805a-e4ba8f847433","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"tags\": [\n        \"anim sed reprehenderit\",\n        \"sint officia ut Excepteur\"\n    ]\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tags/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tags",""],"variable":[{"key":"contactId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"tags\": [\n  \"ullamco sit aliqua ipsum\",\n  \"ea adipisicing irure\"\n ]\n}"},{"id":"97c4f323-865d-4545-87e8-ab6368e37604","name":"Bad Request. please contact support!","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"tags\": [\n        \"anim sed reprehenderit\",\n        \"sint officia ut Excepteur\"\n    ]\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tags/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tags",""],"variable":[{"key":"contactId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"b2b6ecb1-c7c3-43da-b9a5-d2030b69a3a4","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"tags\": [\n        \"anim sed reprehenderit\",\n        \"sint officia ut Excepteur\"\n    ]\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tags/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tags",""],"variable":[{"key":"contactId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"d053b63e-25d7-4628-a8e3-8f2e7654938a","name":"Unprocessable Entity","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"tags\": [\n        \"anim sed reprehenderit\",\n        \"sint officia ut Excepteur\"\n    ]\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tags/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tags",""],"variable":[{"key":"contactId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"tags\": {\n  \"message\": \"The tags field is mandatory.\",\n  \"rules\": \"required\"\n }\n}"}],"_postman_id":"d0387e2e-27ed-4abb-8326-cf155d057cc4"},{"name":"/v1/contacts/:contactId/tags/","id":"e6872dfe-6be8-4b9e-8f25-d014866e9777","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"tags\": [\n        \"anim sed reprehenderit\",\n        \"sint officia ut Excepteur\"\n    ]\n}"},"url":"https://api.salesgadget.io/v1/contacts/:contactId/tags/","description":"<h4>Delete tags from the contact.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",":contactId","tags",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"0c26260e-f8d1-4539-ae8e-4a20def07f7b","description":{"content":"<p>(Required) Contact Id</p>\n","type":"text/plain"},"type":"any","value":"sx6wyHhbFdRXh302LLNR","key":"contactId"}]}},"response":[{"id":"9dbc9645-ec55-4754-b18f-4c9e1ac66576","name":"Unprocessable Entity","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"tags\": [\n        \"anim sed reprehenderit\",\n        \"sint officia ut Excepteur\"\n    ]\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tags/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tags",""],"variable":[{"key":"contactId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"tags\": {\n  \"message\": \"The tags field is mandatory.\",\n  \"rules\": \"required\"\n }\n}"},{"id":"acfee82c-3707-4094-a778-259d3c670946","name":"Bad Request. please contact support!","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"tags\": [\n        \"anim sed reprehenderit\",\n        \"sint officia ut Excepteur\"\n    ]\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tags/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tags",""],"variable":[{"key":"contactId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"aeecd114-c590-407d-9ee9-a0e8538f081c","name":"Successful response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"tags\": [\n        \"anim sed reprehenderit\",\n        \"sint officia ut Excepteur\"\n    ]\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tags/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tags",""],"variable":[{"key":"contactId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"tags\": [\n  \"fugiat anim ut\",\n  \"proident aute commodo\"\n ]\n}"},{"id":"e4f0d4ef-058e-4754-90dd-ab477ea2c0c4","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"tags\": [\n        \"anim sed reprehenderit\",\n        \"sint officia ut Excepteur\"\n    ]\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tags/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tags",""],"variable":[{"key":"contactId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"}],"_postman_id":"e6872dfe-6be8-4b9e-8f25-d014866e9777"}],"id":"e5e286cd-6e43-479a-9880-3fff12cf8175","_postman_id":"e5e286cd-6e43-479a-9880-3fff12cf8175","description":""},{"name":"Campaign","item":[{"name":"/v1/contacts/:contactId/campaigns/:campaignId","id":"242f6a53-a7d4-4b9f-b983-f587043da301","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"https://api.salesgadget.io/v1/contacts/:contactId/campaigns/:campaignId","description":"<h4>Add contact to campaign.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",":contactId","campaigns",":campaignId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"6be893dc-da51-448f-a4b2-bb1383ebdefd","description":{"content":"<p>(Required) Contact Id</p>\n","type":"text/plain"},"type":"any","value":"sx6wyHhbFdRXh302LLNR","key":"contactId"},{"id":"79fe4473-82ec-4f6d-ad4c-72f333bce801","description":{"content":"<p>(Required) Campaign Id</p>\n","type":"text/plain"},"type":"any","value":"Y2I9XM7aO1hncuSOlc9L","key":"campaignId"}]}},"response":[{"id":"09c74ef6-ece8-4b15-94d1-34026b9ac10a","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/campaigns/:campaignId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","campaigns",":campaignId"],"variable":[{"key":"contactId"},{"key":"campaignId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"63ef34be-e4cc-49ef-8384-0c216c7a6b84","name":"Bad Request. please contact support!","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/campaigns/:campaignId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","campaigns",":campaignId"],"variable":[{"key":"contactId"},{"key":"campaignId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"be3e03c3-4d24-4c21-be18-b71587013471","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/campaigns/:campaignId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","campaigns",":campaignId"],"variable":[{"key":"contactId"},{"key":"campaignId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"\""},{"id":"f620f40c-3077-4a05-9e7a-517afc11de23","name":"Unprocessable Entity","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/campaigns/:campaignId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","campaigns",":campaignId"],"variable":[{"key":"contactId"},{"key":"campaignId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"tags\": {\n  \"message\": \"The tags field is mandatory.\",\n  \"rules\": \"required\"\n }\n}"}],"_postman_id":"242f6a53-a7d4-4b9f-b983-f587043da301"},{"name":"/v1/contacts/:contactId/campaigns/:campaignId","id":"dedf67e9-a6e4-48ae-8d60-c803ad8642e1","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://api.salesgadget.io/v1/contacts/:contactId/campaigns/:campaignId","description":"<h4>Remove contact from campaign.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",":contactId","campaigns",":campaignId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"7afb24aa-38ce-4da5-86ad-f71805627232","description":{"content":"<p>(Required) Contact Id</p>\n","type":"text/plain"},"type":"any","value":"sx6wyHhbFdRXh302LLNR","key":"contactId"},{"id":"cbae0514-a032-4779-a470-952e080cf92b","description":{"content":"<p>(Required) Campaign Id</p>\n","type":"text/plain"},"type":"any","value":"Y2I9XM7aO1hncuSOlc9L","key":"campaignId"}]}},"response":[{"id":"1d93e75e-b481-456e-a287-3575a65db39d","name":"Bad Request. please contact support!","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/campaigns/:campaignId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","campaigns",":campaignId"],"variable":[{"key":"contactId"},{"key":"campaignId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"25f0cca6-b60c-40ae-aefe-786dcc6e569c","name":"Unprocessable Entity","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/campaigns/:campaignId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","campaigns",":campaignId"],"variable":[{"key":"contactId"},{"key":"campaignId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"tags\": {\n  \"message\": \"The tags field is mandatory.\",\n  \"rules\": \"required\"\n }\n}"},{"id":"38f5767b-3d8d-46b3-9f73-d12538bcec6b","name":"Successful response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/campaigns/:campaignId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","campaigns",":campaignId"],"variable":[{"key":"contactId"},{"key":"campaignId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"\""},{"id":"d108361b-ab6b-4e1b-a793-8cf0a832f9a1","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/campaigns/:campaignId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","campaigns",":campaignId"],"variable":[{"key":"contactId"},{"key":"campaignId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"}],"_postman_id":"dedf67e9-a6e4-48ae-8d60-c803ad8642e1"},{"name":"/v1/contacts/:contactId/campaigns/remove-all","id":"3bb443df-eec8-435d-bf7a-a8ae1585bd96","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://api.salesgadget.io/v1/contacts/:contactId/campaigns/remove-all","description":"<h4>Remove contact from every campaign.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",":contactId","campaigns","remove-all"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"81d49d2a-bf77-4399-b0a8-0aa9d94d3a99","description":{"content":"<p>(Required) Contact Id</p>\n","type":"text/plain"},"type":"any","value":"sx6wyHhbFdRXh302LLNR","key":"contactId"},{"id":"f3fb30f4-e145-4307-8818-5c9c9d862e91","description":{"content":"<p>(Required) Campaign Id</p>\n","type":"text/plain"},"type":"any","value":"Y2I9XM7aO1hncuSOlc9L","key":"campaignId"}]}},"response":[{"id":"61f5df82-5d47-4608-83c9-7d8aa8638e8e","name":"Unprocessable Entity","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/campaigns/remove-all","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","campaigns","remove-all"],"variable":[{"key":"contactId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"tags\": {\n  \"message\": \"The tags field is mandatory.\",\n  \"rules\": \"required\"\n }\n}"},{"id":"94449982-f093-42ca-9252-b6ec8ae4ee92","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/campaigns/remove-all","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","campaigns","remove-all"],"variable":[{"key":"contactId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"b368e1c6-5c6c-4571-af3e-2549dc87e91b","name":"Successful response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/campaigns/remove-all","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","campaigns","remove-all"],"variable":[{"key":"contactId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"\""},{"id":"c7e2fbf2-5bfb-431b-bfc0-fd196e13b2dc","name":"Bad Request. please contact support!","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/campaigns/remove-all","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","campaigns","remove-all"],"variable":[{"key":"contactId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"}],"_postman_id":"3bb443df-eec8-435d-bf7a-a8ae1585bd96"}],"id":"0adb4ba9-7c99-424d-b59f-d6c8d1a2838a","_postman_id":"0adb4ba9-7c99-424d-b59f-d6c8d1a2838a","description":""},{"name":"Note","item":[{"name":"/v1/contacts/:contactId/notes/","id":"a5967d88-4980-4a1f-a64b-4617b7802251","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/contacts/:contactId/notes/","description":"<h4>Get all contact notes.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",":contactId","notes",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"e3c79664-4d3e-406b-a6b9-c0c0c0cb7b47","description":{"content":"<p>(Required) Contact Id</p>\n","type":"text/plain"},"type":"any","value":"sx6wyHhbFdRXh302LLNR","key":"contactId"}]}},"response":[{"id":"271ff905-7e3c-4dcc-bfa2-a4218be52633","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/notes/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","notes",""],"variable":[{"key":"contactId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"6ed23115-5bff-4645-8ff0-c46b9247f6a8","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/notes/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","notes",""],"variable":[{"key":"contactId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"82445a5d-7513-4388-81c4-41b687ce7891","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/notes/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","notes",""],"variable":[{"key":"contactId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"notes\": [\n  {\n   \"id\": \"Lj371SHlVMyfVlMcKiuk\",\n   \"body\": \"Loram ipsum\",\n   \"createdBy\": \"Loram ipsum\",\n   \"createdAt\": \"2020-10-20T12:52:17.561Z\"\n  },\n  {\n   \"id\": \"Lj371SHlVMyfVlMcKiuk\",\n   \"body\": \"Loram ipsum\",\n   \"createdBy\": \"Loram ipsum\",\n   \"createdAt\": \"2020-10-20T12:52:17.561Z\"\n  }\n ]\n}"}],"_postman_id":"a5967d88-4980-4a1f-a64b-4617b7802251"},{"name":"/v1/contacts/:contactId/notes/","id":"5cf246b8-0c2e-4f75-bea1-6387950f26cc","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"body\": \"lorem ipsum\",\n    \"userId\": \"GCs5KuzPqTls7vWclkEV\"\n}"},"url":"https://api.salesgadget.io/v1/contacts/:contactId/notes/","description":"<h4>Create Notes.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",":contactId","notes",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"68ccdc7e-7d69-46aa-aa12-a40aae367078","description":{"content":"<p>(Required) Contact Id</p>\n","type":"text/plain"},"type":"any","value":"sx6wyHhbFdRXh302LLNR","key":"contactId"}]}},"response":[{"id":"ae33044d-a4f8-41b5-986f-6fcc8364fdd3","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"body\": \"lorem ipsum\",\n    \"userId\": \"GCs5KuzPqTls7vWclkEV\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/notes/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","notes",""],"variable":[{"key":"contactId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"Lj371SHlVMyfVlMcKiuk\",\n \"body\": \"Loram ipsum\",\n \"createdBy\": \"Loram ipsum\",\n \"createdAt\": \"2020-10-20T12:52:17.561Z\"\n}"},{"id":"b7bd7b12-30d3-4f2d-891e-345a5ed9ed0c","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"body\": \"lorem ipsum\",\n    \"userId\": \"GCs5KuzPqTls7vWclkEV\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/notes/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","notes",""],"variable":[{"key":"contactId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"be352e72-8aa7-4006-a699-88851cc25dfd","name":"Unprocessable Entity","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"body\": \"lorem ipsum\",\n    \"userId\": \"GCs5KuzPqTls7vWclkEV\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/notes/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","notes",""],"variable":[{"key":"contactId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"body\": {\n  \"message\": \"The body field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"},{"id":"d40279e7-07ef-48ee-9cc4-b8078d453def","name":"Bad Request. please contact support!","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"body\": \"lorem ipsum\",\n    \"userId\": \"GCs5KuzPqTls7vWclkEV\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/notes/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","notes",""],"variable":[{"key":"contactId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"}],"_postman_id":"5cf246b8-0c2e-4f75-bea1-6387950f26cc"},{"name":"/v1/contacts/:contactId/notes/:noteId","id":"db836fc2-4e4a-4773-b3bb-c9187dbf5b09","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/contacts/:contactId/notes/:noteId","description":"<h4>Get note by id.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",":contactId","notes",":noteId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"04ddcbef-e9d9-4f1e-bebc-a17d2f2686d5","description":{"content":"<p>(Required) Contact Id</p>\n","type":"text/plain"},"type":"any","value":"sx6wyHhbFdRXh302LLNR","key":"contactId"},{"id":"4565e2d8-0584-4d3c-858c-a72860793fc5","description":{"content":"<p>(Required) Note Id</p>\n","type":"text/plain"},"type":"any","value":"ocQHyuzHvysMo5N5VsXc","key":"noteId"}]}},"response":[{"id":"0a77e43b-5cfa-41ae-a618-74e96f2a383b","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/notes/:noteId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","notes",":noteId"],"variable":[{"key":"contactId"},{"key":"noteId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"396cd299-5440-4adc-a7cd-50030a9448e7","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/notes/:noteId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","notes",":noteId"],"variable":[{"key":"contactId"},{"key":"noteId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"cdfd8e5e-a5ad-49c3-bca4-0a001dbfa099","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/notes/:noteId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","notes",":noteId"],"variable":[{"key":"contactId"},{"key":"noteId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"Lj371SHlVMyfVlMcKiuk\",\n \"body\": \"Loram ipsum\",\n \"createdBy\": \"Loram ipsum\",\n \"createdAt\": \"2020-10-20T12:52:17.561Z\"\n}"}],"_postman_id":"db836fc2-4e4a-4773-b3bb-c9187dbf5b09"},{"name":"/v1/contacts/:contactId/notes/:noteId","id":"49d50181-62ad-4845-bd8a-93327f1173f1","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"body\": \"lorem ipsum\",\n    \"userId\": \"GCs5KuzPqTls7vWclkEV\"\n}"},"url":"https://api.salesgadget.io/v1/contacts/:contactId/notes/:noteId","description":"<h4>Update Note.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",":contactId","notes",":noteId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"0e89fcfc-0c5c-4912-a68e-00261fb2ac9f","description":{"content":"<p>(Required) Contact Id</p>\n","type":"text/plain"},"type":"any","value":"sx6wyHhbFdRXh302LLNR","key":"contactId"},{"id":"752f4e47-506f-4bd6-bf2b-3d9709507667","description":{"content":"<p>(Required) Note Id</p>\n","type":"text/plain"},"type":"any","value":"ocQHyuzHvysMo5N5VsXc","key":"noteId"}]}},"response":[{"id":"6c22cb8e-d64f-4bd5-8566-15afafb5dc23","name":"Successful response","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"body\": \"lorem ipsum\",\n    \"userId\": \"GCs5KuzPqTls7vWclkEV\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/notes/:noteId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","notes",":noteId"],"variable":[{"key":"contactId"},{"key":"noteId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"Lj371SHlVMyfVlMcKiuk\",\n \"body\": \"Loram ipsum\",\n \"createdBy\": \"Loram ipsum\",\n \"createdAt\": \"2020-10-20T12:52:17.561Z\"\n}"},{"id":"8b918567-44f3-43a0-9f23-df78dd1d19a6","name":"Bad Request. please contact support!","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"body\": \"lorem ipsum\",\n    \"userId\": \"GCs5KuzPqTls7vWclkEV\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/notes/:noteId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","notes",":noteId"],"variable":[{"key":"contactId"},{"key":"noteId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"b350815d-6f7f-4130-8363-bfe66ca1287e","name":"Unprocessable Entity","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"body\": \"lorem ipsum\",\n    \"userId\": \"GCs5KuzPqTls7vWclkEV\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/notes/:noteId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","notes",":noteId"],"variable":[{"key":"contactId"},{"key":"noteId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"body\": {\n  \"message\": \"The body field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"},{"id":"c162e93c-7544-4f19-9c66-ed713ffac5da","name":"Unauthorized","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"body\": \"lorem ipsum\",\n    \"userId\": \"GCs5KuzPqTls7vWclkEV\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/notes/:noteId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","notes",":noteId"],"variable":[{"key":"contactId"},{"key":"noteId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"}],"_postman_id":"49d50181-62ad-4845-bd8a-93327f1173f1"},{"name":"/v1/contacts/:contactId/notes/:noteId","id":"af80fcf8-2ebc-4d41-9685-fa2f497e6d58","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://api.salesgadget.io/v1/contacts/:contactId/notes/:noteId","description":"<h4>Delete one of Notes.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",":contactId","notes",":noteId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"7c14eee8-d570-4f56-a226-75572e975322","description":{"content":"<p>(Required) Contact Id</p>\n","type":"text/plain"},"type":"any","value":"sx6wyHhbFdRXh302LLNR","key":"contactId"},{"id":"ec8b9531-bc8f-447e-bf20-2b90412e15a2","description":{"content":"<p>(Required) Note Id</p>\n","type":"text/plain"},"type":"any","value":"ocQHyuzHvysMo5N5VsXc","key":"noteId"}]}},"response":[{"id":"1cd2aae2-2e1d-4ef8-ae65-79918bf43eb8","name":"Bad Request. please contact support!","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/notes/:noteId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","notes",":noteId"],"variable":[{"key":"contactId"},{"key":"noteId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"7bbfc855-368b-4402-ab05-864f22e4c0bf","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/notes/:noteId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","notes",":noteId"],"variable":[{"key":"contactId"},{"key":"noteId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"7d2e9b5c-cd47-4845-9352-028922e2569f","name":"Successful response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/notes/:noteId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","notes",":noteId"],"variable":[{"key":"contactId"},{"key":"noteId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"\""}],"_postman_id":"af80fcf8-2ebc-4d41-9685-fa2f497e6d58"}],"id":"af489648-9136-4d95-81fa-d30fbe511fdf","_postman_id":"af489648-9136-4d95-81fa-d30fbe511fdf","description":""},{"name":"/v1/contacts/","id":"c4a03971-89ed-4069-ae73-f459ce790c63","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/contacts/?startAfterId=UIaE1WjAwWKdlyD7osQI&startAfter=1603870249758&limit=20&query=John","description":"<h4>Get Contacts.</h4><strong>Filters:</strong><ol><li><strong>query:</strong><p>It will search on theses fields: <code>Name</code>, <code>Phone</code>, <code>Email</code>, <code>Tags</code> and <code>Company Name</code>.</p></li></ol><strong>Pagination:</strong><p>We will by default return the first matched 20 contacts. You can fetched next and more by passing the page on the query params (deprecated). You can see page info and total records count on to the <code>meta</code> <br /><br /> <strong>New: </strong>You can fetched next and more by passing the startAfter and startAfterId on the query params. You can see <code>startAfterId</code> and <code>startAfter</code> fields found into the response <code>meta</code> field.</p><strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",""],"host":["https://api.salesgadget.io"],"query":[{"description":{"content":"<p>Start After Id</p>\n","type":"text/plain"},"key":"startAfterId","value":"UIaE1WjAwWKdlyD7osQI"},{"description":{"content":"<p>Start After</p>\n","type":"text/plain"},"key":"startAfter","value":"1603870249758"},{"description":{"content":"<p>Limit Per Page records count. will allow maximum up to 100 and default will be 20</p>\n","type":"text/plain"},"key":"limit","value":"20"},{"description":{"content":"<p>Contact Query</p>\n","type":"text/plain"},"key":"query","value":"John"}],"variable":[]}},"response":[{"id":"083a84b3-9e41-4fc3-8c18-1f02c5fd16cf","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/?startAfterId=UIaE1WjAwWKdlyD7osQI&startAfter=1603870249758&limit=20&query=John","host":["https://api.salesgadget.io"],"path":["v1","contacts",""],"query":[{"key":"startAfterId","value":"UIaE1WjAwWKdlyD7osQI"},{"key":"startAfter","value":"1603870249758"},{"key":"limit","value":"20"},{"key":"query","value":"John"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"597875cd-2e93-4cbf-bfc5-853c34220f7f","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/?startAfterId=UIaE1WjAwWKdlyD7osQI&startAfter=1603870249758&limit=20&query=John","host":["https://api.salesgadget.io"],"path":["v1","contacts",""],"query":[{"key":"startAfterId","value":"UIaE1WjAwWKdlyD7osQI"},{"key":"startAfter","value":"1603870249758"},{"key":"limit","value":"20"},{"key":"query","value":"John"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"contacts\": [\n  {\n   \"id\": \"ocQHyuzHvysMo5N5VsXc\",\n   \"locationId\": \"C2QujeCh8ZnC7al2InWR\",\n   \"email\": \"JohnDeo@gmail.com\",\n   \"emailLowerCase\": \"johndeo@gmail.com\",\n   \"fingerprint\": \"91f4f0e0-e2dd-11ea-9b16-53b2d72e8a24\",\n   \"timezone\": \"Asia/Calcutta\",\n   \"country\": \"DE\",\n   \"source\": \"xyz form\",\n   \"dateAdded\": \"2020-10-29T09:31:30.255Z\",\n   \"customField\": [\n    {\n     \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n     \"value\": \"elit esse occaecat\"\n    },\n    {\n     \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n     \"value\": \"tempor consequat Lorem\"\n    }\n   ],\n   \"tags\": [\n    \"aute irure exercitation cillum\",\n    \"sint ad\"\n   ],\n   \"__moreField__\": \"velit dolor exercitation\"\n  },\n  {\n   \"id\": \"ocQHyuzHvysMo5N5VsXc\",\n   \"locationId\": \"C2QujeCh8ZnC7al2InWR\",\n   \"email\": \"JohnDeo@gmail.com\",\n   \"emailLowerCase\": \"johndeo@gmail.com\",\n   \"fingerprint\": \"91f4f0e0-e2dd-11ea-9b16-53b2d72e8a24\",\n   \"timezone\": \"Asia/Calcutta\",\n   \"country\": \"DE\",\n   \"source\": \"xyz form\",\n   \"dateAdded\": \"2020-10-29T09:31:30.255Z\",\n   \"customField\": [\n    {\n     \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n     \"value\": \"nostrud\"\n    },\n    {\n     \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n     \"value\": \"mollit nostrud sed elit quis\"\n    }\n   ],\n   \"tags\": [\n    \"incididunt est enim culpa\",\n    \"deserunt dolor enim\"\n   ],\n   \"__moreField__\": \"fugiat anim quis u\"\n  }\n ],\n \"meta\": {\n  \"total\": 250,\n  \"nextPageUrl\": \"https://rest.gohighlevel.com/v1/contacts?limit=1&q=j&startAfter=1603870249758&startAfterId=UIaE1WjAwWKdlyD7osQI\",\n  \"startAfterId\": \"UIaE1WjAwWKdlyD7osQI\",\n  \"startAfter\": 1603870249758,\n  \"currentPage\": 2,\n  \"nextPage\": 3,\n  \"prevPage\": 1\n }\n}"},{"id":"eb42d2b5-b781-4956-8cde-1a9121dd57e6","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/?startAfterId=UIaE1WjAwWKdlyD7osQI&startAfter=1603870249758&limit=20&query=John","host":["https://api.salesgadget.io"],"path":["v1","contacts",""],"query":[{"key":"startAfterId","value":"UIaE1WjAwWKdlyD7osQI"},{"key":"startAfter","value":"1603870249758"},{"key":"limit","value":"20"},{"key":"query","value":"John"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"}],"_postman_id":"c4a03971-89ed-4069-ae73-f459ce790c63"},{"name":"/v1/contacts/","id":"8bbd8856-c74e-4709-bc2d-ea10a1312560","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"john@deo.com\",\n    \"phone\": \"+18887324197\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Deo\",\n    \"name\": \"John Deo\",\n    \"dateOfBirth\": \"1990-09-25\",\n    \"address1\": \"3535 1st St N\",\n    \"city\": \"Dolomite\",\n    \"state\": \"AL\",\n    \"country\": \"US\",\n    \"postalCode\": \"35061\",\n    \"companyName\": \"DGS VolMAX\",\n    \"website\": \"35061\",\n    \"tags\": [\n        \"nisi sint commodo amet\",\n        \"consequat\"\n    ],\n    \"source\": \"public api\",\n    \"customField\": {\n        \"__custom_field_id__\": \"pariatur\"\n    }\n}"},"url":"https://api.salesgadget.io/v1/contacts/","description":"<h4>Create a contact.</h4><p>Create contact will allow this fields. ex:</p><table><thead><th>Fields</th><th>Types</th><th>Example</th></thead><tbody><tr><td>firstName</td><td>string</td><td>John</td></tr><tr><td>lastName</td><td>string</td><td>Deo</td></tr><tr><td>name</td><td>string</td><td>John Deo</td></tr><tr><td>email</td><td>string</td><td>johndeo@gmail.com</td></tr><tr><td>phone</td><td>string</td><td>+1 888-888-8888</td></tr><tr><td>address1</td><td>long</td><td>Tonkawa Trail W</td></tr><tr><td>city</td><td>string</td><td>Austin</td></tr><tr><td>state</td><td>string</td><td>Texas</td></tr><tr><td>postalCode</td><td>string</td><td>45001</td></tr><tr><td>website</td><td>string(url)</td><td>https://www.google.com</td></tr><tr><td>tags</td><td>array</td><td><code>[\"tag1\", \"tag2\"]</code></td></tr><tr><td>customField</td><td>object</td><td><code>{\"3r6dEOnsApNaKIhnFM6u\": \"Value 1\", \"MgobCB14YMVKuE4Ka8p1\": \"Value 2\"}</code>. <strong>Notes:</strong> <code>3r6dEOnsApNaKIhnFM6u</code> and <code>MgobCB14YMVKuE4Ka8p1</code> is a custom field id. You can find it using *Custom Fields* endpoints.</td></tr><tr><td>source</td><td>string</td><td>Public API</td></tr></tbody></table><br /><strong>Validation:</strong><p><strong>Email</strong> or <strong>Phone</strong> are required to create contact <br /><br /> <strong>Authorization:</strong> </p><p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[]}},"response":[{"id":"20828f7d-d22d-4f45-9a9a-c1abd7203afa","name":"Bad Request. please contact support!","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"john@deo.com\",\n    \"phone\": \"+18887324197\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Deo\",\n    \"name\": \"John Deo\",\n    \"dateOfBirth\": \"1990-09-25\",\n    \"address1\": \"3535 1st St N\",\n    \"city\": \"Dolomite\",\n    \"state\": \"AL\",\n    \"country\": \"US\",\n    \"postalCode\": \"35061\",\n    \"companyName\": \"DGS VolMAX\",\n    \"website\": \"35061\",\n    \"tags\": [\n        \"commodo sed aliquip\",\n        \"ut exercitation sunt\"\n    ],\n    \"source\": \"public api\",\n    \"customField\": {\n        \"__custom_field_id__\": \"non in ut\"\n    }\n}"},"url":"https://api.salesgadget.io/v1/contacts/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"5ea3c24c-199e-4c2a-9dfd-c72bfa25bf1e","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"john@deo.com\",\n    \"phone\": \"+18887324197\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Deo\",\n    \"name\": \"John Deo\",\n    \"dateOfBirth\": \"1990-09-25\",\n    \"address1\": \"3535 1st St N\",\n    \"city\": \"Dolomite\",\n    \"state\": \"AL\",\n    \"country\": \"US\",\n    \"postalCode\": \"35061\",\n    \"companyName\": \"DGS VolMAX\",\n    \"website\": \"35061\",\n    \"tags\": [\n        \"commodo sed aliquip\",\n        \"ut exercitation sunt\"\n    ],\n    \"source\": \"public api\",\n    \"customField\": {\n        \"__custom_field_id__\": \"non in ut\"\n    }\n}"},"url":"https://api.salesgadget.io/v1/contacts/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"65561504-b9a4-4e2d-b89b-e47fa49d9668","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"john@deo.com\",\n    \"phone\": \"+18887324197\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Deo\",\n    \"name\": \"John Deo\",\n    \"dateOfBirth\": \"1990-09-25\",\n    \"address1\": \"3535 1st St N\",\n    \"city\": \"Dolomite\",\n    \"state\": \"AL\",\n    \"country\": \"US\",\n    \"postalCode\": \"35061\",\n    \"companyName\": \"DGS VolMAX\",\n    \"website\": \"35061\",\n    \"tags\": [\n        \"commodo sed aliquip\",\n        \"ut exercitation sunt\"\n    ],\n    \"source\": \"public api\",\n    \"customField\": {\n        \"__custom_field_id__\": \"non in ut\"\n    }\n}"},"url":"https://api.salesgadget.io/v1/contacts/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"contact\": {\n  \"id\": \"ocQHyuzHvysMo5N5VsXc\",\n  \"locationId\": \"C2QujeCh8ZnC7al2InWR\",\n  \"email\": \"JohnDeo@gmail.com\",\n  \"emailLowerCase\": \"johndeo@gmail.com\",\n  \"fingerprint\": \"91f4f0e0-e2dd-11ea-9b16-53b2d72e8a24\",\n  \"timezone\": \"Asia/Calcutta\",\n  \"country\": \"DE\",\n  \"source\": \"xyz form\",\n  \"dateAdded\": \"2020-10-29T09:31:30.255Z\",\n  \"customField\": [\n   {\n    \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n    \"value\": \"e\"\n   },\n   {\n    \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n    \"value\": \"dolore ut sint\"\n   }\n  ],\n  \"tags\": [\n   \"ullamco\",\n   \"quis exercitation cupidatat veli\"\n  ],\n  \"__moreField__\": \"tempor non est\"\n }\n}"},{"id":"70afefff-156a-40aa-a5ac-6d9cadd48ef9","name":"Unprocessable Entity","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"john@deo.com\",\n    \"phone\": \"+18887324197\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Deo\",\n    \"name\": \"John Deo\",\n    \"dateOfBirth\": \"1990-09-25\",\n    \"address1\": \"3535 1st St N\",\n    \"city\": \"Dolomite\",\n    \"state\": \"AL\",\n    \"country\": \"US\",\n    \"postalCode\": \"35061\",\n    \"companyName\": \"DGS VolMAX\",\n    \"website\": \"35061\",\n    \"tags\": [\n        \"commodo sed aliquip\",\n        \"ut exercitation sunt\"\n    ],\n    \"source\": \"public api\",\n    \"customField\": {\n        \"__custom_field_id__\": \"non in ut\"\n    }\n}"},"url":"https://api.salesgadget.io/v1/contacts/"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"email or phone\": {\n  \"message\": \"The email or phone field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"}],"_postman_id":"8bbd8856-c74e-4709-bc2d-ea10a1312560"},{"name":"/v1/contacts/lookup","id":"cdb14945-86e9-4fc9-8dd5-c7ef1d311949","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/contacts/lookup?email=john@deo.com&phone=+491971259866","description":"<h4>Search contact by email or phone number.</h4> <p>If you will pass email or phone, it will try find and give contacts based on that.</p><p></p><p>OR If you will pass both first it will try to find contact with email first and if it is not able to find contact then it will try to find the match based on the phone.</p><strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p> <strong>Validation:</strong><p><strong>Email</strong> or <strong>Phone</strong> are required to lookup contact.</p>","urlObject":{"path":["v1","contacts","lookup"],"host":["https://api.salesgadget.io"],"query":[{"description":{"content":"<p>(Required) Contact email</p>\n","type":"text/plain"},"key":"email","value":"john@deo.com"},{"description":{"content":"<p>(Required) Contact phone</p>\n","type":"text/plain"},"key":"phone","value":"+491971259866"}],"variable":[]}},"response":[{"id":"0e0f5f59-3e6d-46de-8204-7a470e606c6b","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/lookup?email=john@deo.com&phone=+491971259866","host":["https://api.salesgadget.io"],"path":["v1","contacts","lookup"],"query":[{"key":"email","value":"john@deo.com"},{"key":"phone","value":"+491971259866"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"15476295-1577-4e06-897a-32324d72ec43","name":"Unprocessable Entity","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/lookup?email=john@deo.com&phone=+491971259866","host":["https://api.salesgadget.io"],"path":["v1","contacts","lookup"],"query":[{"key":"email","value":"john@deo.com"},{"key":"phone","value":"+491971259866"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"email or phone\": {\n  \"message\": \"The email or phone field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"},{"id":"78a5191b-2fb2-482f-b4d6-1434b36a608b","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/lookup?email=john@deo.com&phone=+491971259866","host":["https://api.salesgadget.io"],"path":["v1","contacts","lookup"],"query":[{"key":"email","value":"john@deo.com"},{"key":"phone","value":"+491971259866"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"e46b853d-822e-465e-82e1-9e9429f2554e","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/lookup?email=john@deo.com&phone=+491971259866","host":["https://api.salesgadget.io"],"path":["v1","contacts","lookup"],"query":[{"key":"email","value":"john@deo.com"},{"key":"phone","value":"+491971259866"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"contacts\": [\n  {\n   \"id\": \"ocQHyuzHvysMo5N5VsXc\",\n   \"locationId\": \"C2QujeCh8ZnC7al2InWR\",\n   \"email\": \"JohnDeo@gmail.com\",\n   \"emailLowerCase\": \"johndeo@gmail.com\",\n   \"fingerprint\": \"91f4f0e0-e2dd-11ea-9b16-53b2d72e8a24\",\n   \"timezone\": \"Asia/Calcutta\",\n   \"country\": \"DE\",\n   \"source\": \"xyz form\",\n   \"dateAdded\": \"2020-10-29T09:31:30.255Z\",\n   \"customField\": [\n    {\n     \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n     \"value\": \"qui irure\"\n    },\n    {\n     \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n     \"value\": \"magna sed ipsum\"\n    }\n   ],\n   \"tags\": [\n    \"minim qui\",\n    \"dolore magna enim\"\n   ],\n   \"__moreField__\": \"amet veniam\"\n  },\n  {\n   \"id\": \"ocQHyuzHvysMo5N5VsXc\",\n   \"locationId\": \"C2QujeCh8ZnC7al2InWR\",\n   \"email\": \"JohnDeo@gmail.com\",\n   \"emailLowerCase\": \"johndeo@gmail.com\",\n   \"fingerprint\": \"91f4f0e0-e2dd-11ea-9b16-53b2d72e8a24\",\n   \"timezone\": \"Asia/Calcutta\",\n   \"country\": \"DE\",\n   \"source\": \"xyz form\",\n   \"dateAdded\": \"2020-10-29T09:31:30.255Z\",\n   \"customField\": [\n    {\n     \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n     \"value\": \"eu id consequat amet\"\n    },\n    {\n     \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n     \"value\": \"velit occaecat reprehenderit enim cillum\"\n    }\n   ],\n   \"tags\": [\n    \"veniam elit\",\n    \"qui aute\"\n   ],\n   \"__moreField__\": \"eu quis irure consectetur\"\n  }\n ]\n}"}],"_postman_id":"cdb14945-86e9-4fc9-8dd5-c7ef1d311949"},{"name":"/v1/contacts/:id","id":"89db1458-e08a-4d7b-8d4b-c110864b2912","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/contacts/:id","description":"<h4>Get contact by id.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",":id"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"b783404d-a2b0-48c5-b460-0b845e08c96b","description":{"content":"<p>(Required) Contact Id</p>\n","type":"text/plain"},"type":"any","value":"ocQHyuzHvysMo5N5VsXc","key":"id"}]}},"response":[{"id":"505b0fba-e7e7-4783-9683-d77f1a189d73","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:id","host":["https://api.salesgadget.io"],"path":["v1","contacts",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"a6c58c30-046d-440a-bb0f-af3817379c35","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:id","host":["https://api.salesgadget.io"],"path":["v1","contacts",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"contact\": {\n  \"id\": \"ocQHyuzHvysMo5N5VsXc\",\n  \"locationId\": \"C2QujeCh8ZnC7al2InWR\",\n  \"email\": \"JohnDeo@gmail.com\",\n  \"emailLowerCase\": \"johndeo@gmail.com\",\n  \"fingerprint\": \"91f4f0e0-e2dd-11ea-9b16-53b2d72e8a24\",\n  \"timezone\": \"Asia/Calcutta\",\n  \"country\": \"DE\",\n  \"source\": \"xyz form\",\n  \"dateAdded\": \"2020-10-29T09:31:30.255Z\",\n  \"customField\": [\n   {\n    \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n    \"value\": \"e\"\n   },\n   {\n    \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n    \"value\": \"dolore ut sint\"\n   }\n  ],\n  \"tags\": [\n   \"ullamco\",\n   \"quis exercitation cupidatat veli\"\n  ],\n  \"__moreField__\": \"tempor non est\"\n }\n}"},{"id":"b6be77b3-89fe-4611-b800-619d1ffd894b","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:id","host":["https://api.salesgadget.io"],"path":["v1","contacts",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"ced39e62-0ced-445a-8303-81be2233b59b","name":"Unprocessable Entity","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:id","host":["https://api.salesgadget.io"],"path":["v1","contacts",":id"],"variable":[{"key":"id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": {\n  \"message\": \"The contact id is invalid.\",\n  \"rule\": \"invalid\"\n }\n}"}],"_postman_id":"89db1458-e08a-4d7b-8d4b-c110864b2912"},{"name":"/v1/contacts/:id","id":"76f83d13-ad5d-46c5-88fe-bd1ab7eb1dca","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"John\",\n    \"lastName\": \"Deo\",\n    \"name\": \"John Deo\",\n    \"email\": \"john@deo.com\",\n    \"phone\": \"+18887324197\",\n    \"dateOfBirth\": \"1990-09-25\",\n    \"address1\": \"3535 1st St N\",\n    \"city\": \"Dolomite\",\n    \"state\": \"AL\",\n    \"country\": \"US\",\n    \"postalCode\": \"35061\",\n    \"companyName\": \"DGS VolMAX\",\n    \"website\": \"35061\",\n    \"tags\": [\n        \"minim aliquip anim\",\n        \"sunt occaecat\"\n    ],\n    \"source\": \"public api\",\n    \"customField\": {\n        \"__custom_field_id__\": \"nostrud reprehenderit\"\n    }\n}"},"url":"https://api.salesgadget.io/v1/contacts/:id","description":"<h4>Update a contact.</h4><p>Update contact will allow this fields. ex:</p> <table><thead><th>Fields</th><th>Types</th><th>Example</th></thead><tbody><tr><td>firstName</td><td>string</td><td>John</td></tr><tr><td>lastName</td><td>string</td><td>Deo</td></tr><tr><td>name</td><td>string</td><td>John Deo</td></tr><tr><td>email</td><td>string</td><td>johndeo@gmail.com</td></tr><tr><td>phone</td><td>string</td><td>+1 888-888-8888</td></tr><tr><td>address1</td><td>long</td><td>Tonkawa Trail W</td></tr><tr><td>city</td><td>string</td><td>Austin</td></tr><tr><td>state</td><td>string</td><td>Texas</td></tr><tr><td>postalCode</td><td>string</td><td>45001</td></tr><tr><td>website</td><td>string(url)</td><td>https://www.google.com</td></tr><tr><td>tags</td><td>array</td><td><code>[\"tag1\", \"tag2\"]</code></td></tr><tr><td>customField</td><td>object</td><td><code>{\"3r6dEOnsApNaKIhnFM6u\": \"Value 1\", \"MgobCB14YMVKuE4Ka8p1\": \"Value 2\"}</code>. <strong>Notes:</strong> <code>3r6dEOnsApNaKIhnFM6u</code> and <code>MgobCB14YMVKuE4Ka8p1</code> is a custom field id. You can find it using *Custom Fields* endpoints.</td></tr><tr><td>source</td><td>string</td><td>Public API</td></tr></tbody></table><br /><strong>Validation:</strong><p><strong>Email</strong> or <strong>Phone</strong> are required to update contact <br /><br /> <strong>Authorization:</strong> </p><p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",":id"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"e406ac50-72b4-4377-88fb-264dbad90ebb","description":{"content":"<p>(Required) Contact Id</p>\n","type":"text/plain"},"type":"any","value":"ocQHyuzHvysMo5N5VsXc","key":"id"}]}},"response":[{"id":"5c6705ac-cb57-4d9a-a6e7-a6eaf96252a1","name":"Bad Request. please contact support!","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"John\",\n    \"lastName\": \"Deo\",\n    \"name\": \"John Deo\",\n    \"email\": \"john@deo.com\",\n    \"phone\": \"+18887324197\",\n    \"dateOfBirth\": \"1990-09-25\",\n    \"address1\": \"3535 1st St N\",\n    \"city\": \"Dolomite\",\n    \"state\": \"AL\",\n    \"country\": \"US\",\n    \"postalCode\": \"35061\",\n    \"companyName\": \"DGS VolMAX\",\n    \"website\": \"35061\",\n    \"tags\": [\n        \"laboris\",\n        \"tempor dolore sint voluptate\"\n    ],\n    \"source\": \"public api\",\n    \"customField\": {\n        \"__custom_field_id__\": \"ex amet id nostrud\"\n    }\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:id","host":["https://api.salesgadget.io"],"path":["v1","contacts",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"5c923b9b-a93a-4e04-b0f7-1069d65d4f84","name":"Successful response","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"John\",\n    \"lastName\": \"Deo\",\n    \"name\": \"John Deo\",\n    \"email\": \"john@deo.com\",\n    \"phone\": \"+18887324197\",\n    \"dateOfBirth\": \"1990-09-25\",\n    \"address1\": \"3535 1st St N\",\n    \"city\": \"Dolomite\",\n    \"state\": \"AL\",\n    \"country\": \"US\",\n    \"postalCode\": \"35061\",\n    \"companyName\": \"DGS VolMAX\",\n    \"website\": \"35061\",\n    \"tags\": [\n        \"laboris\",\n        \"tempor dolore sint voluptate\"\n    ],\n    \"source\": \"public api\",\n    \"customField\": {\n        \"__custom_field_id__\": \"ex amet id nostrud\"\n    }\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:id","host":["https://api.salesgadget.io"],"path":["v1","contacts",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"contact\": {\n  \"id\": \"ocQHyuzHvysMo5N5VsXc\",\n  \"locationId\": \"C2QujeCh8ZnC7al2InWR\",\n  \"email\": \"JohnDeo@gmail.com\",\n  \"emailLowerCase\": \"johndeo@gmail.com\",\n  \"fingerprint\": \"91f4f0e0-e2dd-11ea-9b16-53b2d72e8a24\",\n  \"timezone\": \"Asia/Calcutta\",\n  \"country\": \"DE\",\n  \"source\": \"xyz form\",\n  \"dateAdded\": \"2020-10-29T09:31:30.255Z\",\n  \"customField\": [\n   {\n    \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n    \"value\": \"e\"\n   },\n   {\n    \"id\": \"MgobCB14YMVKuE4Ka8p1\",\n    \"value\": \"dolore ut sint\"\n   }\n  ],\n  \"tags\": [\n   \"ullamco\",\n   \"quis exercitation cupidatat veli\"\n  ],\n  \"__moreField__\": \"tempor non est\"\n }\n}"},{"id":"93965a7d-968a-4be0-b4cb-4d85d1e9905a","name":"Unprocessable Entity","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"John\",\n    \"lastName\": \"Deo\",\n    \"name\": \"John Deo\",\n    \"email\": \"john@deo.com\",\n    \"phone\": \"+18887324197\",\n    \"dateOfBirth\": \"1990-09-25\",\n    \"address1\": \"3535 1st St N\",\n    \"city\": \"Dolomite\",\n    \"state\": \"AL\",\n    \"country\": \"US\",\n    \"postalCode\": \"35061\",\n    \"companyName\": \"DGS VolMAX\",\n    \"website\": \"35061\",\n    \"tags\": [\n        \"laboris\",\n        \"tempor dolore sint voluptate\"\n    ],\n    \"source\": \"public api\",\n    \"customField\": {\n        \"__custom_field_id__\": \"ex amet id nostrud\"\n    }\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:id","host":["https://api.salesgadget.io"],"path":["v1","contacts",":id"],"variable":[{"key":"id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": {\n  \"message\": \"The contact id is invalid.\",\n  \"rule\": \"required\"\n }\n}"},{"id":"b5db08e3-0503-4d90-8f03-178287ed7d11","name":"Unauthorized","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"John\",\n    \"lastName\": \"Deo\",\n    \"name\": \"John Deo\",\n    \"email\": \"john@deo.com\",\n    \"phone\": \"+18887324197\",\n    \"dateOfBirth\": \"1990-09-25\",\n    \"address1\": \"3535 1st St N\",\n    \"city\": \"Dolomite\",\n    \"state\": \"AL\",\n    \"country\": \"US\",\n    \"postalCode\": \"35061\",\n    \"companyName\": \"DGS VolMAX\",\n    \"website\": \"35061\",\n    \"tags\": [\n        \"laboris\",\n        \"tempor dolore sint voluptate\"\n    ],\n    \"source\": \"public api\",\n    \"customField\": {\n        \"__custom_field_id__\": \"ex amet id nostrud\"\n    }\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:id","host":["https://api.salesgadget.io"],"path":["v1","contacts",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"}],"_postman_id":"76f83d13-ad5d-46c5-88fe-bd1ab7eb1dca"},{"name":"/v1/contacts/:id","id":"57e4f65e-4bfe-41ac-8cc3-c909aa8e4d9a","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://api.salesgadget.io/v1/contacts/:id","description":"<h4>Delete contact by id.</h4><strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",":id"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"fe9fb3dc-86ed-4a23-894e-b53588a49716","description":{"content":"<p>(Required) Contact Id</p>\n","type":"text/plain"},"type":"any","value":"ocQHyuzHvysMo5N5VsXc","key":"id"}]}},"response":[{"id":"3f24dc88-36ea-4a3e-a446-62a8b96fb48c","name":"Successful response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:id","host":["https://api.salesgadget.io"],"path":["v1","contacts",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"409d439e-f3aa-48b6-b6ff-1541aeaa0e28","name":"Unprocessable Entity","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:id","host":["https://api.salesgadget.io"],"path":["v1","contacts",":id"],"variable":[{"key":"id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": {\n  \"message\": \"The contact id is invalid.\",\n  \"rule\": \"invalid\"\n }\n}"},{"id":"ce36aad2-eb3d-4ca5-8137-6c858d45bc09","name":"Bad Request. please contact support!","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:id","host":["https://api.salesgadget.io"],"path":["v1","contacts",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"ef499305-778b-41c8-8b8c-0672ef6124a9","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:id","host":["https://api.salesgadget.io"],"path":["v1","contacts",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"}],"_postman_id":"57e4f65e-4bfe-41ac-8cc3-c909aa8e4d9a"}],"id":"7db146e1-7fc7-4313-8146-3e34e07f5535","description":"<p>Contact create or update.</p>\n","_postman_id":"7db146e1-7fc7-4313-8146-3e34e07f5535"},{"name":"Custom Field","item":[{"name":"/v1/custom-fields/","id":"c0f68c96-40fd-4311-b923-f560e2e1ef10","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/custom-fields/","description":"<h4>Get all available custom fields.</h4><strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","custom-fields",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[]}},"response":[{"id":"5968ef69-bfdc-4143-9925-114c995aed32","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/custom-fields/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"b44e3eed-0a14-490b-b4ae-095e2c673bf0","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/custom-fields/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"customFields\": [\n  {\n   \"id\": \"ocQHyuzHvysMo5N5VsXc\",\n   \"name\": \"Select\",\n   \"fieldKey\": \"contact.select\",\n   \"placeholder\": \"Placeholder Text\",\n   \"position\": 0,\n   \"dateType\": \"SINGLE_OPTIONS\",\n   \"picklistOptions\": [\n    \"first\",\n    \"first\"\n   ]\n  },\n  {\n   \"id\": \"ocQHyuzHvysMo5N5VsXc\",\n   \"name\": \"Select\",\n   \"fieldKey\": \"contact.select\",\n   \"placeholder\": \"Placeholder Text\",\n   \"position\": 0,\n   \"dateType\": \"SINGLE_OPTIONS\",\n   \"picklistOptions\": [\n    \"first\",\n    \"first\"\n   ]\n  }\n ]\n}"},{"id":"b5062573-062d-4458-bf43-33fedcac6a3c","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/custom-fields/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"}],"_postman_id":"c0f68c96-40fd-4311-b923-f560e2e1ef10"},{"name":"/v1/custom-fields/","id":"5f33707e-abb5-4309-b7d1-4198edd7d0b8","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Custom Field\",\n    \"dataType\": \"TEXT\",\n    \"placeholder\": \"Placeholder Text\",\n    \"options\": [\n        \"first option\",\n        \"last option\"\n    ],\n    \"acceptedFormat\": [\n        \".pdf\",\n        \".docx\",\n        \".jpeg\"\n    ],\n    \"isMultipalFile\": false,\n    \"maxNumberOfFiles\": 2,\n    \"textBoxListOptions\": [\n        {\n            \"label\": \"First\",\n            \"prefillValue\": \"\"\n        },\n        {\n            \"label\": \"First\",\n            \"prefillValue\": \"\"\n        }\n    ],\n    \"position\": 0\n}"},"url":"https://api.salesgadget.io/v1/custom-fields/","description":"<h4>Creating Custom Field.</h4><p>Data Type Fields will allow these options. ex:</p><strong>Options:</strong><ul><li>TEXT</li><li>LARGE_TEXT</li><li>NUMERICAL</li><li>PHONE</li><li>MONETORY</li><li>CHECKBOX</li><li>SINGLE_OPTIONS</li><li>MULTIPLE_OPTIONS</li><li>FLOAT</li><li>TIME</li><li>DATE</li><li>TEXTBOX_LIST</li><li>FILE_UPLOAD</li><li>SIGNATURE</li></ul><strong>Validation:</strong><p><strong>Name</strong> and <strong>Date Type</strong> are required to create every custom field.</p><p>On every data type of field have diffrent validation rules. These are the different validation rules.</p><strong>FILE_UPLOAD:</strong><ul><li><strong>acceptedFormat</strong> *(required) This will allow array of file format.<ul><li>.pdf</li><li>.docx</li><li>.jpeg</li><li>.png</li><li>.gif</li><li>.csv</li><li>all</li></ul></li><li><strong>isMulitpalFile</strong> (optional) it allow <code>true</code> or <code>false</code>. If you want to allow multipal files pass <code>true</code> </li><li><strong>maxNumberOfFiles</strong> (options) It will allow maximum these number of files.</li></ul><strong>SINGLE_OPTIONS / MULTIPLE_OPTIONS / CHECKBOX:</strong><br /><ul><li><strong>options</strong> *(required) This will allow array of options.</li></ul><strong>TEXTBOX_LIST</strong><ul><li><strong>textBoxListOptions:</strong> (required) This will allow array of textbox list. Array will contanis label and prefillValue. ex.: <code>{label\": \"Hello\", \"prefillValue\": \"value\"}</code></li></ul>  <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","custom-fields",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[]}},"response":[{"id":"3189bc96-7771-4bda-bc21-8c3ca9466ad7","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Custom Field\",\n    \"dataType\": \"TEXT\",\n    \"placeholder\": \"Placeholder Text\",\n    \"options\": [\n        \"first option\",\n        \"last option\"\n    ],\n    \"acceptedFormat\": [\n        \".pdf\",\n        \".docx\",\n        \".jpeg\"\n    ],\n    \"isMultipalFile\": false,\n    \"maxNumberOfFiles\": 2,\n    \"textBoxListOptions\": [\n        {\n            \"label\": \"First\",\n            \"prefillValue\": \"\"\n        },\n        {\n            \"label\": \"First\",\n            \"prefillValue\": \"\"\n        }\n    ],\n    \"position\": 0\n}"},"url":"https://api.salesgadget.io/v1/custom-fields/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"ocQHyuzHvysMo5N5VsXc\",\n \"name\": \"Select\",\n \"fieldKey\": \"contact.select\",\n \"placeholder\": \"Placeholder Text\",\n \"position\": 0,\n \"dateType\": \"SINGLE_OPTIONS\",\n \"picklistOptions\": [\n  \"first\",\n  \"first\"\n ]\n}"},{"id":"4822675f-1717-45cf-b4e4-3517e09a6003","name":"Bad Request. please contact support!","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Custom Field\",\n    \"dataType\": \"TEXT\",\n    \"placeholder\": \"Placeholder Text\",\n    \"options\": [\n        \"first option\",\n        \"last option\"\n    ],\n    \"acceptedFormat\": [\n        \".pdf\",\n        \".docx\",\n        \".jpeg\"\n    ],\n    \"isMultipalFile\": false,\n    \"maxNumberOfFiles\": 2,\n    \"textBoxListOptions\": [\n        {\n            \"label\": \"First\",\n            \"prefillValue\": \"\"\n        },\n        {\n            \"label\": \"First\",\n            \"prefillValue\": \"\"\n        }\n    ],\n    \"position\": 0\n}"},"url":"https://api.salesgadget.io/v1/custom-fields/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"899500f8-71a9-4095-b6cd-d598beb6a685","name":"Unprocessable Entity","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Custom Field\",\n    \"dataType\": \"TEXT\",\n    \"placeholder\": \"Placeholder Text\",\n    \"options\": [\n        \"first option\",\n        \"last option\"\n    ],\n    \"acceptedFormat\": [\n        \".pdf\",\n        \".docx\",\n        \".jpeg\"\n    ],\n    \"isMultipalFile\": false,\n    \"maxNumberOfFiles\": 2,\n    \"textBoxListOptions\": [\n        {\n            \"label\": \"First\",\n            \"prefillValue\": \"\"\n        },\n        {\n            \"label\": \"First\",\n            \"prefillValue\": \"\"\n        }\n    ],\n    \"position\": 0\n}"},"url":"https://api.salesgadget.io/v1/custom-fields/"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"name\": {\n  \"message\": \"The name field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"dataType\": {\n  \"message\": \"The data type field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"options or acceptedFormat or textBoxListOptions\": {\n  \"message\": \"The options or acceptedFormat or textBoxListOptions field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"},{"id":"ed48089a-46f2-4d58-b646-baeeaca05708","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Custom Field\",\n    \"dataType\": \"TEXT\",\n    \"placeholder\": \"Placeholder Text\",\n    \"options\": [\n        \"first option\",\n        \"last option\"\n    ],\n    \"acceptedFormat\": [\n        \".pdf\",\n        \".docx\",\n        \".jpeg\"\n    ],\n    \"isMultipalFile\": false,\n    \"maxNumberOfFiles\": 2,\n    \"textBoxListOptions\": [\n        {\n            \"label\": \"First\",\n            \"prefillValue\": \"\"\n        },\n        {\n            \"label\": \"First\",\n            \"prefillValue\": \"\"\n        }\n    ],\n    \"position\": 0\n}"},"url":"https://api.salesgadget.io/v1/custom-fields/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"}],"_postman_id":"5f33707e-abb5-4309-b7d1-4198edd7d0b8"},{"name":"/v1/custom-fields/:customFieldId","id":"aaa641ad-4ffa-4b8b-a9f4-0abfa7674146","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/custom-fields/:customFieldId","description":"<h4>Get custom fields by id</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","custom-fields",":customFieldId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"b6273f06-97c6-4dbc-9ab3-de05dca3cfaa","description":{"content":"<p>(Required) Custom Field Id</p>\n","type":"text/plain"},"type":"any","value":"ocQHyuzHvysMo5N5VsXc","key":"customFieldId"}]}},"response":[{"id":"1d266f22-6a78-4cfe-9a00-9e021bf649c8","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/custom-fields/:customFieldId","host":["https://api.salesgadget.io"],"path":["v1","custom-fields",":customFieldId"],"variable":[{"key":"customFieldId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"5e6912a2-40a1-4119-9422-704af55ee8ef","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/custom-fields/:customFieldId","host":["https://api.salesgadget.io"],"path":["v1","custom-fields",":customFieldId"],"variable":[{"key":"customFieldId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"d830c596-dce8-457a-b13c-e052dc60f68b","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/custom-fields/:customFieldId","host":["https://api.salesgadget.io"],"path":["v1","custom-fields",":customFieldId"],"variable":[{"key":"customFieldId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"ocQHyuzHvysMo5N5VsXc\",\n \"name\": \"Select\",\n \"fieldKey\": \"contact.select\",\n \"placeholder\": \"Placeholder Text\",\n \"position\": 0,\n \"dateType\": \"SINGLE_OPTIONS\",\n \"picklistOptions\": [\n  \"first\",\n  \"first\"\n ]\n}"}],"_postman_id":"aaa641ad-4ffa-4b8b-a9f4-0abfa7674146"},{"name":"/v1/custom-fields/:customFieldId","id":"bc592b47-c61e-4c07-9692-e671a71f97c4","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Custom Field\",\n    \"dataType\": \"TEXT\",\n    \"placeholder\": \"Placeholder Text\",\n    \"options\": [\n        \"first option\",\n        \"last option\"\n    ],\n    \"acceptedFormat\": [\n        \".pdf\",\n        \".docx\",\n        \".jpeg\"\n    ],\n    \"isMultipalFile\": false,\n    \"maxNumberOfFiles\": 2,\n    \"textBoxListOptions\": [\n        {\n            \"label\": \"First\",\n            \"prefillValue\": \"\"\n        },\n        {\n            \"label\": \"First\",\n            \"prefillValue\": \"\"\n        }\n    ],\n    \"position\": 0\n}"},"url":"https://api.salesgadget.io/v1/custom-fields/:customFieldId","description":"<h4>Updating Custom Field.</h4><p>Data Type Fields will allow these options. ex:</p><strong>Options:</strong><ul><li>TEXT</li><li>LARGE_TEXT</li><li>NUMERICAL</li><li>PHONE</li><li>MONETORY</li><li>CHECKBOX</li><li>SINGLE_OPTIONS</li><li>MULTIPLE_OPTIONS</li><li>FLOAT</li><li>TIME</li><li>DATE</li><li>TEXTBOX_LIST</li><li>FILE_UPLOAD</li><li>SIGNATURE</li></ul><strong>Validation:</strong><p><strong>Name</strong> and <strong>Date Type</strong> are required to create every custom field.</p><p>On every data type of field have diffrent validation rules. These are the different validation rules.</p><strong>FILE_UPLOAD:</strong><ul><li><strong>acceptedFormat</strong> *(required) This will allow array of file format.<ul><li>.pdf</li><li>.docx</li><li>.jpeg</li><li>.png</li><li>.gif</li><li>.csv</li><li>all</li></ul></li><li><strong>isMulitpalFile</strong> (optional) it allow <code>true</code> or <code>false</code>. If you want to allow multipal files pass <code>true</code> </li><li><strong>maxNumberOfFiles</strong> (options) It will allow maximum these number of files.</li></ul><strong>SINGLE_OPTIONS / MULTIPLE_OPTIONS / CHECKBOX:</strong><br /><ul><li><strong>options</strong> *(required) This will allow array of options.</li></ul><strong>TEXTBOX_LIST</strong><ul><li><strong>textBoxListOptions:</strong> (required) This will allow array of textbox list. Array will contanis label and prefillValue. ex.: <code>{label\": \"Hello\", \"prefillValue\": \"value\"}</code></li></ul>  <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","custom-fields",":customFieldId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"c01f0187-49c7-495d-a84c-8f4956dba4b9","description":{"content":"<p>(Required) Custom Field Id</p>\n","type":"text/plain"},"type":"any","value":"ocQHyuzHvysMo5N5VsXc","key":"customFieldId"}]}},"response":[{"id":"6a2cfd9e-836f-4988-95f4-91b059ed949e","name":"Unauthorized","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Custom Field\",\n    \"dataType\": \"TEXT\",\n    \"placeholder\": \"Placeholder Text\",\n    \"options\": [\n        \"first option\",\n        \"last option\"\n    ],\n    \"acceptedFormat\": [\n        \".pdf\",\n        \".docx\",\n        \".jpeg\"\n    ],\n    \"isMultipalFile\": false,\n    \"maxNumberOfFiles\": 2,\n    \"textBoxListOptions\": [\n        {\n            \"label\": \"First\",\n            \"prefillValue\": \"\"\n        },\n        {\n            \"label\": \"First\",\n            \"prefillValue\": \"\"\n        }\n    ],\n    \"position\": 0\n}"},"url":{"raw":"https://api.salesgadget.io/v1/custom-fields/:customFieldId","host":["https://api.salesgadget.io"],"path":["v1","custom-fields",":customFieldId"],"variable":[{"key":"customFieldId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"8c3997a3-538a-45d9-b62a-5e300b7e7893","name":"Unprocessable Entity","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Custom Field\",\n    \"dataType\": \"TEXT\",\n    \"placeholder\": \"Placeholder Text\",\n    \"options\": [\n        \"first option\",\n        \"last option\"\n    ],\n    \"acceptedFormat\": [\n        \".pdf\",\n        \".docx\",\n        \".jpeg\"\n    ],\n    \"isMultipalFile\": false,\n    \"maxNumberOfFiles\": 2,\n    \"textBoxListOptions\": [\n        {\n            \"label\": \"First\",\n            \"prefillValue\": \"\"\n        },\n        {\n            \"label\": \"First\",\n            \"prefillValue\": \"\"\n        }\n    ],\n    \"position\": 0\n}"},"url":{"raw":"https://api.salesgadget.io/v1/custom-fields/:customFieldId","host":["https://api.salesgadget.io"],"path":["v1","custom-fields",":customFieldId"],"variable":[{"key":"customFieldId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"name\": {\n  \"message\": \"The name field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"dataType\": {\n  \"message\": \"The data type field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"options or acceptedFormat or textBoxListOptions\": {\n  \"message\": \"The options or acceptedFormat or textBoxListOptions field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"},{"id":"ac19e84e-5a00-4255-a952-8846842fc8d3","name":"Bad Request. please contact support!","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Custom Field\",\n    \"dataType\": \"TEXT\",\n    \"placeholder\": \"Placeholder Text\",\n    \"options\": [\n        \"first option\",\n        \"last option\"\n    ],\n    \"acceptedFormat\": [\n        \".pdf\",\n        \".docx\",\n        \".jpeg\"\n    ],\n    \"isMultipalFile\": false,\n    \"maxNumberOfFiles\": 2,\n    \"textBoxListOptions\": [\n        {\n            \"label\": \"First\",\n            \"prefillValue\": \"\"\n        },\n        {\n            \"label\": \"First\",\n            \"prefillValue\": \"\"\n        }\n    ],\n    \"position\": 0\n}"},"url":{"raw":"https://api.salesgadget.io/v1/custom-fields/:customFieldId","host":["https://api.salesgadget.io"],"path":["v1","custom-fields",":customFieldId"],"variable":[{"key":"customFieldId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"c1f9ca06-43db-4c4f-9524-7e753806f201","name":"Successful response","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Custom Field\",\n    \"dataType\": \"TEXT\",\n    \"placeholder\": \"Placeholder Text\",\n    \"options\": [\n        \"first option\",\n        \"last option\"\n    ],\n    \"acceptedFormat\": [\n        \".pdf\",\n        \".docx\",\n        \".jpeg\"\n    ],\n    \"isMultipalFile\": false,\n    \"maxNumberOfFiles\": 2,\n    \"textBoxListOptions\": [\n        {\n            \"label\": \"First\",\n            \"prefillValue\": \"\"\n        },\n        {\n            \"label\": \"First\",\n            \"prefillValue\": \"\"\n        }\n    ],\n    \"position\": 0\n}"},"url":{"raw":"https://api.salesgadget.io/v1/custom-fields/:customFieldId","host":["https://api.salesgadget.io"],"path":["v1","custom-fields",":customFieldId"],"variable":[{"key":"customFieldId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"ocQHyuzHvysMo5N5VsXc\",\n \"name\": \"Select\",\n \"fieldKey\": \"contact.select\",\n \"placeholder\": \"Placeholder Text\",\n \"position\": 0,\n \"dateType\": \"SINGLE_OPTIONS\",\n \"picklistOptions\": [\n  \"first\",\n  \"first\"\n ]\n}"}],"_postman_id":"bc592b47-c61e-4c07-9692-e671a71f97c4"},{"name":"/v1/custom-fields/:customFieldId","id":"9607c194-9743-4a4b-9588-5552e21ab137","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://api.salesgadget.io/v1/custom-fields/:customFieldId","description":"<h4>Delete one of custom fields.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","custom-fields",":customFieldId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"33fa9fde-1119-4496-a31f-e772e8dbe3af","description":{"content":"<p>(Required) Custom Field Id</p>\n","type":"text/plain"},"type":"any","value":"ocQHyuzHvysMo5N5VsXc","key":"customFieldId"}]}},"response":[{"id":"963e2fa9-7401-40ed-9f9a-6c59494aacba","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/custom-fields/:customFieldId","host":["https://api.salesgadget.io"],"path":["v1","custom-fields",":customFieldId"],"variable":[{"key":"customFieldId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"9f56851e-4b45-45ba-89b2-23a1bf2c05da","name":"Bad Request. please contact support!","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/custom-fields/:customFieldId","host":["https://api.salesgadget.io"],"path":["v1","custom-fields",":customFieldId"],"variable":[{"key":"customFieldId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"b54b356a-9806-4cc8-a63e-0922daa3e926","name":"Unprocessable Entity","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/custom-fields/:customFieldId","host":["https://api.salesgadget.io"],"path":["v1","custom-fields",":customFieldId"],"variable":[{"key":"customFieldId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"customFieldId\": {\n  \"message\": \"The custom field id is invalid.\",\n  \"rule\": \"invalid\"\n }\n}"},{"id":"ef1d774f-1f9c-4a32-a367-ec5cae587513","name":"Successful response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/custom-fields/:customFieldId","host":["https://api.salesgadget.io"],"path":["v1","custom-fields",":customFieldId"],"variable":[{"key":"customFieldId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"\""}],"_postman_id":"9607c194-9743-4a4b-9588-5552e21ab137"}],"id":"ece562ed-1fa8-4b17-bc02-f508921d62de","_postman_id":"ece562ed-1fa8-4b17-bc02-f508921d62de","description":""},{"name":"Custom Value","item":[{"name":"/v1/custom-values/","id":"acfac31c-a97a-4d63-a3a1-064ed92835a9","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/custom-values/","description":"<h4>Get all available custom values.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","custom-values",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[]}},"response":[{"id":"1bd518e1-5c73-447a-83ab-09c26de362e1","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/custom-values/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"ab7e538c-4e6f-4404-a479-cc657b9a9267","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/custom-values/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"customFields\": [\n  {\n   \"id\": \"ocQHyuzHvysMo5N5VsXc\",\n   \"name\": \"Select\",\n   \"fieldKey\": \"{{ custom_value.test }}\",\n   \"value\": \"test\"\n  },\n  {\n   \"id\": \"ocQHyuzHvysMo5N5VsXc\",\n   \"name\": \"Select\",\n   \"fieldKey\": \"{{ custom_value.test }}\",\n   \"value\": \"test\"\n  }\n ]\n}"},{"id":"c3bc4ece-260c-42a9-8796-379082c6f915","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/custom-values/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"}],"_postman_id":"acfac31c-a97a-4d63-a3a1-064ed92835a9"},{"name":"/v1/custom-values/","id":"62b031ed-76af-4aac-b559-d51707910253","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Custom Field\",\n    \"value\": \"Value\"\n}"},"url":"https://api.salesgadget.io/v1/custom-values/","description":"<h4>Create custom value.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","custom-values",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[]}},"response":[{"id":"6c773ece-6eff-4ea6-96e8-639fa2ad57c3","name":"Unprocessable Entity","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Custom Field\",\n    \"value\": \"Value\"\n}"},"url":"https://api.salesgadget.io/v1/custom-values/"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"name\": {\n  \"message\": \"The name field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"value\": {\n  \"message\": \"The value field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"},{"id":"6c9366b3-8ea1-4ffe-ae1c-0ea649513987","name":"Bad Request. please contact support!","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Custom Field\",\n    \"value\": \"Value\"\n}"},"url":"https://api.salesgadget.io/v1/custom-values/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"aba858d8-dac2-48c4-a431-b74357172097","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Custom Field\",\n    \"value\": \"Value\"\n}"},"url":"https://api.salesgadget.io/v1/custom-values/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"ocQHyuzHvysMo5N5VsXc\",\n \"name\": \"Select\",\n \"fieldKey\": \"{{ custom_value.test }}\",\n \"value\": \"test\"\n}"},{"id":"f82e66b7-0581-42c3-8574-983424e04a67","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Custom Field\",\n    \"value\": \"Value\"\n}"},"url":"https://api.salesgadget.io/v1/custom-values/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"}],"_postman_id":"62b031ed-76af-4aac-b559-d51707910253"},{"name":"/v1/custom-values/:customValueId","id":"ab78f087-a694-4851-83be-d7b3509c9a73","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/custom-values/:customValueId","description":"<h4>Get custom value by id.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","custom-values",":customValueId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"245709ab-f9b1-4b58-9f1d-4700de4eda40","description":{"content":"<p>(Required) Custom Value Id</p>\n","type":"text/plain"},"type":"any","value":"ocQHyuzHvysMo5N5VsXc","key":"customValueId"}]}},"response":[{"id":"7c67831d-c7eb-4bb8-aa5d-baca627283c6","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/custom-values/:customValueId","host":["https://api.salesgadget.io"],"path":["v1","custom-values",":customValueId"],"variable":[{"key":"customValueId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"a89d8994-e3fc-49a3-a570-ba674db1baa5","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/custom-values/:customValueId","host":["https://api.salesgadget.io"],"path":["v1","custom-values",":customValueId"],"variable":[{"key":"customValueId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"c0dfc724-d99e-4d08-bbb2-567695266175","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/custom-values/:customValueId","host":["https://api.salesgadget.io"],"path":["v1","custom-values",":customValueId"],"variable":[{"key":"customValueId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"ocQHyuzHvysMo5N5VsXc\",\n \"name\": \"Select\",\n \"fieldKey\": \"{{ custom_value.test }}\",\n \"value\": \"test\"\n}"}],"_postman_id":"ab78f087-a694-4851-83be-d7b3509c9a73"},{"name":"/v1/custom-values/:customValueId","id":"3d12f00e-14ed-4af8-802a-446a5c91b6f1","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Custom Field\",\n    \"value\": \"Value\"\n}"},"url":"https://api.salesgadget.io/v1/custom-values/:customValueId","description":"<h4>Update custom value.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","custom-values",":customValueId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"da336253-ad9b-484f-a5a5-261baf3f2249","description":{"content":"<p>(Required) Custom Value Id</p>\n","type":"text/plain"},"type":"any","value":"ocQHyuzHvysMo5N5VsXc","key":"customValueId"}]}},"response":[{"id":"1bb06afc-61c3-44d8-851a-552ff2c86828","name":"Unprocessable Entity","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Custom Field\",\n    \"value\": \"Value\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/custom-values/:customValueId","host":["https://api.salesgadget.io"],"path":["v1","custom-values",":customValueId"],"variable":[{"key":"customValueId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"name\": {\n  \"message\": \"The name field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"value\": {\n  \"message\": \"The value field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"},{"id":"5ed104c8-37a3-4027-8d32-9854da412d1f","name":"Successful response","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Custom Field\",\n    \"value\": \"Value\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/custom-values/:customValueId","host":["https://api.salesgadget.io"],"path":["v1","custom-values",":customValueId"],"variable":[{"key":"customValueId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"ocQHyuzHvysMo5N5VsXc\",\n \"name\": \"Select\",\n \"fieldKey\": \"{{ custom_value.test }}\",\n \"value\": \"test\"\n}"},{"id":"68d83473-5992-4c8f-8f2c-6e79049d9dda","name":"Bad Request. please contact support!","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Custom Field\",\n    \"value\": \"Value\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/custom-values/:customValueId","host":["https://api.salesgadget.io"],"path":["v1","custom-values",":customValueId"],"variable":[{"key":"customValueId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"82f87a48-ed0b-44fa-af1b-9c44efe052e8","name":"Unauthorized","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Custom Field\",\n    \"value\": \"Value\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/custom-values/:customValueId","host":["https://api.salesgadget.io"],"path":["v1","custom-values",":customValueId"],"variable":[{"key":"customValueId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"}],"_postman_id":"3d12f00e-14ed-4af8-802a-446a5c91b6f1"},{"name":"/v1/custom-values/:customValueId","id":"c1c08208-0caf-40aa-8b94-a8d4a74846c4","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://api.salesgadget.io/v1/custom-values/:customValueId","description":"<h4>Delete one of custom value.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","custom-values",":customValueId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"60749812-0ac7-4da2-86ac-54bf53f6ce24","description":{"content":"<p>(Required) Custom Value Id</p>\n","type":"text/plain"},"type":"any","value":"ocQHyuzHvysMo5N5VsXc","key":"customValueId"}]}},"response":[{"id":"3b6bbf06-6a88-4628-9d1b-2367a3453444","name":"Unprocessable Entity","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/custom-values/:customValueId","host":["https://api.salesgadget.io"],"path":["v1","custom-values",":customValueId"],"variable":[{"key":"customValueId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"customValueId\": {\n  \"message\": \"The custom field id is invalid.\",\n  \"rule\": \"invalid\"\n }\n}"},{"id":"5e141334-3122-410a-bf69-7ec13b1f8927","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/custom-values/:customValueId","host":["https://api.salesgadget.io"],"path":["v1","custom-values",":customValueId"],"variable":[{"key":"customValueId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"7f980701-b753-40f0-957a-af9b006b1dd6","name":"Successful response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/custom-values/:customValueId","host":["https://api.salesgadget.io"],"path":["v1","custom-values",":customValueId"],"variable":[{"key":"customValueId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"\""},{"id":"96674ecd-d6cc-4c9f-a8bd-5759b80e2d0d","name":"Bad Request. please contact support!","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/custom-values/:customValueId","host":["https://api.salesgadget.io"],"path":["v1","custom-values",":customValueId"],"variable":[{"key":"customValueId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"}],"_postman_id":"c1c08208-0caf-40aa-8b94-a8d4a74846c4"}],"id":"86a2f06b-5d8c-4601-b39f-3a6884fa5c46","_postman_id":"86a2f06b-5d8c-4601-b39f-3a6884fa5c46","description":""},{"name":"Form","item":[{"name":"/v1/forms/","id":"47a4d25a-a883-419b-b3dc-2bad5d01f457","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/forms/","description":"<h4>Get Forms.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","forms",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[]}},"response":[{"id":"25e2bbb4-380c-4bf3-acfb-a26d8242dfc4","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/forms/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"cedec256-3a8b-488f-8a55-848d8d91dca3","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/forms/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"forms\": [\n  {\n   \"id\": \"uP9CBUzKKZkP5BtkHeK3\",\n   \"name\": \"Form 1\"\n  },\n  {\n   \"id\": \"uP9CBUzKKZkP5BtkHeK3\",\n   \"name\": \"Form 1\"\n  }\n ]\n}"},{"id":"ed4bafc3-a5e7-4b95-9463-c01e23e6facf","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/forms/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"}],"_postman_id":"47a4d25a-a883-419b-b3dc-2bad5d01f457"},{"name":"/v1/forms/submissions","id":"971d6c7b-998f-4c00-8d32-2857f473b69e","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/forms/submissions?page=1&limit=20&formId=jjusM6EOngDExnbo2DbU&q=john@deo.com&startAt=2020-11-14&endAt=2020-12-14","description":"<h4>Get form submissions.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","forms","submissions"],"host":["https://api.salesgadget.io"],"query":[{"description":{"content":"<p>Page No. By default it will be 1</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Limit Per Page records count. will allow maximum up to 100 and default will be 20</p>\n","type":"text/plain"},"key":"limit","value":"20"},{"description":{"content":"<p>Filter submission by form id</p>\n","type":"text/plain"},"key":"formId","value":"jjusM6EOngDExnbo2DbU"},{"description":{"content":"<p>Filter by contactId, name, email or phone no.</p>\n","type":"text/plain"},"key":"q","value":"john@deo.com"},{"description":{"content":"<p>Get submission by starting of this date. By default it will be same date of last month.</p>\n","type":"text/plain"},"key":"startAt","value":"2020-11-14"},{"description":{"content":"<p>Get submission by ending of this date. By default it will be current date.</p>\n","type":"text/plain"},"key":"endAt","value":"2020-12-14"}],"variable":[]}},"response":[{"id":"0495f5c8-80de-41dd-89a4-5366737406d4","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/forms/submissions?page=1&limit=20&formId=jjusM6EOngDExnbo2DbU&q=john@deo.com&startAt=2020-11-14&endAt=2020-12-14","host":["https://api.salesgadget.io"],"path":["v1","forms","submissions"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"20"},{"key":"formId","value":"jjusM6EOngDExnbo2DbU"},{"key":"q","value":"john@deo.com"},{"key":"startAt","value":"2020-11-14"},{"key":"endAt","value":"2020-12-14"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"3ef4f408-02a7-41c0-80ad-4ede2e11bb4c","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/forms/submissions?page=1&limit=20&formId=jjusM6EOngDExnbo2DbU&q=john@deo.com&startAt=2020-11-14&endAt=2020-12-14","host":["https://api.salesgadget.io"],"path":["v1","forms","submissions"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"20"},{"key":"formId","value":"jjusM6EOngDExnbo2DbU"},{"key":"q","value":"john@deo.com"},{"key":"startAt","value":"2020-11-14"},{"key":"endAt","value":"2020-12-14"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"ac5c3562-a6a4-4c4f-ab9a-45908cb2acac","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/forms/submissions?page=1&limit=20&formId=jjusM6EOngDExnbo2DbU&q=john@deo.com&startAt=2020-11-14&endAt=2020-12-14","host":["https://api.salesgadget.io"],"path":["v1","forms","submissions"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"20"},{"key":"formId","value":"jjusM6EOngDExnbo2DbU"},{"key":"q","value":"john@deo.com"},{"key":"startAt","value":"2020-11-14"},{"key":"endAt","value":"2020-12-14"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"submissions\": [\n  {\n   \"id\": \"be759b9a-c3ec-4b29-ba07-fc3c89c77673\",\n   \"contactId\": \"9NkT25Vor1v4aQatFsv2\",\n   \"__submissions_other_field__\": \"john@deo.com\",\n   \"__custom_field_id__\": \"20\",\n   \"createdAt\": \"2020-11-01T18:02:21.000Z\",\n   \"formId\": \"jjusM6EOngDExnbo2DbU\",\n   \"pageDetails\": {\n    \"url\": \"https://www.gohighlevel.com/\",\n    \"source\": \"Social Media\",\n    \"referrer\": \"http://m.facebook.com\",\n    \"fbclid\": \"IwAR1JoTTltt3EKJE3O-MrQij_lTeA6BKGTy8M2wKepSzs4oUbTYhL2Lns18w\"\n   }\n  },\n  {\n   \"id\": \"be759b9a-c3ec-4b29-ba07-fc3c89c77673\",\n   \"contactId\": \"9NkT25Vor1v4aQatFsv2\",\n   \"__submissions_other_field__\": \"john@deo.com\",\n   \"__custom_field_id__\": \"20\",\n   \"createdAt\": \"2020-11-01T18:02:21.000Z\",\n   \"formId\": \"jjusM6EOngDExnbo2DbU\",\n   \"pageDetails\": {\n    \"url\": \"https://www.gohighlevel.com/\",\n    \"source\": \"Social Media\",\n    \"referrer\": \"http://m.facebook.com\",\n    \"fbclid\": \"IwAR1JoTTltt3EKJE3O-MrQij_lTeA6BKGTy8M2wKepSzs4oUbTYhL2Lns18w\"\n   }\n  }\n ],\n \"meta\": {\n  \"total\": 250,\n  \"currentPage\": 2,\n  \"nextPage\": 3,\n  \"prevPage\": 1\n }\n}"}],"_postman_id":"971d6c7b-998f-4c00-8d32-2857f473b69e"}],"id":"7837f4ad-2b8a-4399-86cc-b547186116f3","_postman_id":"7837f4ad-2b8a-4399-86cc-b547186116f3","description":""},{"name":"Pipeline","item":[{"name":"Opportunity","item":[{"name":"/v1/pipelines/:pipelineId/opportunities","id":"acc9aadb-8829-4bf2-b9ed-9e4412cc8916","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities?startAfterId=UIaE1WjAwWKdlyD7osQI&startAfter=1603870249758&limit=20","description":"<h4>Get opportunities.</h4><p></p><p>Allowed filter in the query</p><table> <thead> <tr> <th>Fields</th> <th>Types</th> <th>Example</th> <th>Allowed Options</th> </tr></thead> <tbody> <tr> <td>stageId</td><td>string</td><td>7915dedc-8f18-44d5-8bc3-77c04e994a10</td><td></td></tr><tr> <td>monetaryValue</td><td>number</td><td>220</td><td></td></tr><tr> <td>assignedTo</td><td>string</td><td>082goXVW3lIExEQPOnd3</td><td></td></tr><tr> <td>campaignId</td><td>string</td><td>Y2I9XM7aO1hncuSOlc9L</td><td></td></tr><tr> <td>startDate</td><td>number</td><td>epoch timestamp. for ex: <code>1598107050459</code></td><td></td></tr><tr> <td>endDate</td><td>number</td><td>epoch timestamp. for ex: <code>1614091050459</code></td><td></td></tr><tr> <td>query</td><td>string</td><td><code>?query=john@deo.com</code></td><td></td></tr><tr> <td>status</td><td>string</td><td>open</td><td> <ul> <li>open</li><li>won</li><li>lost</li><li>abandoned</li></ul> </td></tr></tbody> </table><br /><strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","pipelines",":pipelineId","opportunities"],"host":["https://api.salesgadget.io"],"query":[{"description":{"content":"<p>Start After Id</p>\n","type":"text/plain"},"key":"startAfterId","value":"UIaE1WjAwWKdlyD7osQI"},{"description":{"content":"<p>Start After</p>\n","type":"text/plain"},"key":"startAfter","value":"1603870249758"},{"description":{"content":"<p>Limit Per Page records count. will allow maximum up to 100 and default will be 20</p>\n","type":"text/plain"},"key":"limit","value":"20"}],"variable":[{"id":"c2ae8ee6-a63f-4e92-93d1-e1d2ec59f902","description":{"content":"<p>(Required) Pipeline Id</p>\n","type":"text/plain"},"type":"any","value":"bCkKGpDsyPP4peuKowkG","key":"pipelineId"}]}},"response":[{"id":"57e9ff9e-0e24-494b-b1cb-02326d0375fb","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities?startAfterId=UIaE1WjAwWKdlyD7osQI&startAfter=1603870249758&limit=20","host":["https://api.salesgadget.io"],"path":["v1","pipelines",":pipelineId","opportunities"],"query":[{"key":"startAfterId","value":"UIaE1WjAwWKdlyD7osQI"},{"key":"startAfter","value":"1603870249758"},{"key":"limit","value":"20"}],"variable":[{"key":"pipelineId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"63546c8b-160d-4879-ac3a-711402469c83","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities?startAfterId=UIaE1WjAwWKdlyD7osQI&startAfter=1603870249758&limit=20","host":["https://api.salesgadget.io"],"path":["v1","pipelines",":pipelineId","opportunities"],"query":[{"key":"startAfterId","value":"UIaE1WjAwWKdlyD7osQI"},{"key":"startAfter","value":"1603870249758"},{"key":"limit","value":"20"}],"variable":[{"key":"pipelineId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"de697f52-0d3c-497f-9fe6-fcb3469c7d2d","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities?startAfterId=UIaE1WjAwWKdlyD7osQI&startAfter=1603870249758&limit=20","host":["https://api.salesgadget.io"],"path":["v1","pipelines",":pipelineId","opportunities"],"query":[{"key":"startAfterId","value":"UIaE1WjAwWKdlyD7osQI"},{"key":"startAfter","value":"1603870249758"},{"key":"limit","value":"20"}],"variable":[{"key":"pipelineId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"opportunities\": [\n  {\n   \"id\": \"7XExm1wr8gFeZpl6rQny\",\n   \"name\": \"First Opp\",\n   \"monetaryValue\": 120,\n   \"pipelineId\": \"bCkKGpDsyPP4peuKowkG\",\n   \"pipelineStageId\": \"8b897c8f-b859-49c1-88f2-ed590708a85c\",\n   \"assignedTo\": \"hxHGVRb1YJUscrCB8eXK\",\n   \"status\": \"open\",\n   \"source\": \"form\",\n   \"lastStatusChangeAt\": \"2020-10-29T09:39:35.472Z\",\n   \"createdAt\": \"2020-10-29T09:31:30.255Z\",\n   \"updatedAt\": \"2020-10-29T09:44:02.263Z\",\n   \"contact\": {\n    \"id\": \"byMEV0NQinDhq8ZfiOi2\",\n    \"name\": \"John Deo\",\n    \"companyName\": \"Tesla Inc\",\n    \"email\": \"john@deo.com\",\n    \"phone\": \"+1202-555-0107\",\n    \"tags\": [\n     \"voluptate\",\n     \"adipisicing Excepteur anim\"\n    ]\n   }\n  },\n  {\n   \"id\": \"7XExm1wr8gFeZpl6rQny\",\n   \"name\": \"First Opp\",\n   \"monetaryValue\": 120,\n   \"pipelineId\": \"bCkKGpDsyPP4peuKowkG\",\n   \"pipelineStageId\": \"8b897c8f-b859-49c1-88f2-ed590708a85c\",\n   \"assignedTo\": \"hxHGVRb1YJUscrCB8eXK\",\n   \"status\": \"open\",\n   \"source\": \"form\",\n   \"lastStatusChangeAt\": \"2020-10-29T09:39:35.472Z\",\n   \"createdAt\": \"2020-10-29T09:31:30.255Z\",\n   \"updatedAt\": \"2020-10-29T09:44:02.263Z\",\n   \"contact\": {\n    \"id\": \"byMEV0NQinDhq8ZfiOi2\",\n    \"name\": \"John Deo\",\n    \"companyName\": \"Tesla Inc\",\n    \"email\": \"john@deo.com\",\n    \"phone\": \"+1202-555-0107\",\n    \"tags\": [\n     \"consectetur\",\n     \"sed incididunt quis\"\n    ]\n   }\n  }\n ],\n \"meta\": {\n  \"total\": 250,\n  \"nextPageUrl\": \"https://rest.gohighlevel.com/v1/pipelines/bCkKGpDsyPP4peuKowkG/opportunities?limit=1&startAfter=1603870249758&startAfterId=UIaE1WjAwWKdlyD7osQI\",\n  \"startAfterId\": \"UIaE1WjAwWKdlyD7osQI\",\n  \"startAfter\": 1603870249758,\n  \"currentPage\": 2,\n  \"nextPage\": 3,\n  \"prevPage\": 1\n }\n}"}],"_postman_id":"acc9aadb-8829-4bf2-b9ed-9e4412cc8916"},{"name":"/v1/pipelines/:pipelineId/opportunities/:opportunityId","id":"b86c6f8d-4467-47e9-b27d-773fc02d1bda","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/:opportunityId","description":"<h4>Get opportunity by id.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","pipelines",":pipelineId","opportunities",":opportunityId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"9c124360-7844-4faa-aecf-e4e0b34e4f3f","description":{"content":"<p>(Required) Pipeline Id</p>\n","type":"text/plain"},"type":"any","value":"bCkKGpDsyPP4peuKowkG","key":"pipelineId"},{"id":"507c4ee7-d0ef-4d3d-a239-a54c8c525026","description":{"content":"<p>(Required) Opportunity Id</p>\n","type":"text/plain"},"type":"any","value":"123akv4LFn6C9frZoy3e","key":"opportunityId"}]}},"response":[{"id":"16cbf01a-fd78-46ed-82de-e3562449bbe9","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/:opportunityId","host":["https://api.salesgadget.io"],"path":["v1","pipelines",":pipelineId","opportunities",":opportunityId"],"variable":[{"key":"pipelineId"},{"key":"opportunityId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"7XExm1wr8gFeZpl6rQny\",\n \"name\": \"First Opp\",\n \"monetaryValue\": 120,\n \"pipelineId\": \"bCkKGpDsyPP4peuKowkG\",\n \"pipelineStageId\": \"8b897c8f-b859-49c1-88f2-ed590708a85c\",\n \"assignedTo\": \"hxHGVRb1YJUscrCB8eXK\",\n \"status\": \"open\",\n \"source\": \"form\",\n \"lastStatusChangeAt\": \"2020-10-29T09:39:35.472Z\",\n \"createdAt\": \"2020-10-29T09:31:30.255Z\",\n \"updatedAt\": \"2020-10-29T09:44:02.263Z\",\n \"contact\": {\n  \"id\": \"byMEV0NQinDhq8ZfiOi2\",\n  \"name\": \"John Deo\",\n  \"companyName\": \"Tesla Inc\",\n  \"email\": \"john@deo.com\",\n  \"phone\": \"+1202-555-0107\",\n  \"tags\": [\n   \"et ea dolor irure labore\",\n   \"voluptate Ut Excepteur ea\"\n  ]\n }\n}"},{"id":"1f2a4206-a0a0-4ef4-90af-58f75185d172","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/:opportunityId","host":["https://api.salesgadget.io"],"path":["v1","pipelines",":pipelineId","opportunities",":opportunityId"],"variable":[{"key":"pipelineId"},{"key":"opportunityId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"ebbc926d-4df6-46ac-abd9-b774a53989d7","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/:opportunityId","host":["https://api.salesgadget.io"],"path":["v1","pipelines",":pipelineId","opportunities",":opportunityId"],"variable":[{"key":"pipelineId"},{"key":"opportunityId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"}],"_postman_id":"b86c6f8d-4467-47e9-b27d-773fc02d1bda"},{"name":"/v1/pipelines/:pipelineId/opportunities/:opportunityId","id":"2501e587-7720-4041-bd40-68b85d012784","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"First Opp\",\n    \"status\": \"open\",\n    \"stageId\": \"7915dedc-8f18-44d5-8bc3-77c04e994a10\",\n    \"email\": \"elon@musk.com\",\n    \"phone\": \"+1202-555-0107\",\n    \"assignedTo\": \"082goXVW3lIExEQPOnd3\",\n    \"monetaryValue\": 122.22,\n    \"source\": \"public api\",\n    \"contactId\": \"mTkSCb1UBjb5tk4OvB69\",\n    \"name\": \"Elon Musk\",\n    \"companyName\": \"Tesla\",\n    \"tags\": [\n        \"mollit ex veniam\",\n        \"sit a\"\n    ]\n}"},"url":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/:opportunityId","description":"<h4>Update Opportunity.</h4><p>Required JSON fields in the body</p><table> <thead> <tr> <th>Fields</th> <th>Types</th> <th>Example</th> <th>Allowed Options</th> </tr></thead> <tbody> <tr> <td>title</td><td>string</td><td>First Opps</td><td></td></tr><tr> <td>stageId</td><td>string</td><td>7915dedc-8f18-44d5-8bc3-77c04e994a10</td><td></td></tr><tr> <td>status</td><td>string</td><td>open</td><td> <ul> <li>open</li><li>won</li><li>lost</li><li>abandoned</li></ul> </td></tr></tbody></table><p>Allowed JSON fields in the body</p><table> <thead> <tr> <th>Fields</th> <th>Types</th> <th>Example</th> </tr></thead> <tbody> <tr> <td>monetaryValue</td><td>number</td><td>220</td></tr><tr> <td>assignedTo</td><td>string</td><td>082goXVW3lIExEQPOnd3</td></tr><tr> <td>contactId</td><td>string</td><td>mTkSCb1UBjb5tk4OvB69</td></tr><tr> <td>email</td><td>string</td><td>john@deo.com</td></tr><tr> <td>name</td><td>string</td><td>John Deo</td></tr><tr> <td>phone</td><td>string</td><td>+1202-555-0107</td></tr><tr> <td>tags</td><td>array</td><td><code>[\"tag1\", \"tag2\"]</code></td></tr><tr> <td>companyName</td><td>string</td><td>Tesla Inc</td></tr></tbody> </table> <br /><strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","pipelines",":pipelineId","opportunities",":opportunityId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"f16c08a7-484b-4187-8165-72ecf1f59959","description":{"content":"<p>(Required) Pipeline Id</p>\n","type":"text/plain"},"type":"any","value":"bCkKGpDsyPP4peuKowkG","key":"pipelineId"},{"id":"3fb3982b-ff64-4328-bc0d-70879bdc9768","description":{"content":"<p>(Required) Opportunity Id</p>\n","type":"text/plain"},"type":"any","value":"123akv4LFn6C9frZoy3e","key":"opportunityId"}]}},"response":[{"id":"08680c34-266a-4fd1-b550-e32c058c8f5c","name":"Unauthorized","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"First Opp\",\n    \"status\": \"open\",\n    \"stageId\": \"7915dedc-8f18-44d5-8bc3-77c04e994a10\",\n    \"email\": \"elon@musk.com\",\n    \"phone\": \"+1202-555-0107\",\n    \"assignedTo\": \"082goXVW3lIExEQPOnd3\",\n    \"monetaryValue\": 122.22,\n    \"source\": \"public api\",\n    \"contactId\": \"mTkSCb1UBjb5tk4OvB69\",\n    \"name\": \"Elon Musk\",\n    \"companyName\": \"Tesla\",\n    \"tags\": [\n        \"laboris eiusmod nisi aliqu\",\n        \"labore veniam\"\n    ]\n}"},"url":{"raw":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/:opportunityId","host":["https://api.salesgadget.io"],"path":["v1","pipelines",":pipelineId","opportunities",":opportunityId"],"variable":[{"key":"pipelineId"},{"key":"opportunityId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"2bc6e120-efc4-4324-9d25-0a00040afeb5","name":"Bad Request. please contact support!","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"First Opp\",\n    \"status\": \"open\",\n    \"stageId\": \"7915dedc-8f18-44d5-8bc3-77c04e994a10\",\n    \"email\": \"elon@musk.com\",\n    \"phone\": \"+1202-555-0107\",\n    \"assignedTo\": \"082goXVW3lIExEQPOnd3\",\n    \"monetaryValue\": 122.22,\n    \"source\": \"public api\",\n    \"contactId\": \"mTkSCb1UBjb5tk4OvB69\",\n    \"name\": \"Elon Musk\",\n    \"companyName\": \"Tesla\",\n    \"tags\": [\n        \"laboris eiusmod nisi aliqu\",\n        \"labore veniam\"\n    ]\n}"},"url":{"raw":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/:opportunityId","host":["https://api.salesgadget.io"],"path":["v1","pipelines",":pipelineId","opportunities",":opportunityId"],"variable":[{"key":"pipelineId"},{"key":"opportunityId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"ed35352e-0698-4194-aa5a-b7e04adba87c","name":"Successful response","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"First Opp\",\n    \"status\": \"open\",\n    \"stageId\": \"7915dedc-8f18-44d5-8bc3-77c04e994a10\",\n    \"email\": \"elon@musk.com\",\n    \"phone\": \"+1202-555-0107\",\n    \"assignedTo\": \"082goXVW3lIExEQPOnd3\",\n    \"monetaryValue\": 122.22,\n    \"source\": \"public api\",\n    \"contactId\": \"mTkSCb1UBjb5tk4OvB69\",\n    \"name\": \"Elon Musk\",\n    \"companyName\": \"Tesla\",\n    \"tags\": [\n        \"laboris eiusmod nisi aliqu\",\n        \"labore veniam\"\n    ]\n}"},"url":{"raw":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/:opportunityId","host":["https://api.salesgadget.io"],"path":["v1","pipelines",":pipelineId","opportunities",":opportunityId"],"variable":[{"key":"pipelineId"},{"key":"opportunityId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"7XExm1wr8gFeZpl6rQny\",\n \"name\": \"First Opp\",\n \"monetaryValue\": 120,\n \"pipelineId\": \"bCkKGpDsyPP4peuKowkG\",\n \"pipelineStageId\": \"8b897c8f-b859-49c1-88f2-ed590708a85c\",\n \"assignedTo\": \"hxHGVRb1YJUscrCB8eXK\",\n \"status\": \"open\",\n \"source\": \"form\",\n \"lastStatusChangeAt\": \"2020-10-29T09:39:35.472Z\",\n \"createdAt\": \"2020-10-29T09:31:30.255Z\",\n \"updatedAt\": \"2020-10-29T09:44:02.263Z\",\n \"contact\": {\n  \"id\": \"byMEV0NQinDhq8ZfiOi2\",\n  \"name\": \"John Deo\",\n  \"companyName\": \"Tesla Inc\",\n  \"email\": \"john@deo.com\",\n  \"phone\": \"+1202-555-0107\",\n  \"tags\": [\n   \"et ea dolor irure labore\",\n   \"voluptate Ut Excepteur ea\"\n  ]\n }\n}"},{"id":"f52c4c81-56ce-47ce-8607-58d861683423","name":"Unprocessable Entity","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"First Opp\",\n    \"status\": \"open\",\n    \"stageId\": \"7915dedc-8f18-44d5-8bc3-77c04e994a10\",\n    \"email\": \"elon@musk.com\",\n    \"phone\": \"+1202-555-0107\",\n    \"assignedTo\": \"082goXVW3lIExEQPOnd3\",\n    \"monetaryValue\": 122.22,\n    \"source\": \"public api\",\n    \"contactId\": \"mTkSCb1UBjb5tk4OvB69\",\n    \"name\": \"Elon Musk\",\n    \"companyName\": \"Tesla\",\n    \"tags\": [\n        \"laboris eiusmod nisi aliqu\",\n        \"labore veniam\"\n    ]\n}"},"url":{"raw":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/:opportunityId","host":["https://api.salesgadget.io"],"path":["v1","pipelines",":pipelineId","opportunities",":opportunityId"],"variable":[{"key":"pipelineId"},{"key":"opportunityId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"title\": {\n  \"message\": \"The title field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"status\": {\n  \"message\": \"The status field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"stageId\": {\n  \"message\": \"The stage id field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"contactId or email\": {\n  \"message\": \"The contactId or email field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"}],"_postman_id":"2501e587-7720-4041-bd40-68b85d012784"},{"name":"/v1/pipelines/:pipelineId/opportunities/:opportunityId","id":"75b14132-48a3-4cfb-a4ac-da6ab5086321","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/:opportunityId","description":"<h4>Delete opportunity.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","pipelines",":pipelineId","opportunities",":opportunityId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"32d7ac01-f6b5-4df6-9676-98fe74b770de","description":{"content":"<p>(Required) Pipeline Id</p>\n","type":"text/plain"},"type":"any","value":"bCkKGpDsyPP4peuKowkG","key":"pipelineId"},{"id":"6159b65b-54c8-42ef-9d0b-8e7fde919882","description":{"content":"<p>(Required) Opportunity Id</p>\n","type":"text/plain"},"type":"any","value":"123akv4LFn6C9frZoy3e","key":"opportunityId"}]}},"response":[{"id":"054af9b5-6950-458f-9b74-4e9d77bb9a28","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/:opportunityId","host":["https://api.salesgadget.io"],"path":["v1","pipelines",":pipelineId","opportunities",":opportunityId"],"variable":[{"key":"pipelineId"},{"key":"opportunityId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"089ec43a-bc4e-450f-be03-1f3d9261f3b6","name":"Bad Request. please contact support!","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/:opportunityId","host":["https://api.salesgadget.io"],"path":["v1","pipelines",":pipelineId","opportunities",":opportunityId"],"variable":[{"key":"pipelineId"},{"key":"opportunityId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"b675b870-5d8a-408a-b6c6-945ce50be876","name":"Successful response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/:opportunityId","host":["https://api.salesgadget.io"],"path":["v1","pipelines",":pipelineId","opportunities",":opportunityId"],"variable":[{"key":"pipelineId"},{"key":"opportunityId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"\""}],"_postman_id":"75b14132-48a3-4cfb-a4ac-da6ab5086321"},{"name":"/v1/pipelines/:pipelineId/opportunities/","id":"83c6054d-ab8b-4c19-964c-86b040de7e37","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"First Opp\",\n    \"status\": \"open\",\n    \"stageId\": \"7915dedc-8f18-44d5-8bc3-77c04e994a10\",\n    \"email\": \"elon@musk.com\",\n    \"phone\": \"+1202-555-0107\",\n    \"assignedTo\": \"082goXVW3lIExEQPOnd3\",\n    \"monetaryValue\": 122.22,\n    \"source\": \"public api\",\n    \"contactId\": \"mTkSCb1UBjb5tk4OvB69\",\n    \"name\": \"Elon Musk\",\n    \"companyName\": \"Tesla\",\n    \"tags\": [\n        \"laboris eiusmod nisi aliqu\",\n        \"labore veniam\"\n    ]\n}"},"url":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/","description":"<h4>Create opportunity.</h4><p>Required JSON fields in the body</p><table><thead><tr><th>Fields</th><th>Types</th><th>Example</th><th>Allowed Options</th></tr></thead><tbody><tr><td>title</td><td>string</td><td>First Opps</td><td></td></tr><tr><td>stageId</td><td>string</td><td>7915dedc-8f18-44d5-8bc3-77c04e994a10</td><td></td></tr><tr><td>contactId (or email or phone)</td><td>string</td><td>mTkSCb1UBjb5tk4OvB69</td><td></td></tr><tr><td>email (or contactId or phone)</td><td>string</td><td>john@deo.com</td><td></td></tr><tr><td>phone (or contactId or email)</td><td>string</td><td>+1202-555-0107</td><td></td></tr><tr><td>status</td><td>string</td><td>open</td><td><ul><li>open</li><li>won</li><li>lost</li><li>abandoned</li></ul></td></tr></tbody></table><p>Allowed JSON fields in the body</p><table><thead><tr><th>Fields</th><th>Types</th><th>Example</th></tr></thead><tbody><tr><td>monetaryValue</td><td>number</td><td>220</td></tr><tr><td>assignedTo</td><td>string</td><td>082goXVW3lIExEQPOnd3</td></tr><tr><td>name</td><td>string</td><td>John Deo</td></tr><tr><td>tags</td><td>array</td><td><code>[\"tag1\", \"tag2\"]</code></td></tr><tr><td>companyName</td><td>string</td><td>Tesla Inc</td></tr></tbody></table> <br /> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","pipelines",":pipelineId","opportunities",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"c84ef176-a68c-4abf-83a1-b009f815ac2c","description":{"content":"<p>(Required) Pipeline Id</p>\n","type":"text/plain"},"type":"any","value":"bCkKGpDsyPP4peuKowkG","key":"pipelineId"}]}},"response":[{"id":"76a817e6-9331-43ed-9702-0f2d5676f9ad","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"First Opp\",\n    \"status\": \"open\",\n    \"stageId\": \"7915dedc-8f18-44d5-8bc3-77c04e994a10\",\n    \"email\": \"elon@musk.com\",\n    \"phone\": \"+1202-555-0107\",\n    \"assignedTo\": \"082goXVW3lIExEQPOnd3\",\n    \"monetaryValue\": 122.22,\n    \"source\": \"public api\",\n    \"contactId\": \"mTkSCb1UBjb5tk4OvB69\",\n    \"name\": \"Elon Musk\",\n    \"companyName\": \"Tesla\",\n    \"tags\": [\n        \"laboris eiusmod nisi aliqu\",\n        \"labore veniam\"\n    ]\n}"},"url":{"raw":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/","host":["https://api.salesgadget.io"],"path":["v1","pipelines",":pipelineId","opportunities",""],"variable":[{"key":"pipelineId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"98cb6c86-63bd-4d39-81fd-5906a6377258","name":"Unprocessable Entity","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"First Opp\",\n    \"status\": \"open\",\n    \"stageId\": \"7915dedc-8f18-44d5-8bc3-77c04e994a10\",\n    \"email\": \"elon@musk.com\",\n    \"phone\": \"+1202-555-0107\",\n    \"assignedTo\": \"082goXVW3lIExEQPOnd3\",\n    \"monetaryValue\": 122.22,\n    \"source\": \"public api\",\n    \"contactId\": \"mTkSCb1UBjb5tk4OvB69\",\n    \"name\": \"Elon Musk\",\n    \"companyName\": \"Tesla\",\n    \"tags\": [\n        \"laboris eiusmod nisi aliqu\",\n        \"labore veniam\"\n    ]\n}"},"url":{"raw":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/","host":["https://api.salesgadget.io"],"path":["v1","pipelines",":pipelineId","opportunities",""],"variable":[{"key":"pipelineId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"title\": {\n  \"message\": \"The title field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"status\": {\n  \"message\": \"The status field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"stageId\": {\n  \"message\": \"The stage id field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"contactId or email\": {\n  \"message\": \"The contactId or email field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"},{"id":"9b26ca7d-d53e-46dc-9a87-5d7f6b5d9816","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"First Opp\",\n    \"status\": \"open\",\n    \"stageId\": \"7915dedc-8f18-44d5-8bc3-77c04e994a10\",\n    \"email\": \"elon@musk.com\",\n    \"phone\": \"+1202-555-0107\",\n    \"assignedTo\": \"082goXVW3lIExEQPOnd3\",\n    \"monetaryValue\": 122.22,\n    \"source\": \"public api\",\n    \"contactId\": \"mTkSCb1UBjb5tk4OvB69\",\n    \"name\": \"Elon Musk\",\n    \"companyName\": \"Tesla\",\n    \"tags\": [\n        \"laboris eiusmod nisi aliqu\",\n        \"labore veniam\"\n    ]\n}"},"url":{"raw":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/","host":["https://api.salesgadget.io"],"path":["v1","pipelines",":pipelineId","opportunities",""],"variable":[{"key":"pipelineId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"7XExm1wr8gFeZpl6rQny\",\n \"name\": \"First Opp\",\n \"monetaryValue\": 120,\n \"pipelineId\": \"bCkKGpDsyPP4peuKowkG\",\n \"pipelineStageId\": \"8b897c8f-b859-49c1-88f2-ed590708a85c\",\n \"assignedTo\": \"hxHGVRb1YJUscrCB8eXK\",\n \"status\": \"open\",\n \"source\": \"form\",\n \"lastStatusChangeAt\": \"2020-10-29T09:39:35.472Z\",\n \"createdAt\": \"2020-10-29T09:31:30.255Z\",\n \"updatedAt\": \"2020-10-29T09:44:02.263Z\",\n \"contact\": {\n  \"id\": \"byMEV0NQinDhq8ZfiOi2\",\n  \"name\": \"John Deo\",\n  \"companyName\": \"Tesla Inc\",\n  \"email\": \"john@deo.com\",\n  \"phone\": \"+1202-555-0107\",\n  \"tags\": [\n   \"et ea dolor irure labore\",\n   \"voluptate Ut Excepteur ea\"\n  ]\n }\n}"},{"id":"cfc1c814-c836-49d5-aec0-a9ea5e123050","name":"Bad Request. please contact support!","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"First Opp\",\n    \"status\": \"open\",\n    \"stageId\": \"7915dedc-8f18-44d5-8bc3-77c04e994a10\",\n    \"email\": \"elon@musk.com\",\n    \"phone\": \"+1202-555-0107\",\n    \"assignedTo\": \"082goXVW3lIExEQPOnd3\",\n    \"monetaryValue\": 122.22,\n    \"source\": \"public api\",\n    \"contactId\": \"mTkSCb1UBjb5tk4OvB69\",\n    \"name\": \"Elon Musk\",\n    \"companyName\": \"Tesla\",\n    \"tags\": [\n        \"laboris eiusmod nisi aliqu\",\n        \"labore veniam\"\n    ]\n}"},"url":{"raw":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/","host":["https://api.salesgadget.io"],"path":["v1","pipelines",":pipelineId","opportunities",""],"variable":[{"key":"pipelineId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"}],"_postman_id":"83c6054d-ab8b-4c19-964c-86b040de7e37"},{"name":"/v1/pipelines/:pipelineId/opportunities/:opportunityId/status","id":"2739091a-da6e-49ae-a65f-614af4216faa","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"open\",\n    \"stageId\": \"7915dedc-8f18-44d5-8bc3-77c04e994a10\"\n}"},"url":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/:opportunityId/status","description":"<h4>Update opportunity status and stage.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","pipelines",":pipelineId","opportunities",":opportunityId","status"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"925f488d-aa84-4e07-9bff-d43750fb39ce","description":{"content":"<p>(Required) Pipeline Id</p>\n","type":"text/plain"},"type":"any","value":"bCkKGpDsyPP4peuKowkG","key":"pipelineId"},{"id":"b60a3bb4-30c8-49a3-9228-2eada49a24eb","description":{"content":"<p>(Required) Opportunity Id</p>\n","type":"text/plain"},"type":"any","value":"123akv4LFn6C9frZoy3e","key":"opportunityId"}]}},"response":[{"id":"2005a518-06c0-450d-85bc-ca19fde1e56b","name":"Unauthorized","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"open\",\n    \"stageId\": \"7915dedc-8f18-44d5-8bc3-77c04e994a10\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/:opportunityId/status","host":["https://api.salesgadget.io"],"path":["v1","pipelines",":pipelineId","opportunities",":opportunityId","status"],"variable":[{"key":"pipelineId"},{"key":"opportunityId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"441a1890-2f52-4541-9274-d60dc9ca1dc5","name":"Successful response","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"open\",\n    \"stageId\": \"7915dedc-8f18-44d5-8bc3-77c04e994a10\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/:opportunityId/status","host":["https://api.salesgadget.io"],"path":["v1","pipelines",":pipelineId","opportunities",":opportunityId","status"],"variable":[{"key":"pipelineId"},{"key":"opportunityId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"\""},{"id":"7c0c2dec-bc60-464b-847f-32c04d698b28","name":"Bad Request. please contact support!","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"open\",\n    \"stageId\": \"7915dedc-8f18-44d5-8bc3-77c04e994a10\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/:opportunityId/status","host":["https://api.salesgadget.io"],"path":["v1","pipelines",":pipelineId","opportunities",":opportunityId","status"],"variable":[{"key":"pipelineId"},{"key":"opportunityId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"e4af2094-2065-4734-9801-624f4757e11c","name":"Unprocessable Entity","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"open\",\n    \"stageId\": \"7915dedc-8f18-44d5-8bc3-77c04e994a10\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/pipelines/:pipelineId/opportunities/:opportunityId/status","host":["https://api.salesgadget.io"],"path":["v1","pipelines",":pipelineId","opportunities",":opportunityId","status"],"variable":[{"key":"pipelineId"},{"key":"opportunityId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": {\n  \"message\": \"The status field is invalid.\",\n  \"rule\": \"invalid\"\n },\n \"stageId\": {\n  \"message\": \"The stage id field is invalid.\",\n  \"rule\": \"invalid\"\n }\n}"}],"_postman_id":"2739091a-da6e-49ae-a65f-614af4216faa"}],"id":"a1ca6d89-ea66-4fbc-8d60-a1939ea872e0","_postman_id":"a1ca6d89-ea66-4fbc-8d60-a1939ea872e0","description":""},{"name":"/v1/pipelines/","id":"53049085-c451-4bcb-9eb9-576d334d6c6d","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/pipelines/","description":"<h4>Get Pipelines.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","pipelines",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[]}},"response":[{"id":"856075b3-2865-4f61-be0b-0065f1c34be7","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/pipelines/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"9d71bd66-ef08-4f4f-bbd2-eba525187773","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/pipelines/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"pipelines\": [\n  {\n   \"id\": \"bCkKGpDsyPP4peuKowkG\",\n   \"name\": \"First Pipeline\",\n   \"stages\": [\n    {\n     \"id\": \"bCkKGp8b897c8f-b859-49c1-88f2-ed590708a85csyPP4peuKowkG\",\n     \"name\": \"First Stage\"\n    },\n    {\n     \"id\": \"bCkKGp8b897c8f-b859-49c1-88f2-ed590708a85csyPP4peuKowkG\",\n     \"name\": \"First Stage\"\n    }\n   ]\n  },\n  {\n   \"id\": \"bCkKGpDsyPP4peuKowkG\",\n   \"name\": \"First Pipeline\",\n   \"stages\": [\n    {\n     \"id\": \"bCkKGp8b897c8f-b859-49c1-88f2-ed590708a85csyPP4peuKowkG\",\n     \"name\": \"First Stage\"\n    },\n    {\n     \"id\": \"bCkKGp8b897c8f-b859-49c1-88f2-ed590708a85csyPP4peuKowkG\",\n     \"name\": \"First Stage\"\n    }\n   ]\n  }\n ]\n}"},{"id":"df7d9fb7-43c3-4193-bfb1-29375932f876","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/pipelines/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"}],"_postman_id":"53049085-c451-4bcb-9eb9-576d334d6c6d"}],"id":"f7dfd2d5-b1fb-4963-b27d-10b57d6b88f7","_postman_id":"f7dfd2d5-b1fb-4963-b27d-10b57d6b88f7","description":""},{"name":"Task","item":[{"name":"/v1/contacts/:contactId/tasks/","id":"d84521f0-c78d-4bbd-9ef2-6e05ac7ae2ce","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/","description":"<h4>Get all contact tasks.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",":contactId","tasks",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"104eb55c-9b8a-49d3-8769-0cf4b2ddf09a","description":{"content":"<p>(Required) Contact Id</p>\n","type":"text/plain"},"type":"any","value":"sx6wyHhbFdRXh302LLNR","key":"contactId"}]}},"response":[{"id":"6163de20-9a63-4d51-9cde-9a3c173c4d8e","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tasks",""],"variable":[{"key":"contactId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"8f21e2bc-de55-4feb-a7e2-16d658dc75e1","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tasks",""],"variable":[{"key":"contactId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"c6cd6ce1-ce19-4de8-b183-5977dd9509e4","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tasks",""],"variable":[{"key":"contactId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"tasks\": [\n  {\n   \"id\": \"Lj371SHlVMyfVlMcKiuk\",\n   \"title\": \"Loram ipsum\",\n   \"description\": \"Loram ipsum\",\n   \"assignedTo\": \"hxHGVRb1YJUscrCB8eXK\",\n   \"dueDate\": \"2020-10-25T11:00:00Z\",\n   \"isCompleted\": false\n  },\n  {\n   \"id\": \"Lj371SHlVMyfVlMcKiuk\",\n   \"title\": \"Loram ipsum\",\n   \"description\": \"Loram ipsum\",\n   \"assignedTo\": \"hxHGVRb1YJUscrCB8eXK\",\n   \"dueDate\": \"2020-10-25T11:00:00Z\",\n   \"isCompleted\": false\n  }\n ]\n}"}],"_postman_id":"d84521f0-c78d-4bbd-9ef2-6e05ac7ae2ce"},{"name":"/v1/contacts/:contactId/tasks/","id":"863fde98-fd65-4ad4-a65c-8a4752b96046","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"First Task\",\n    \"dueDate\": \"2020-10-25T11:00:00Z\",\n    \"description\": \"loram ipsum\",\n    \"assignedTo\": \"hxHGVRb1YJUscrCB8eXK\",\n    \"status\": \"incompleted\"\n}"},"url":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/","description":"<h4>Create Tasks.</h4> <p><strong>Status:</strong> (optional) Field have following options.</p><ul><li>completed</li><li>incompleted (default)</li></ul><strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",":contactId","tasks",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"45547a5e-e7d7-428a-b77a-234945ac40c7","description":{"content":"<p>(Required) Contact Id</p>\n","type":"text/plain"},"type":"any","value":"sx6wyHhbFdRXh302LLNR","key":"contactId"}]}},"response":[{"id":"06e76583-1c82-4698-b307-0369f81c9f15","name":"Bad Request. please contact support!","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"First Task\",\n    \"dueDate\": \"2020-10-25T11:00:00Z\",\n    \"description\": \"loram ipsum\",\n    \"assignedTo\": \"hxHGVRb1YJUscrCB8eXK\",\n    \"status\": \"incompleted\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tasks",""],"variable":[{"key":"contactId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"9c156d1f-d9b2-4b3f-a0d7-0c2a1de9a42d","name":"Unprocessable Entity","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"First Task\",\n    \"dueDate\": \"2020-10-25T11:00:00Z\",\n    \"description\": \"loram ipsum\",\n    \"assignedTo\": \"hxHGVRb1YJUscrCB8eXK\",\n    \"status\": \"incompleted\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tasks",""],"variable":[{"key":"contactId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"title\": {\n  \"message\": \"The title field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"dueDate\": {\n  \"message\": \"The due date field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"},{"id":"cdbbba61-b54e-48d0-8d63-c39a985a36d5","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"First Task\",\n    \"dueDate\": \"2020-10-25T11:00:00Z\",\n    \"description\": \"loram ipsum\",\n    \"assignedTo\": \"hxHGVRb1YJUscrCB8eXK\",\n    \"status\": \"incompleted\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tasks",""],"variable":[{"key":"contactId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"f89f9003-57be-40ea-be8a-1ee96ab7e898","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"First Task\",\n    \"dueDate\": \"2020-10-25T11:00:00Z\",\n    \"description\": \"loram ipsum\",\n    \"assignedTo\": \"hxHGVRb1YJUscrCB8eXK\",\n    \"status\": \"incompleted\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tasks",""],"variable":[{"key":"contactId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"Lj371SHlVMyfVlMcKiuk\",\n \"title\": \"Loram ipsum\",\n \"description\": \"Loram ipsum\",\n \"assignedTo\": \"hxHGVRb1YJUscrCB8eXK\",\n \"dueDate\": \"2020-10-25T11:00:00Z\",\n \"isCompleted\": false\n}"}],"_postman_id":"863fde98-fd65-4ad4-a65c-8a4752b96046"},{"name":"/v1/contacts/:contactId/tasks/:taskId","id":"9e03dba9-d8be-4655-b189-5f30d5953e89","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/:taskId","description":"<h4>Get task by id.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",":contactId","tasks",":taskId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"7cee9681-8c6f-4626-9c57-a1a15509c0b6","description":{"content":"<p>(Required) Contact Id</p>\n","type":"text/plain"},"type":"any","value":"sx6wyHhbFdRXh302LLNR","key":"contactId"},{"id":"404c173f-e604-40b3-b668-098a3e8fa486","description":{"content":"<p>(Required) Task Id</p>\n","type":"text/plain"},"type":"any","value":"ocQHyuzHvysMo5N5VsXc","key":"taskId"}]}},"response":[{"id":"55d243d2-a8fd-4d08-8a59-efeac17a525a","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/:taskId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tasks",":taskId"],"variable":[{"key":"contactId"},{"key":"taskId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"a6bd827a-4e83-4e02-8046-8f74461fe7f0","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/:taskId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tasks",":taskId"],"variable":[{"key":"contactId"},{"key":"taskId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"d2eb3c83-ecd8-4fd1-b727-1cac0a9cda0d","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/:taskId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tasks",":taskId"],"variable":[{"key":"contactId"},{"key":"taskId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"Lj371SHlVMyfVlMcKiuk\",\n \"title\": \"Loram ipsum\",\n \"description\": \"Loram ipsum\",\n \"assignedTo\": \"hxHGVRb1YJUscrCB8eXK\",\n \"dueDate\": \"2020-10-25T11:00:00Z\",\n \"isCompleted\": false\n}"}],"_postman_id":"9e03dba9-d8be-4655-b189-5f30d5953e89"},{"name":"/v1/contacts/:contactId/tasks/:taskId","id":"7ed8d822-ad9c-45c3-b5c6-95d83c0342a5","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"First Task\",\n    \"dueDate\": \"2020-10-25T11:00:00Z\",\n    \"description\": \"loram ipsum\",\n    \"assignedTo\": \"hxHGVRb1YJUscrCB8eXK\",\n    \"status\": \"incompleted\"\n}"},"url":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/:taskId","description":"<h4>Update Task.</h4><p></p><p><strong>Status:</strong> (optional) Field have following options.</p><ul><li>completed</li><li>incompleted (default)</li></ul><strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",":contactId","tasks",":taskId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"7705fd80-d678-4164-b153-3fd24f3f5bea","description":{"content":"<p>(Required) Contact Id</p>\n","type":"text/plain"},"type":"any","value":"sx6wyHhbFdRXh302LLNR","key":"contactId"},{"id":"0ddd7a1c-6bc5-44b3-8a79-05278d525f19","description":{"content":"<p>(Required) Task Id</p>\n","type":"text/plain"},"type":"any","value":"ocQHyuzHvysMo5N5VsXc","key":"taskId"}]}},"response":[{"id":"0c378f97-406b-47c6-a0a7-1f8d26c86349","name":"Unprocessable Entity","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"First Task\",\n    \"dueDate\": \"2020-10-25T11:00:00Z\",\n    \"description\": \"loram ipsum\",\n    \"assignedTo\": \"hxHGVRb1YJUscrCB8eXK\",\n    \"status\": \"incompleted\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/:taskId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tasks",":taskId"],"variable":[{"key":"contactId"},{"key":"taskId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"title\": {\n  \"message\": \"The title field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"dueDate\": {\n  \"message\": \"The due date field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"},{"id":"1989fe32-1868-4660-84e0-4219d50cef5d","name":"Successful response","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"First Task\",\n    \"dueDate\": \"2020-10-25T11:00:00Z\",\n    \"description\": \"loram ipsum\",\n    \"assignedTo\": \"hxHGVRb1YJUscrCB8eXK\",\n    \"status\": \"incompleted\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/:taskId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tasks",":taskId"],"variable":[{"key":"contactId"},{"key":"taskId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"Lj371SHlVMyfVlMcKiuk\",\n \"title\": \"Loram ipsum\",\n \"description\": \"Loram ipsum\",\n \"assignedTo\": \"hxHGVRb1YJUscrCB8eXK\",\n \"dueDate\": \"2020-10-25T11:00:00Z\",\n \"isCompleted\": false\n}"},{"id":"771d5039-c7fb-4415-88c4-a455e1ce571b","name":"Unauthorized","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"First Task\",\n    \"dueDate\": \"2020-10-25T11:00:00Z\",\n    \"description\": \"loram ipsum\",\n    \"assignedTo\": \"hxHGVRb1YJUscrCB8eXK\",\n    \"status\": \"incompleted\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/:taskId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tasks",":taskId"],"variable":[{"key":"contactId"},{"key":"taskId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"87ff9984-a50a-4e76-86bf-986d1a4bc404","name":"Bad Request. please contact support!","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"First Task\",\n    \"dueDate\": \"2020-10-25T11:00:00Z\",\n    \"description\": \"loram ipsum\",\n    \"assignedTo\": \"hxHGVRb1YJUscrCB8eXK\",\n    \"status\": \"incompleted\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/:taskId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tasks",":taskId"],"variable":[{"key":"contactId"},{"key":"taskId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"}],"_postman_id":"7ed8d822-ad9c-45c3-b5c6-95d83c0342a5"},{"name":"/v1/contacts/:contactId/tasks/:taskId","id":"e207a5cb-ea3c-4366-a8ab-9ec273cd152f","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/:taskId","description":"<h4>Delete one of Task.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",":contactId","tasks",":taskId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"d7d3650e-ee15-41d5-8c57-813e144a9bca","description":{"content":"<p>(Required) Contact Id</p>\n","type":"text/plain"},"type":"any","value":"sx6wyHhbFdRXh302LLNR","key":"contactId"},{"id":"623c791c-c9ec-4f07-aa09-6295fc5aab32","description":{"content":"<p>(Required) Task Id</p>\n","type":"text/plain"},"type":"any","value":"ocQHyuzHvysMo5N5VsXc","key":"taskId"}]}},"response":[{"id":"a083cdcc-752c-44f2-9fa5-95a460f6e817","name":"Bad Request. please contact support!","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/:taskId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tasks",":taskId"],"variable":[{"key":"contactId"},{"key":"taskId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"dcb5557b-5973-48aa-a4b6-9aba5908cc11","name":"Successful response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/:taskId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tasks",":taskId"],"variable":[{"key":"contactId"},{"key":"taskId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"\""},{"id":"f35008a1-8e3f-47a0-93f1-abfea1b65b10","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/:taskId","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tasks",":taskId"],"variable":[{"key":"contactId"},{"key":"taskId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"}],"_postman_id":"e207a5cb-ea3c-4366-a8ab-9ec273cd152f"},{"name":"/v1/contacts/:contactId/tasks/:taskId/status","id":"2a696635-8e6a-45e0-8de4-ee4ce648063d","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"completed\"\n}"},"url":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/:taskId/status","description":"<h4>Update Task status.</h4><p><strong>Status:</strong> Field have following option</p><ul><li>completed</li><li>incompleted</li></ul><strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","contacts",":contactId","tasks",":taskId","status"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"6845c70e-6093-40af-a8ef-606e6e0f71eb","description":{"content":"<p>(Required) Contact Id</p>\n","type":"text/plain"},"type":"any","value":"sx6wyHhbFdRXh302LLNR","key":"contactId"},{"id":"96b07000-96bc-4402-932c-288a568ca75f","description":{"content":"<p>(Required) Task Id</p>\n","type":"text/plain"},"type":"any","value":"ocQHyuzHvysMo5N5VsXc","key":"taskId"}]}},"response":[{"id":"26559d8a-7c08-43e7-96f1-68cc439612a5","name":"Unprocessable Entity","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"completed\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/:taskId/status","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tasks",":taskId","status"],"variable":[{"key":"contactId"},{"key":"taskId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"title\": {\n  \"message\": \"The title field is mandatory.\",\n  \"rule\": \"required\"\n },\n \"dueDate\": {\n  \"message\": \"The due date field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"},{"id":"d8d5e00a-845d-4784-9cc5-4f35fed725aa","name":"Successful response","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"completed\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/:taskId/status","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tasks",":taskId","status"],"variable":[{"key":"contactId"},{"key":"taskId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"Lj371SHlVMyfVlMcKiuk\",\n \"title\": \"Loram ipsum\",\n \"description\": \"Loram ipsum\",\n \"assignedTo\": \"hxHGVRb1YJUscrCB8eXK\",\n \"dueDate\": \"2020-10-25T11:00:00Z\",\n \"isCompleted\": false\n}"},{"id":"f620b2e9-572a-4534-b080-10894a181ee5","name":"Bad Request. please contact support!","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"completed\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/:taskId/status","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tasks",":taskId","status"],"variable":[{"key":"contactId"},{"key":"taskId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"fee5d715-4ce7-4f81-a855-49dbe46c6788","name":"Unauthorized","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"completed\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/contacts/:contactId/tasks/:taskId/status","host":["https://api.salesgadget.io"],"path":["v1","contacts",":contactId","tasks",":taskId","status"],"variable":[{"key":"contactId"},{"key":"taskId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"}],"_postman_id":"2a696635-8e6a-45e0-8de4-ee4ce648063d"}],"id":"871db7ff-8502-4028-bd4d-23d43fd3f071","_postman_id":"871db7ff-8502-4028-bd4d-23d43fd3f071","description":""},{"name":"Tag","item":[{"name":"/v1/tags/","id":"76f0378e-1986-4919-a976-dde940082fc1","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/tags/","description":"<h4>Get Tags.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","tags",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[]}},"response":[{"id":"68978cff-1bc4-40d4-82da-d1962fa49a90","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/tags/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"tags\": [\n  {\n   \"id\": \"kAllGzwHkSVZC11GYKF9\",\n   \"name\": \"Hello\"\n  },\n  {\n   \"id\": \"kAllGzwHkSVZC11GYKF9\",\n   \"name\": \"Hello\"\n  }\n ]\n}"},{"id":"99aaefca-9b92-43f8-b5a2-4723cf08c028","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/tags/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"b87f2ab5-43ca-4fa6-911f-caa22387978e","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/tags/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"}],"_postman_id":"76f0378e-1986-4919-a976-dde940082fc1"},{"name":"/v1/tags/","id":"2dd0aa5c-4cdf-42e8-b7ae-105347d127d2","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"first tag\"\n}"},"url":"https://api.salesgadget.io/v1/tags/","description":"<h4>Create Tag.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","tags",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[]}},"response":[{"id":"72a43be3-b444-47a6-8604-f0459817acb3","name":"Bad Request. please contact support!","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"first tag\"\n}"},"url":"https://api.salesgadget.io/v1/tags/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"74108883-a27f-4374-8896-01ac48ae28ce","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"first tag\"\n}"},"url":"https://api.salesgadget.io/v1/tags/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"kAllGzwHkSVZC11GYKF9\",\n \"name\": \"Hello\"\n}"},{"id":"822d90d3-2ff0-4d6d-a139-bbefa1cafdd5","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"first tag\"\n}"},"url":"https://api.salesgadget.io/v1/tags/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"98658f80-17f7-4079-b327-e83dc64fdeb9","name":"Unprocessable Entity","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"first tag\"\n}"},"url":"https://api.salesgadget.io/v1/tags/"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"name\": {\n  \"message\": \"The name field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"}],"_postman_id":"2dd0aa5c-4cdf-42e8-b7ae-105347d127d2"},{"name":"/v1/tags/:tagId","id":"1512f43b-4e13-4da9-bf0c-c0419100d206","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/tags/:tagId","description":"<h4>Get tag by id.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","tags",":tagId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"a280e7f8-58ef-450c-a867-55926c677866","description":{"content":"<p>(Required) Tag Id</p>\n","type":"text/plain"},"type":"any","value":"ocQHyuzHvysMo5N5VsXc","key":"tagId"}]}},"response":[{"id":"2e0e213d-8778-428c-a131-6bbff8492418","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/tags/:tagId","host":["https://api.salesgadget.io"],"path":["v1","tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"aef504b3-c606-4fe0-aeda-fe065cf5ab47","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/tags/:tagId","host":["https://api.salesgadget.io"],"path":["v1","tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"ccc07d5f-3d81-4e1b-8fc9-74d38858ff5e","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/tags/:tagId","host":["https://api.salesgadget.io"],"path":["v1","tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"kAllGzwHkSVZC11GYKF9\",\n \"name\": \"Hello\"\n}"}],"_postman_id":"1512f43b-4e13-4da9-bf0c-c0419100d206"},{"name":"/v1/tags/:tagId","id":"bb3e60e3-95e0-4865-b79d-a5ba706b0c68","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"first tag\"\n}"},"url":"https://api.salesgadget.io/v1/tags/:tagId","description":"<h4>Update tag.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","tags",":tagId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"949ccabc-0a88-4201-aeae-0b879babf730","description":{"content":"<p>(Required) Tag Id</p>\n","type":"text/plain"},"type":"any","value":"ocQHyuzHvysMo5N5VsXc","key":"tagId"}]}},"response":[{"id":"5da18e6b-b115-4166-befc-35164f4d178b","name":"Bad Request. please contact support!","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"first tag\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/tags/:tagId","host":["https://api.salesgadget.io"],"path":["v1","tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"8f9e04d8-8481-44d5-aa56-e57fad93abec","name":"Successful response","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"first tag\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/tags/:tagId","host":["https://api.salesgadget.io"],"path":["v1","tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"kAllGzwHkSVZC11GYKF9\",\n \"name\": \"Hello\"\n}"},{"id":"a5203331-9470-4b09-8586-ee370566c262","name":"Unauthorized","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"first tag\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/tags/:tagId","host":["https://api.salesgadget.io"],"path":["v1","tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"b2ccc654-f91f-490c-a126-96564e62c2e2","name":"Unprocessable Entity","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"first tag\"\n}"},"url":{"raw":"https://api.salesgadget.io/v1/tags/:tagId","host":["https://api.salesgadget.io"],"path":["v1","tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"name\": {\n  \"message\": \"The name field is mandatory.\",\n  \"rule\": \"required\"\n }\n}"}],"_postman_id":"bb3e60e3-95e0-4865-b79d-a5ba706b0c68"},{"name":"/v1/tags/:tagId","id":"580344b2-4c5a-4e04-a482-be3786a2ad3a","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://api.salesgadget.io/v1/tags/:tagId","description":"<h4>Delete one of tag.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","tags",":tagId"],"host":["https://api.salesgadget.io"],"query":[],"variable":[{"id":"25d43c39-25fb-430f-8e0b-7743d0938536","description":{"content":"<p>(Required) Custom Value Id</p>\n","type":"text/plain"},"type":"any","value":"ocQHyuzHvysMo5N5VsXc","key":"tagId"}]}},"response":[{"id":"3d05ae49-e6c9-41bf-9472-5de523be45a3","name":"Unprocessable Entity","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/tags/:tagId","host":["https://api.salesgadget.io"],"path":["v1","tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"customValueId\": {\n  \"message\": \"The custom field id is invalid.\",\n  \"rule\": \"invalid\"\n }\n}"},{"id":"b8fda86a-6370-4b0c-8cba-5cb8a1bd759e","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/tags/:tagId","host":["https://api.salesgadget.io"],"path":["v1","tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"ec4b56b8-31cf-4982-b8ea-9de9dade395b","name":"Successful response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/tags/:tagId","host":["https://api.salesgadget.io"],"path":["v1","tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"\""},{"id":"ec8c3bd8-35ea-4b79-a529-65b80ce39eb5","name":"Bad Request. please contact support!","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/tags/:tagId","host":["https://api.salesgadget.io"],"path":["v1","tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"}],"_postman_id":"580344b2-4c5a-4e04-a482-be3786a2ad3a"}],"id":"e49ff085-a94a-49f7-9020-167b6e49a48e","_postman_id":"e49ff085-a94a-49f7-9020-167b6e49a48e","description":""},{"name":"Timezone","item":[{"name":"/v1/timezones/","id":"405b4a38-37ed-4ad4-8cdd-f4815b711788","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/timezones/","description":"<h4>Get timezone list.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","timezones",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[]}},"response":[{"id":"2ee4951d-656e-4ecb-a93f-ac9d7698c81a","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/timezones/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"54b2a9f1-2e72-4f9e-8527-fafcb7475d1a","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/timezones/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"f90be527-f7e3-4eff-ab0a-6436e9aa7ef2","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/timezones/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"timezones\": [\n  \"UTC\",\n  \"UTC\"\n ]\n}"}],"_postman_id":"405b4a38-37ed-4ad4-8cdd-f4815b711788"}],"id":"a35bc452-08cc-4b2f-89c7-98cc2df12f15","_postman_id":"a35bc452-08cc-4b2f-89c7-98cc2df12f15","description":""},{"name":"Survey","item":[{"name":"/v1/surveys/","id":"a2d3274f-bd72-4b0d-9d78-cc3791a9773b","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/surveys/","description":"<h4>Get Surveys.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","surveys",""],"host":["https://api.salesgadget.io"],"query":[],"variable":[]}},"response":[{"id":"2388196f-ab8b-468d-8d13-f0e65cdbdb75","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/surveys/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"79406dbc-47bb-4807-aa82-c9e368350fc6","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/surveys/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"surveys\": [\n  {\n   \"id\": \"8qS1AwSo1k0536WJu9kk\",\n   \"name\": \"Survey 1\"\n  },\n  {\n   \"id\": \"8qS1AwSo1k0536WJu9kk\",\n   \"name\": \"Survey 1\"\n  }\n ]\n}"},{"id":"c5b590bc-f81c-4a2a-a9ee-41e2c314b8a0","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://api.salesgadget.io/v1/surveys/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"}],"_postman_id":"a2d3274f-bd72-4b0d-9d78-cc3791a9773b"},{"name":"/v1/surveys/submissions","id":"8ccebac2-7bd1-4de0-94bb-812e32553853","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.salesgadget.io/v1/surveys/submissions?page=1&limit=20&surveyId=jjusM6EOngDExnbo2DbU&q=john@deo.com&startAt=2020-11-14&endAt=2020-12-14","description":"<h4>Get survey submissions.</h4> <strong>Authorization:</strong> <p>Provide your location api key (Bearer Token). <a href=\"https://help.gohighlevel.com/support/solutions/articles/48000982605-company-settings\">You can find here</a></p>","urlObject":{"path":["v1","surveys","submissions"],"host":["https://api.salesgadget.io"],"query":[{"description":{"content":"<p>Page No. By default it will be 1</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Limit Per Page records count. will allow maximum up to 100 and default will be 20</p>\n","type":"text/plain"},"key":"limit","value":"20"},{"description":{"content":"<p>Filter submission by survey id</p>\n","type":"text/plain"},"key":"surveyId","value":"jjusM6EOngDExnbo2DbU"},{"description":{"content":"<p>Filter by contactId, name, email or phone no.</p>\n","type":"text/plain"},"key":"q","value":"john@deo.com"},{"description":{"content":"<p>Get submission by starting of this date. By default it will be same date of last month.</p>\n","type":"text/plain"},"key":"startAt","value":"2020-11-14"},{"description":{"content":"<p>Get submission by ending of this date. By default it will be current date.</p>\n","type":"text/plain"},"key":"endAt","value":"2020-12-14"}],"variable":[]}},"response":[{"id":"1fd002b1-68ee-47f8-97bc-693376281417","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/surveys/submissions?page=1&limit=20&surveyId=jjusM6EOngDExnbo2DbU&q=john@deo.com&startAt=2020-11-14&endAt=2020-12-14","host":["https://api.salesgadget.io"],"path":["v1","surveys","submissions"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"20"},{"key":"surveyId","value":"jjusM6EOngDExnbo2DbU"},{"key":"q","value":"john@deo.com"},{"key":"startAt","value":"2020-11-14"},{"key":"endAt","value":"2020-12-14"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Unauthorized\"\n}"},{"id":"35be926c-5469-482e-8a33-91175042b058","name":"Bad Request. please contact support!","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/surveys/submissions?page=1&limit=20&surveyId=jjusM6EOngDExnbo2DbU&q=john@deo.com&startAt=2020-11-14&endAt=2020-12-14","host":["https://api.salesgadget.io"],"path":["v1","surveys","submissions"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"20"},{"key":"surveyId","value":"jjusM6EOngDExnbo2DbU"},{"key":"q","value":"john@deo.com"},{"key":"startAt","value":"2020-11-14"},{"key":"endAt","value":"2020-12-14"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"msg\": \"Bad Request\"\n}"},{"id":"fd8163d9-4ba5-4ce7-9342-9eb95c070310","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://api.salesgadget.io/v1/surveys/submissions?page=1&limit=20&surveyId=jjusM6EOngDExnbo2DbU&q=john@deo.com&startAt=2020-11-14&endAt=2020-12-14","host":["https://api.salesgadget.io"],"path":["v1","surveys","submissions"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"20"},{"key":"surveyId","value":"jjusM6EOngDExnbo2DbU"},{"key":"q","value":"john@deo.com"},{"key":"startAt","value":"2020-11-14"},{"key":"endAt","value":"2020-12-14"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"submissions\": [\n  {\n   \"id\": \"be759b9a-c3ec-4b29-ba07-fc3c89c77673\",\n   \"contactId\": \"9NkT25Vor1v4aQatFsv2\",\n   \"__submissions_other_field__\": \"john@deo.com\",\n   \"__custom_field_id__\": \"20\",\n   \"createdAt\": \"2020-11-01T18:02:21.000Z\",\n   \"surveyId\": \"jjusM6EOngDExnbo2DbU\",\n   \"pageDetails\": {\n    \"url\": \"https://www.gohighlevel.com/\",\n    \"source\": \"Social Media\",\n    \"referrer\": \"http://m.facebook.com\",\n    \"fbclid\": \"IwAR1JoTTltt3EKJE3O-MrQij_lTeA6BKGTy8M2wKepSzs4oUbTYhL2Lns18w\"\n   }\n  },\n  {\n   \"id\": \"be759b9a-c3ec-4b29-ba07-fc3c89c77673\",\n   \"contactId\": \"9NkT25Vor1v4aQatFsv2\",\n   \"__submissions_other_field__\": \"john@deo.com\",\n   \"__custom_field_id__\": \"20\",\n   \"createdAt\": \"2020-11-01T18:02:21.000Z\",\n   \"surveyId\": \"jjusM6EOngDExnbo2DbU\",\n   \"pageDetails\": {\n    \"url\": \"https://www.gohighlevel.com/\",\n    \"source\": \"Social Media\",\n    \"referrer\": \"http://m.facebook.com\",\n    \"fbclid\": \"IwAR1JoTTltt3EKJE3O-MrQij_lTeA6BKGTy8M2wKepSzs4oUbTYhL2Lns18w\"\n   }\n  }\n ],\n \"meta\": {\n  \"total\": 250,\n  \"currentPage\": 2,\n  \"nextPage\": 3,\n  \"prevPage\": 1\n }\n}"}],"_postman_id":"8ccebac2-7bd1-4de0-94bb-812e32553853"}],"id":"09dca350-3f49-4eae-9a6d-2e9e3db0bae3","_postman_id":"09dca350-3f49-4eae-9a6d-2e9e3db0bae3","description":""}],"event":[{"listen":"prerequest","script":{"id":"5cd49360-3db5-422c-b1bf-e164f8424ec0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cb1c3b0b-cb78-4ae9-bb5f-4efb24591e66","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://api.salesgadget.io"}]}