{"info":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","description":"<html><head></head><body><ul>\n<li>create appropriate environments and populate the environment variables</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"30100255","collectionId":"0bee6873-c898-4b0e-84fe-2ffe319eb126","publishedId":"2s9YJZ55ai","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-09-28T19:07:39.000Z"},"item":[{"name":"Authentication","item":[{"name":"Sign In","event":[{"listen":"test","script":{"id":"566c7ab1-744d-4f3d-a6cc-ada3dad8ed1f","exec":["var responseHeaders = pm.response.headers.all();","var responseHeaderObject = {}","","responseHeaders.forEach(function (header) {","  responseHeaderObject[header.key] = header.value","})","","postman.setEnvironmentVariable(\"access-token\", responseHeaderObject['access-token']);","postman.setEnvironmentVariable(\"client\", responseHeaderObject.client);","postman.setEnvironmentVariable(\"expiry\", responseHeaderObject.expiry);","postman.setEnvironmentVariable(\"token-type\", responseHeaderObject['token-type']);","postman.setEnvironmentVariable(\"uid\", responseHeaderObject.uid);",""],"type":"text/javascript"}}],"id":"91ea4732-92ab-4ae5-9961-41d1a76c2975","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n \"email\" :\"\",\n \"password\" : \"\"\n}"},"url":"https://app.snypto.com/auth/sign_in","urlObject":{"path":["auth","sign_in"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"91ea4732-92ab-4ae5-9961-41d1a76c2975"},{"name":"Get Installation details","event":[{"listen":"test","script":{"id":"566c7ab1-744d-4f3d-a6cc-ada3dad8ed1f","exec":["var responseHeaders = pm.response.headers.all();","var responseHeaderObject = {}","","responseHeaders.forEach(function (header) {","  responseHeaderObject[header.key] = header.value","})","","postman.setEnvironmentVariable(\"access-token\", responseHeaderObject['access-token']);","postman.setEnvironmentVariable(\"client\", responseHeaderObject.client);","postman.setEnvironmentVariable(\"expiry\", responseHeaderObject.expiry);","postman.setEnvironmentVariable(\"token-type\", responseHeaderObject['token-type']);","postman.setEnvironmentVariable(\"uid\", responseHeaderObject.uid);",""],"type":"text/javascript"}}],"id":"a663b74b-5585-4973-8e4f-0d6e7740668f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n \"email\" :\"john@acme.inc\",\n \"password\" : \"Password1!\"\n}"},"url":"https://app.snypto.com/api","urlObject":{"path":["api"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a663b74b-5585-4973-8e4f-0d6e7740668f"},{"name":"Get Profile","id":"b1a1dc12-37eb-4e9a-9b5f-82779264f099","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"https://app.snypto.com/api/v1/profile","urlObject":{"path":["api","v1","profile"],"host":["https://app.snypto.com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"b1a1dc12-37eb-4e9a-9b5f-82779264f099"},{"name":"Update Profile","id":"10c6fbca-736c-4f96-a05a-45cc4776186c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile\": {\n        \"availability\": \"busy\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/profile","urlObject":{"path":["api","v1","profile"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"10c6fbca-736c-4f96-a05a-45cc4776186c"},{"name":"Set active account","id":"4a945089-a9b5-4a47-8c73-a81b635ffa40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile\": {\n        \"account_id\": 1\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/profile/set_active_account","urlObject":{"path":["api","v1","profile","set_active_account"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4a945089-a9b5-4a47-8c73-a81b635ffa40"}],"id":"3f430af9-a802-495d-ba12-dc679b2a9a4e","_postman_id":"3f430af9-a802-495d-ba12-dc679b2a9a4e","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"AccountAgentBots","item":[{"name":"List all AgentBots","id":"4c17725c-1aff-4253-89a9-f82802ca7f75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/agent_bots","urlObject":{"path":["api","v1","accounts","1","agent_bots"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4c17725c-1aff-4253-89a9-f82802ca7f75"}],"id":"df954644-ac65-4ddf-bcbd-14cfae7c5bd2","_postman_id":"df954644-ac65-4ddf-bcbd-14cfae7c5bd2","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"Canned Responses","item":[{"name":"List Canned Responses","id":"f6c51001-afca-4704-9594-648b509ef257","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/canned_responses","urlObject":{"path":["api","v1","accounts","1","canned_responses"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f6c51001-afca-4704-9594-648b509ef257"},{"name":"List all Articles","id":"6dd17e90-31be-4cd8-af7d-fe5157e6c0a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1","urlObject":{"path":["api","v1","accounts","1"],"host":["https://app.snypto.com"],"query":[{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[],"_postman_id":"6dd17e90-31be-4cd8-af7d-fe5157e6c0a9"}],"id":"88f0df15-00f3-4120-8b19-c65f24ded0aa","_postman_id":"88f0df15-00f3-4120-8b19-c65f24ded0aa","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"Audit Logs","item":[{"name":"List all logs","id":"69d9d462-eded-494d-934c-72acfb05b69c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/audit_logs","urlObject":{"path":["api","v1","accounts","1","audit_logs"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"69d9d462-eded-494d-934c-72acfb05b69c"},{"name":"List all logs Copy","id":"8f188a80-968e-46f2-99cf-e94b48cf58bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1","urlObject":{"path":["api","v1","accounts","1"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8f188a80-968e-46f2-99cf-e94b48cf58bc"}],"id":"8bc8cd32-39bb-4085-b836-8241832bb5a9","_postman_id":"8bc8cd32-39bb-4085-b836-8241832bb5a9","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"CSAT Survey Responses","item":[{"name":"List CSAT Survey Responses","id":"ee1c7ac9-1feb-4bf3-9662-2bcf0f3e776e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/csat_survey_responses","urlObject":{"path":["api","v1","accounts","1","csat_survey_responses"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ee1c7ac9-1feb-4bf3-9662-2bcf0f3e776e"},{"name":"Update survey response","id":"232bd5ac-2551-4eed-bd39-1c0897930850","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"message\": {\n        \"submitted_values\": {\n            \"csat_survey_response\": {\n                \"rating\": 4\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/public/v1/csat_survey/98c5d7f3-8873-4262-b101-d56425ff7ee1","urlObject":{"path":["public","v1","csat_survey","98c5d7f3-8873-4262-b101-d56425ff7ee1"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"232bd5ac-2551-4eed-bd39-1c0897930850"},{"name":"Get survey response","id":"9f1ccfd1-f207-4bf6-ac89-4d1cd4efc0dc","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"message\": {\n        \"submitted_values\": {\n            \"csat_survey_response\": {\n                \"rating\": 4,\n                \"feedback_message\": \"amazing\"\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/public/api/v1/csat_survey/98c5d7f3-8873-4262-b101-d56425ff7ee1","urlObject":{"path":["public","api","v1","csat_survey","98c5d7f3-8873-4262-b101-d56425ff7ee1"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9f1ccfd1-f207-4bf6-ac89-4d1cd4efc0dc"}],"id":"34a510ff-6fd0-41e5-ab24-3cadadbac81b","_postman_id":"34a510ff-6fd0-41e5-ab24-3cadadbac81b","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"Campaigns","item":[{"name":"Create Campaign","id":"d832f735-8b50-4da7-9082-d0e3d2444f12","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"test\",\n    \"message\": \"test\",\n    \"inbox_id\": 37,\n    \"sender_id\":21\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/campaigns","urlObject":{"path":["api","v1","accounts","1","campaigns"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d832f735-8b50-4da7-9082-d0e3d2444f12"},{"name":"Edit Campaign","id":"6957bbff-afd1-42bc-9ffe-87a82fa64540","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"title\":\"test 1\",\n    \"content\": \"test\",\n    \"inbox_id\": {{inbox_id}}\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/campaigns/1","urlObject":{"path":["api","v1","accounts","1","campaigns","1"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6957bbff-afd1-42bc-9ffe-87a82fa64540"},{"name":"List Campaigns","id":"831a01e2-849b-416e-aea1-b473c43e2dd9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/campaigns","urlObject":{"path":["api","v1","accounts","1","campaigns"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"831a01e2-849b-416e-aea1-b473c43e2dd9"},{"name":"Show Campaign","id":"37672ed4-1780-4afb-8e5c-e4e2885c92f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/campaigns/1","urlObject":{"path":["api","v1","accounts","1","campaigns","1"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"37672ed4-1780-4afb-8e5c-e4e2885c92f8"},{"name":"Delete campaign","id":"1b3e8501-0f52-401b-b80f-901ce77842a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/campaigns/1","urlObject":{"path":["api","v1","accounts","1","campaigns","1"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b3e8501-0f52-401b-b80f-901ce77842a0"},{"name":"Get Inbox Campaigns","id":"c88d3a8b-5b4c-4606-954b-e06269ba7f24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/widget/campaigns?website_token=nil","urlObject":{"path":["api","v1","widget","campaigns"],"host":["https://app.snypto.com"],"query":[{"key":"website_token","value":"nil"}],"variable":[]}},"response":[],"_postman_id":"c88d3a8b-5b4c-4606-954b-e06269ba7f24"}],"id":"d5def3ce-999d-4749-a411-6581992fa451","_postman_id":"d5def3ce-999d-4749-a411-6581992fa451","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"SLA","item":[{"name":"List SLAs","id":"c16894c0-93ab-456c-88fc-36b2179e88c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/sla_policies","urlObject":{"path":["api","v1","accounts","1","sla_policies"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c16894c0-93ab-456c-88fc-36b2179e88c8"},{"name":"Create SLA","id":"fff84a1c-7e3e-45f6-8ab5-852b67cc5f24","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"SLA-1\",\n    \"frt_threshold\": 1000,\n    \"rt_threshold\": 2000,\n    \"only_during_business_hours\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/sla_policies","urlObject":{"path":["api","v1","accounts","1","sla_policies"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fff84a1c-7e3e-45f6-8ab5-852b67cc5f24"},{"name":"Update SLA","id":"a55c06fe-004d-4841-abc4-29c029cb7483","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"SLA-1\",\n    \"frt_threshold\": 21,\n    \"rt_threshold\": 2000,\n    \"only_during_business_hours\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/sla_policies/1","urlObject":{"path":["api","v1","accounts","1","sla_policies","1"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a55c06fe-004d-4841-abc4-29c029cb7483"},{"name":"Show SLA","id":"64964ca8-bf49-40a2-acf0-75df6d76e00c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/sla_policies/1","urlObject":{"path":["api","v1","accounts","1","sla_policies","1"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"64964ca8-bf49-40a2-acf0-75df6d76e00c"},{"name":"Delete SLA","id":"17256151-1357-4f80-915e-c32fadc3c3cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/sla_policies/1","urlObject":{"path":["api","v1","accounts","1","sla_policies","1"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"17256151-1357-4f80-915e-c32fadc3c3cd"}],"id":"4744a662-9b78-4aef-9093-51b80860483b","_postman_id":"4744a662-9b78-4aef-9093-51b80860483b","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"Help Center","item":[{"name":"Create new Portal","id":"3aca959f-f2d3-4e2c-bd9f-5faf681d14c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"portal\": {\n        \"name\": \"RoomRental\",\n        \"slug\": \"room-rental\",\n        \"custom_domain\": \"room-rental\",\n        \"color\": \"#1f93ff\",\n        \"homepage_link\": \"room-rental\",\n        \"page_title\": \"Room Rental\",\n        \"header_text\": \"Room Rental\",\n        \"config\": {\n            \"allowed_locales\": [\n                \"en\",\n                \"es\",\n                \"it\",\n                \"fr\"\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/portals","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1","portals"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3aca959f-f2d3-4e2c-bd9f-5faf681d14c8"},{"name":"Update Portal","id":"c68b5323-5437-47d4-8f82-791851770f0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"config\": {\n        \"default_locale\": \"en\",\n        \"allowed_locales\": [\n            \"en\",\n            \"es\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/portals/{{portal_slug}}","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1","portals","{{portal_slug}}"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c68b5323-5437-47d4-8f82-791851770f0d"},{"name":"Get All Portals","id":"cec138c0-0dc0-48bf-aa19-6802a92605ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/portals","urlObject":{"path":["api","v1","accounts","1","portals"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cec138c0-0dc0-48bf-aa19-6802a92605ef"},{"name":"Get Portal Details","id":"f373c6a5-0994-42e1-9196-72d7f29fe5f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/portals/{{portal_slug}}","urlObject":{"path":["api","v1","accounts","1","portals","{{portal_slug}}"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f373c6a5-0994-42e1-9196-72d7f29fe5f8"},{"name":"Get Articles","id":"f23c3ac5-134a-4de7-85e2-ba7597d2d4b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/portals/{{portal_slug}}/articles?page=1","urlObject":{"path":["api","v1","accounts","1","portals","{{portal_slug}}","articles"],"host":["https://app.snypto.com"],"query":[{"key":"page","value":"1"}],"variable":[]}},"response":[],"_postman_id":"f23c3ac5-134a-4de7-85e2-ba7597d2d4b3"},{"name":"Get Article details","id":"9e9d7659-ed29-4eff-b78b-4557bf768e54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/portals/{{portal_slug}}/articles/21","urlObject":{"path":["api","v1","accounts","1","portals","{{portal_slug}}","articles","21"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9e9d7659-ed29-4eff-b78b-4557bf768e54"},{"name":"Create new folder","id":"54fbed0c-2968-4e9a-bacd-2324de56438d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{ \n    \"name\": \"My product folder\",\n    \"account_id\": 1,\n    \"category_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/portals/{{portal_slug}}/folders","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1","portals","{{portal_slug}}","folders"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"54fbed0c-2968-4e9a-bacd-2324de56438d"},{"name":"Create new article","id":"ef564ff6-6c41-431b-aba1-ca8b4ce34cd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"content\": \"Resetting your password in Chatwoot account is easy. Just go to chatwoot.com and click Forgot password, follow the instructions.\",\n    \"description\": \"#1F93FF\",\n    \"status\": 0,\n    \"title\": \"Forgot password\",\n    \"views\": \"Forgot password\",\n    \"author_id\": 1,\n    \"category_id\": 1,\n    \"page_title\": \"Forgot password\"\n    // \"folder_id\": \"page slug\"\n    // \"associated_article_id\": 4\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/portals/{{portal_slug}}/articles","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1","portals","{{portal_slug}}","articles"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef564ff6-6c41-431b-aba1-ca8b4ce34cd1"},{"name":"Update Article","id":"b56123d0-6bef-4326-9de5-a969dc0c52d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Creating an account\",\n    \"content\": \"Creating an Chatwoot account is free and easy. Just go to chatwoot.com and click Sign Up, or download our mobile app and follow the instructions.\",\n    // \"status\": 1\n    // \"title\": \"Update Address\",\n    // \"views\": \"Domain Header\",\n    // \"author_id\": 2,\n    \"category_id\": 20,\n    // \"page_title\": \"Update Address\",\n    // \"folder_id\": \"page slug\"\n    // \"associated_article_id\": 1      \n    \"meta\": {\n        \"title\": \"nice\",\n        \"description\": \"sdfsdf\",\n        \"tags\": []\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/portals/{{portal_slug}}/articles/28","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1","portals","{{portal_slug}}","articles","28"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b56123d0-6bef-4326-9de5-a969dc0c52d8"},{"name":"Get All Categories","id":"a92dfb92-0e59-47ca-a96d-df6106e56ff5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{ \n    \"description\": \"this category would handle the agent related resolve.\",\n    \"locale\": \"en\",         \n    \"name\": \"Agent resolve\",        \n    \"position\": \"top\",\n    \"account_id\": 1,\n    \"portal_id\": \"page slug\",\n    \"slug\": \"agent-category-1\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/portals/{{portal_slug}}/categories","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1","portals","{{portal_slug}}","categories"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a92dfb92-0e59-47ca-a96d-df6106e56ff5"},{"name":"Create new Category","id":"a0525941-7311-4afe-950d-8e07fb30606d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{ \n    \"description\": \"Getting Started details\",\n    \"locale\": \"en\",         \n    \"name\": \"Getting Started\",        \n    \"position\": \"top\",\n    \"account_id\": 1,\n    \"slug\": \"getting-started\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/portals/{{portal_slug}}/categories","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1","portals","{{portal_slug}}","categories"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a0525941-7311-4afe-950d-8e07fb30606d"},{"name":"Update category","id":"35dfaf0c-9074-4971-bc02-d8aa282c7821","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"category\": {\n        \"name\": \"category name 2\",\n        \"description\": \"category description\",\n        \"position\": 1,\n        \"locale\": \"fr\",\n        \"slug\": \"self-hosted-version-new\",\n        \"parent_category_id\": 10,\n        \"linked_category_ids\": [\n            11,\n            12\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/portals/{{portal_slug}}/categories/23","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1","portals","{{portal_slug}}","categories","23"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"35dfaf0c-9074-4971-bc02-d8aa282c7821"},{"name":"Delete Portal","id":"86bf4952-354f-47dc-9c9b-6a7c7fd8c7c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Help name\",\n    \"config\": { \"allowed_locales\": [\"en\", \"es\"] }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/portals/{{portal_slug}}","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1","portals","{{portal_slug}}"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"86bf4952-354f-47dc-9c9b-6a7c7fd8c7c9"},{"name":"Delete Category","id":"5cb91988-f8bf-4f68-a6f5-c0d6b24352d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Help name\",\n    \"config\": { \"allowed_locales\": [\"en\", \"es\"] }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/portals/{{portal_slug}}/categories/26","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1","portals","{{portal_slug}}","categories","26"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5cb91988-f8bf-4f68-a6f5-c0d6b24352d4"},{"name":"Delete Article","id":"d7afb0ff-112b-4898-9f83-865ce39a8723","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Help name\",\n    \"config\": { \"allowed_locales\": [\"en\", \"es\"] }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/portals/{{portal_slug}}/articles/48","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1","portals","{{portal_slug}}","articles","48"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d7afb0ff-112b-4898-9f83-865ce39a8723"}],"id":"2e43b853-ef4d-4c18-b9a2-91621eef16dc","_postman_id":"2e43b853-ef4d-4c18-b9a2-91621eef16dc","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"Webhooks","item":[{"name":"Create Webhook","id":"1c204ee3-9594-4d20-bbf0-c34d0d71dcd9","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"webhook\": {\n        \"url\": \"https://ngrok.com\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/webhooks","urlObject":{"path":["api","v1","accounts","1","webhooks"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1c204ee3-9594-4d20-bbf0-c34d0d71dcd9"}],"id":"f4186bf6-eb25-49fb-9c4d-30ff773bc942","_postman_id":"f4186bf6-eb25-49fb-9c4d-30ff773bc942","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"Automations","item":[{"name":"Create Automation Rule","id":"329cd485-1c7d-4549-ab3d-1a7f1d962d87","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Notify Conversation Created and mark priority query\",\n    \"description\": \"Notify all agent about conversation created and mark priority query\",\n    \"event_name\": \"conversation_created\",\n    \"conditions\": [\n        {\n            \"attribute_key\": \"browser_language\",\n            \"filter_operator\": \"equal_to\",\n            \"values\": [\n                \"en\"\n            ],\n            \"query_operator\": \"null\"\n        }\n        {\n            \"attribute_key\": \"country_code\",\n            \"filter_operator\": \"equal_to\",\n            \"values\": [\n                \"USA\",\n                \"UK\"\n            ],\n            \"query_operator\": null\n        }\n    ],\n    \"actions\": [\n        {\n            \"action_name\": \"send_message\",\n            \"action_params\": [\n                \"Welcome to the chatwoot platform.\"\n            ]\n        }\n        {\n            \"action_name\": \"assign_team\",\n            \"action_params\": [\n                1\n            ]\n        },\n        {\n            \"action_name\": \"add_label\",\n            \"action_params\": [\n                \"support\",\n                \"priority_customer\"\n            ]\n        },\n        {\n            \"action_name\": \"assign_best_agent\",\n            \"action_params\": [\n                1\n            ]\n        },\n        {\n            \"action_name\": \"update_additional_attributes\",\n            \"action_params\": [\n                {\n                    \"intiated_at\": \"2021-12-03 17:25:26.844536 +0530\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/automation_rules","urlObject":{"path":["api","v1","accounts","1","automation_rules"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"329cd485-1c7d-4549-ab3d-1a7f1d962d87"},{"name":"Get Automation Rules","id":"73abe018-1abb-45c4-bce3-fbaedc9df642","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Notify Conversation Created and mark priority query\",\n    \"description\": \"Notify all agent about conversation created and mark priority query\",\n    \"event_name\": \"conversation_created\",\n    \"conditions\": [\n        {\n            \"attribute_key\": \"browser_language\",\n            \"filter_operator\": \"equal_to\",\n            \"values\": [\n                \"en\"\n            ],\n            \"query_operator\": \"AND\"\n        },\n        {\n            \"attribute_key\": \"country_code\",\n            \"filter_operator\": \"equal_to\",\n            \"values\": [\n                \"USA\",\n                \"UK\"\n            ],\n            \"query_operator\": null\n        }\n    ],\n    \"actions\": [\n        {\n            \"action_name\": \"send_message\",\n            \"action_params\": [\n                \"Welcome to the chatwoot platform.\"\n            ]\n        },\n        {\n            \"action_name\": \"assign_team\",\n            \"action_params\": [\n                1\n            ]\n        },\n        {\n            \"action_name\": \"add_label\",\n            \"action_params\": [\n                \"support\",\n                \"priority_customer\"\n            ]\n        },\n        {\n            \"action_name\": \"assign_best_agent\",\n            \"action_params\": [\n                1\n            ]\n        },\n        {\n            \"action_name\": \"update_additional_attributes\",\n            \"action_params\": [\n                {\n                    \"intiated_at\": \"2021-12-03 17:25:26.844536 +0530\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/automation_rules","urlObject":{"path":["api","v1","accounts","1","automation_rules"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"73abe018-1abb-45c4-bce3-fbaedc9df642"}],"id":"996d3c84-4991-40b2-9b3c-460388dfba55","_postman_id":"996d3c84-4991-40b2-9b3c-460388dfba55","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"Custom Attributes","item":[{"name":"List Custom Attributes","id":"1dbd662d-f3e2-422f-afe4-9cc462dd1a63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/custom_attribute_definitions?attribute_model=0","urlObject":{"path":["api","v1","accounts","1","custom_attribute_definitions"],"host":["https://app.snypto.com"],"query":[{"key":"attribute_model","value":"0"}],"variable":[]}},"response":[],"_postman_id":"1dbd662d-f3e2-422f-afe4-9cc462dd1a63"},{"name":"Create Custom Attribute","id":"2efe5d2d-5fa9-4314-a1ec-2a1d17413b2a","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attribute_display_name\": \"Plans\",\n    // text: 0, number: 1, currency: 2, percent: 3, link: 4, date: 5, list: 6, checkbox: 7\n    \"attribute_display_type\": 6,\n    \"attribute_description\": \"Subscriptions\",\n    \"attribute_key\": \"plan\",\n    // conversation_attribute: 0, contact_attribute: 1\n    \"attribute_values\": [\n        \"gold\",\n        \"silver\",\n        \"bronze\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/custom_attribute_definitions","urlObject":{"path":["api","v1","accounts","1","custom_attribute_definitions"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2efe5d2d-5fa9-4314-a1ec-2a1d17413b2a"},{"name":"Update Custom Attribute","id":"cdd36494-546d-4500-a04c-f2f52fefb45c","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"attribute_description\":\"The contact language\",\n    \"attribute_model\":1\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/custom_attribute_definitions/{{custom_attribute_id}}","urlObject":{"path":["api","v1","accounts","1","custom_attribute_definitions","{{custom_attribute_id}}"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cdd36494-546d-4500-a04c-f2f52fefb45c"},{"name":"Show Custom Attribute","id":"a1c93f4f-efaa-4755-bf2c-1d9d5a0ce073","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/custom_attribute_definitions/{{custom_attribute_id}}","urlObject":{"path":["api","v1","accounts","1","custom_attribute_definitions","{{custom_attribute_id}}"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a1c93f4f-efaa-4755-bf2c-1d9d5a0ce073"},{"name":"Delete Custom Attribute","id":"cd8614e9-31a2-4be2-bc9d-5713aef9f1a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/custom_attribute_definitions/{{custom_attribute_id}}","urlObject":{"path":["api","v1","accounts","1","custom_attribute_definitions","{{custom_attribute_id}}"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cd8614e9-31a2-4be2-bc9d-5713aef9f1a0"}],"id":"7f7008d2-59f1-4de7-88dd-f1d5e669642e","_postman_id":"7f7008d2-59f1-4de7-88dd-f1d5e669642e","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"Conversations","item":[{"name":"List all conversations","id":"3fc0e22e-51c2-4f43-9fc8-abaee590f38b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/conversations?status=open&sort_by=last_activity_at","urlObject":{"path":["api","v1","accounts","1","conversations"],"host":["https://app.snypto.com"],"query":[{"key":"status","value":"open"},{"disabled":true,"key":"assignee_type_id","value":"0"},{"description":{"content":"<p>last_activity_at, created_at and last_user_message_at</p>\n","type":"text/plain"},"key":"sort_by","value":"last_activity_at"}],"variable":[]}},"response":[],"_postman_id":"3fc0e22e-51c2-4f43-9fc8-abaee590f38b"},{"name":"Get Conversation","id":"2c60ae58-95eb-430d-ae2a-131d87f2bac7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/conversations/{{conversation_id}}","urlObject":{"path":["api","v1","accounts","1","conversations","{{conversation_id}}"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2c60ae58-95eb-430d-ae2a-131d87f2bac7"},{"name":"Get messages","id":"defa211e-5e46-4550-b388-948910d5758b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/conversations/{{conversation_id}}/messages?after=189","urlObject":{"path":["api","v1","accounts","1","conversations","{{conversation_id}}","messages"],"host":["https://app.snypto.com"],"query":[{"key":"after","value":"189"}],"variable":[]}},"response":[],"_postman_id":"defa211e-5e46-4550-b388-948910d5758b"},{"name":"Get Attachments","id":"8e440bfd-77aa-476e-9018-773ef88f1e72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/conversations/{{conversation_id}}/attachments","urlObject":{"path":["api","v1","accounts","1","conversations","{{conversation_id}}","attachments"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8e440bfd-77aa-476e-9018-773ef88f1e72"},{"name":"Get Conversation meta","id":"6dd07737-c5ca-42c2-9981-aab10f0d6a38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/conversations/meta","urlObject":{"path":["api","v1","accounts","1","conversations","meta"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6dd07737-c5ca-42c2-9981-aab10f0d6a38"},{"name":"Add labels to conversation","id":"6e5785e6-2f55-47bc-8b5a-87bd28566f0f","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"labels\": [\n        \"cpanel\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/conversations/{{conversation_id}}/labels","urlObject":{"path":["api","v1","accounts","1","conversations","{{conversation_id}}","labels"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e5785e6-2f55-47bc-8b5a-87bd28566f0f"},{"name":"Toggle conversation status","id":"652c18ee-11c7-4393-9e05-35e0d0bb39ec","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"snoozed\",\n    \"snoozed_until\": null\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/conversations/{{conversation_id}}/toggle_status","urlObject":{"path":["api","v1","accounts","1","conversations","{{conversation_id}}","toggle_status"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"652c18ee-11c7-4393-9e05-35e0d0bb39ec"},{"name":"Add custom attributes","id":"3d860105-de96-4be7-a7a1-c6600ce9224d","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"custom_attributes\": {\n        \"product_name\": \"iphone-13-pro\",\n        \"product_id\":2021,\n        \"product_url\":\"https://www.apple.com\",\n        \"launch_date\":\"23/02/2021\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/conversations/{{conversation_id}}/custom_attributes","urlObject":{"path":["api","v1","accounts","1","conversations","{{conversation_id}}","custom_attributes"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3d860105-de96-4be7-a7a1-c6600ce9224d"},{"name":"Send Interactive Message","id":"b8988159-de0d-4f03-84af-68fdb609e760","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"content\":\"Hi\",\n\t\"message_type\": \"incoming\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/conversations/2/messages","urlObject":{"path":["api","v1","accounts","1","conversations","2","messages"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b8988159-de0d-4f03-84af-68fdb609e760"},{"name":"Send message Attachments","id":"4753a2c5-bc57-4f63-8d90-ddd37d8b8285","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"multipart/form-data; boundary=----WebKitFormBoundary","type":"text"},{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"attachments[]","type":"file","src":"/Users/muhsink/Downloads/assets/audio.mp3"},{"key":"content","value":"test audio","type":"text"},{"key":"message_type","value":"incoming","type":"text"},{"key":"file_type","value":"audio","type":"text"}]},"url":"https://app.snypto.com/api/v1/accounts/1/conversations/{{conversation_id}}/messages","urlObject":{"path":["api","v1","accounts","1","conversations","{{conversation_id}}","messages"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4753a2c5-bc57-4f63-8d90-ddd37d8b8285"},{"name":"Conversation Filter","id":"337e261b-c721-4326-aeb2-3dd3a603fee6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://app.snypto.com/api/v1/accounts/1/conversations/filter","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1","conversations","filter"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"337e261b-c721-4326-aeb2-3dd3a603fee6"},{"name":"Toggle Typing","id":"09ffc68e-9642-418b-a3e5-10d359eb437e","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \"typing_status\": \"on\" }"},"url":"https://app.snypto.com/api/v1/accounts/1/conversations/{{conversation_id}}/toggle_typing","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1","conversations","{{conversation_id}}","toggle_typing"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"09ffc68e-9642-418b-a3e5-10d359eb437e"},{"name":"Toggle Priority","id":"6a9b143d-ade8-4a7a-87ab-bf925df02529","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"priority\": \"urgent\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/conversations/{{conversation_id}}/toggle_priority","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1","conversations","{{conversation_id}}","toggle_priority"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a9b143d-ade8-4a7a-87ab-bf925df02529"},{"name":"Create Conversation","id":"de394fa9-b48e-48f9-aa28-f33073c0314c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"source_id\": \"14871452-ccb0-47b9-b62a-dc922ca45fa5\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/conversations","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1","conversations"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"de394fa9-b48e-48f9-aa28-f33073c0314c"},{"name":"Send message","id":"25f842af-15c1-431c-a84e-0a3da124e1d7","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"content\":\"Hello {{contact.name}}\",\n\t\"message_type\": \"outgoing\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/conversations/{{conversation_id}}/messages","urlObject":{"path":["api","v1","accounts","1","conversations","{{conversation_id}}","messages"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"25f842af-15c1-431c-a84e-0a3da124e1d7"}],"id":"c4044e69-79e9-4cb6-b9f2-61eadc62479c","_postman_id":"c4044e69-79e9-4cb6-b9f2-61eadc62479c","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"Notifications","item":[{"name":"Save device details","id":"c041fd85-ac30-41ec-9856-897bdfb9111c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"subscription_type\": \"fcm\",\n    \"subscription_attributes\": {\n        \"deviceName\": \"Google Pixel 4a\",\n        \"devicePlatform\": \"Android\",\n        \"apiLevel\": 33,\n        \"brandName\": \"google\",\n        \"buildNumber\": \"20\",\n        \"push_token\": \"fw7RAk7ISN-7Y9oeN-dO4d:APA91bEp2anvOHQ8Ga8sgOc6MCZ1Qf0Q1e1MLGSe86vZqeOF322os17kMjQdhRuLK7O5bbyxNT5Lqo592D52bX5cbeBRWZyXE5BlMaJcwFtgiRDAGgVKL9bi7-rrNF5gfjPkFgavGKve\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/notification_subscriptions","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","notification_subscriptions"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c041fd85-ac30-41ec-9856-897bdfb9111c"},{"name":"List all notifications","id":"7d19425f-7dfb-456f-82be-307d3e5da86d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/notifications?page=1","urlObject":{"path":["api","v1","accounts","1","notifications"],"host":["https://app.snypto.com"],"query":[{"key":"page","value":"1"}],"variable":[]}},"response":[],"_postman_id":"7d19425f-7dfb-456f-82be-307d3e5da86d"},{"name":"Delete notification subscription","id":"4c08620e-c69a-42da-a020-30704b456d5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"push_token\":\"ffW3hRU-bUvZo8AYGGmCMr:APA91bEWnHivo789jwiICQYqO6REMfVFHhQERvZGXCOkEKXxW-1ZNgofQ-ceCLOCUhZ5cwWFpT5T9tCJ9Ol7hW5T0qBDfGIh1J64r2NzGSgzZKwyExhxOnxG-tmIyzCxtvB9S_kyXgYb\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/notification_subscriptions","urlObject":{"path":["api","v1","notification_subscriptions"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4c08620e-c69a-42da-a020-30704b456d5c"}],"id":"14ca5442-5346-4351-8b29-778897e8c6e9","_postman_id":"14ca5442-5346-4351-8b29-778897e8c6e9","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"Inbox","item":[{"name":"List all inboxes","id":"ae2b5d6f-00cf-459f-92c7-94a9ed940746","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/inboxes","urlObject":{"path":["api","v1","accounts","1","inboxes"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ae2b5d6f-00cf-459f-92c7-94a9ed940746"},{"name":"Get Inbox Members","id":"a6fe0e3b-12a4-452f-b44c-896c7ff82751","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/inbox_members/{{inbox_id}}","urlObject":{"path":["api","v1","accounts","1","inbox_members","{{inbox_id}}"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a6fe0e3b-12a4-452f-b44c-896c7ff82751"},{"name":"Get Specific Inbox","id":"ad35443c-e869-448a-bd4e-d8e43153120a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/inboxes","urlObject":{"path":["api","v1","accounts","1","inboxes"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ad35443c-e869-448a-bd4e-d8e43153120a"},{"name":"Inbox is installed or not","id":"9b6aea55-0771-4e2a-a7e3-1ad532c17d88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/inboxes/{{inbox_id}}/verify_installation","urlObject":{"path":["api","v1","accounts","1","inboxes","{{inbox_id}}","verify_installation"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9b6aea55-0771-4e2a-a7e3-1ad532c17d88"},{"name":"Create a New Inbox","id":"a8a87de7-30bc-48bf-88e4-d6fbf4ded220","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/inboxes","urlObject":{"path":["api","v1","accounts","1","inboxes"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a8a87de7-30bc-48bf-88e4-d6fbf4ded220"},{"name":"Update inbox","id":"634285c1-8e86-453d-b843-dcfe9675e49b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PATCH","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\" : \"Chatwoot\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/inboxes/{{inbox_id}}","urlObject":{"path":["api","v1","accounts","1","inboxes","{{inbox_id}}"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"634285c1-8e86-453d-b843-dcfe9675e49b"},{"name":"Get Inbox Campaigns","id":"57c057a1-614c-410f-9a54-0b44461a88ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/inboxes/{{inbox_id}}/campaigns","urlObject":{"path":["api","v1","accounts","1","inboxes","{{inbox_id}}","campaigns"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"57c057a1-614c-410f-9a54-0b44461a88ec"}],"id":"e9abc0bc-78aa-4394-983a-570627324c6d","_postman_id":"e9abc0bc-78aa-4394-983a-570627324c6d","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"Contacts","item":[{"name":"Contact Inboxes","item":[{"name":"Create","id":"90d21614-e0e9-4750-b1b7-77cbcd933ae2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": 1,\n  \"source_id\": \"+918234234332\" \n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/contacts/{{contact_id}}/contact_inboxes","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1","contacts","{{contact_id}}","contact_inboxes"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"90d21614-e0e9-4750-b1b7-77cbcd933ae2"}],"id":"fc54c88b-f6f6-4eb7-a135-c1918de1a830","_postman_id":"fc54c88b-f6f6-4eb7-a135-c1918de1a830","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"Notes","item":[{"name":"List Notes","id":"f516c41a-d2a8-40af-85bc-8d61698d02e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/contacts/{{contact_id}}/notes","urlObject":{"path":["api","v1","accounts","1","contacts","{{contact_id}}","notes"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f516c41a-d2a8-40af-85bc-8d61698d02e0"},{"name":"Create Note","id":"13284e7b-227b-4274-ad6c-a54b6f8275e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"Hey\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/contacts/{{contact_id}}/notes","urlObject":{"path":["api","v1","accounts","1","contacts","{{contact_id}}","notes"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"13284e7b-227b-4274-ad6c-a54b6f8275e0"}],"id":"ff7c3f70-f8ec-4636-87a5-40b8a9d5a15a","_postman_id":"ff7c3f70-f8ec-4636-87a5-40b8a9d5a15a","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"List Contacts","id":"b6f0bc85-a28a-4ea7-9590-2f9ac07e74a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/contacts","urlObject":{"path":["api","v1","accounts","1","contacts"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b6f0bc85-a28a-4ea7-9590-2f9ac07e74a7"},{"name":"Get Contact","id":"32ab203e-9d2b-4349-aea2-2815f3f72e96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/contacts/{{contact_id}}","urlObject":{"path":["api","v1","accounts","1","contacts","{{contact_id}}"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"32ab203e-9d2b-4349-aea2-2815f3f72e96"},{"name":"Get Contact Contactable Inboxes","id":"3c7210e7-ff28-4d2e-b12e-4be5703a594a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/contacts/{{contact_id}}/contactable_inboxes","urlObject":{"path":["api","v1","accounts","1","contacts","{{contact_id}}","contactable_inboxes"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c7210e7-ff28-4d2e-b12e-4be5703a594a"},{"name":"Get Contact Conversataions","id":"40a8fbd5-a4fb-4495-ba4d-7788bceb1488","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/contacts/{{contact_id}}/conversations","urlObject":{"path":["api","v1","accounts","1","contacts","{{contact_id}}","conversations"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"40a8fbd5-a4fb-4495-ba4d-7788bceb1488"},{"name":"Update Contact","id":"0b8dfd54-efb7-4503-bb42-245604bd9273","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PATCH","header":[{"key":"api_access_token","type":"text","value":"nil"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Moozz\",\n    \"inbox_id\": 2,\n    \"custom_attributes\": {\n       \"created_date\":\"23/12/2012\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/contacts/{{contact_id}}","urlObject":{"path":["api","v1","accounts","1","contacts","{{contact_id}}"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0b8dfd54-efb7-4503-bb42-245604bd9273"},{"name":"Search","id":"fa70e6f6-5a98-4419-aabe-12a10c64489f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/contacts/search?q=test","urlObject":{"path":["api","v1","accounts","1","contacts","search"],"host":["https://app.snypto.com"],"query":[{"key":"q","value":"test"}],"variable":[]}},"response":[],"_postman_id":"fa70e6f6-5a98-4419-aabe-12a10c64489f"},{"name":"Create","id":"a9272def-bc7e-4e37-9ed2-838622c3104c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"name\": \"contact 1\",\n  \"inbox_id\": 2,\n  \"source_id\": \"+912323234\",\n  \"phone_number\": \"+912323234\",\n  \"custom_attributes\": {\n      \"hello\": \"hello\",\n      \"test\": \"test\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/contacts","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1","contacts"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a9272def-bc7e-4e37-9ed2-838622c3104c"},{"name":"import","id":"903d5104-7333-4d8c-83ea-1b3bfc12d75d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"import_file","description":"<p>The file name which contains CSV of contact</p>\n","type":"file","src":"ogKToqucC/MOCK_DATA (1).csv"}]},"url":"https://app.snypto.com/api/v1/accounts/1/contacts/import","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1","contacts","import"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"903d5104-7333-4d8c-83ea-1b3bfc12d75d"}],"id":"d9c0becc-5bb8-4847-833d-ad532fa946a5","_postman_id":"d9c0becc-5bb8-4847-833d-ad532fa946a5","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"Agents","item":[{"name":"List all agents","id":"fa85ed75-977f-4e64-97b8-e6c925f3ae92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/agents","urlObject":{"path":["api","v1","accounts","1","agents"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fa85ed75-977f-4e64-97b8-e6c925f3ae92"},{"name":"Update an Agent","id":"75b26756-e3b2-4f5f-9de1-1c49d863c650","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PATCH","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"availability\": \"offline\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/agents/{{agent_id}}","urlObject":{"path":["api","v1","accounts","1","agents","{{agent_id}}"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"75b26756-e3b2-4f5f-9de1-1c49d863c650"}],"id":"02e22d8f-9bfe-484c-b975-8dfc3711a661","_postman_id":"02e22d8f-9bfe-484c-b975-8dfc3711a661","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"Agents Bots","item":[{"name":"List all agent bots","id":"0c7663b5-82ad-4009-ace4-6c7aa4b3cea2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/v1/accounts/1/agent_bots","urlObject":{"path":["v1","accounts","1","agent_bots"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0c7663b5-82ad-4009-ace4-6c7aa4b3cea2"},{"name":"Create an Agent Bot","id":"dc41c9ea-1582-4921-8ac9-a5d8fe0602ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{ \n    \"name\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/agent_bots","urlObject":{"path":["api","v1","accounts","1","agent_bots"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"dc41c9ea-1582-4921-8ac9-a5d8fe0602ce"},{"name":"Update an Agent","id":"3b7204e5-4e6a-4211-b292-ff717458bf2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PATCH","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n\n\"availability\": \"online\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/agents/{{agent_id}}","urlObject":{"path":["api","v1","accounts","1","agents","{{agent_id}}"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b7204e5-4e6a-4211-b292-ff717458bf2b"}],"id":"0bdfce46-5c35-4082-b7c1-63aac0398550","_postman_id":"0bdfce46-5c35-4082-b7c1-63aac0398550","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"Reports","item":[{"name":"Account Summary","id":"62a4b9a7-54b6-4518-97d5-9a3ddaa97e3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"since\" =>  \"1603823400\",\n  \"until\"=> \"1604341800\"\n\n}"},"url":"https://app.snypto.com/api/{{api_version_2}}/accounts/1/reports/account_summary?since=1603823400&until=1604341800","urlObject":{"path":["api","{{api_version_2}}","accounts","1","reports","account_summary"],"host":["https://app.snypto.com"],"query":[{"key":"since","value":"1603823400"},{"key":"until","value":"1604341800"}],"variable":[]}},"response":[],"_postman_id":"62a4b9a7-54b6-4518-97d5-9a3ddaa97e3e"},{"name":"Agents","id":"40df66b8-21f4-4242-ab56-7248282f4d80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"since\" =>  \"1603823400\",\n  \"until\"=> \"1604341800\"\n\n}"},"url":"https://app.snypto.com/api/{{api_version_2}}/accounts/1/reports/agents?since=1603823400&until=1604341800","urlObject":{"path":["api","{{api_version_2}}","accounts","1","reports","agents"],"host":["https://app.snypto.com"],"query":[{"key":"since","value":"1603823400"},{"key":"until","value":"1604341800"}],"variable":[]}},"response":[],"_postman_id":"40df66b8-21f4-4242-ab56-7248282f4d80"},{"name":"Agents Copy","id":"64821801-2ee2-4ae6-9b47-9ffbc06161d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"since\" =>  \"1603823400\",\n  \"until\"=> \"1604341800\"\n\n}"},"url":"https://app.snypto.com/api/{{api_version_2}}/accounts/1/reports/agents?since=1603823400&until=1604341800","urlObject":{"path":["api","{{api_version_2}}","accounts","1","reports","agents"],"host":["https://app.snypto.com"],"query":[{"key":"since","value":"1603823400"},{"key":"until","value":"1604341800"}],"variable":[]}},"response":[],"_postman_id":"64821801-2ee2-4ae6-9b47-9ffbc06161d6"},{"name":"Reports","id":"2861ae1d-65a8-4c0b-8831-761a481ab039","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/{{api_version_2}}/accounts/1/reports/account?metric=conversations_count","urlObject":{"path":["api","{{api_version_2}}","accounts","1","reports","account"],"host":["https://app.snypto.com"],"query":[{"key":"metric","value":"conversations_count"}],"variable":[]}},"response":[],"_postman_id":"2861ae1d-65a8-4c0b-8831-761a481ab039"}],"id":"4cd30e11-bb23-4595-9bfd-cd29451bbb1b","_postman_id":"4cd30e11-bb23-4595-9bfd-cd29451bbb1b","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"Integrations","item":[{"name":"Get Integration Apps","id":"8f2257bd-a28d-4718-805c-98c55222f5e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://app.snypto.com/api/v1/accounts/1/integrations/apps","urlObject":{"path":["api","v1","accounts","1","integrations","apps"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8f2257bd-a28d-4718-805c-98c55222f5e8"},{"name":"Get slack attachment","id":"abb092b6-8738-4623-9e89-7b7a04f6fbe3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{slack_access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"api_access_token","value":"nil","type":"text"}],"url":"https://files.slack.com/files-pri/T7NN675QT-F05NCK8NRFT/66.jpg","urlObject":{"protocol":"https","path":["files-pri","T7NN675QT-F05NCK8NRFT","66.jpg"],"host":["files","slack","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"abb092b6-8738-4623-9e89-7b7a04f6fbe3"},{"name":"Create Integration Hook","id":"7c1bae16-c7be-4a34-94b6-e859918debbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"app_id\": \"dialogflow\",\n    \"inbox_id\": \"1\",\n    \"settings\" : { \"project_id\": \"occulus\", \"credentials\": { \"test\": \"test\" } \n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/integrations/hooks","urlObject":{"path":["api","v1","accounts","1","integrations","hooks"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7c1bae16-c7be-4a34-94b6-e859918debbe"},{"name":"Delete Integration Hook","id":"a19bdf39-7c62-40e1-882a-19e9d054aeb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"app_id\": \"dialogflow\",\n    \"inbox_id\": \"1\",\n    \"settings\" : { \"project_id\": \"32\", \"credentials\": { \"test\": \"test\" } \n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/integrations/hooks/532","urlObject":{"path":["api","v1","accounts","1","integrations","hooks","532"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a19bdf39-7c62-40e1-882a-19e9d054aeb5"}],"id":"33f45fe1-de4d-468c-a67d-a7b8069a8af6","_postman_id":"33f45fe1-de4d-468c-a67d-a7b8069a8af6","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"Widgets","item":[{"name":"Create CSAT","id":"f3d5e391-8553-48bf-b28e-9f2f67bf7935","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-Auth-Token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"message\": {\n        \"submitted_values\": {\n            \"csat_survey_response\": {\n                \"rating\": 2,\n                \"feedback\": \"Amazing\"\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/widget/messages/1130842?website_token=nil&cw_conversation=nil&locale=en","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","widget","messages","1130842"],"host":["https://app.snypto.com"],"query":[{"key":"website_token","value":"nil"},{"key":"cw_conversation","value":"nil"},{"key":"locale","value":"en"}],"variable":[]}},"response":[],"_postman_id":"f3d5e391-8553-48bf-b28e-9f2f67bf7935"},{"name":"Update Contact","id":"a6f93756-c525-4d9f-8027-8ac29744323e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-Auth-Token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"additional_attributes\": {\n        \"country_code\": \"IN\",\n        \"city\": \"Kochi\",\n        \"company_name\": \"Chatwoot\",\n        \"description\": \"I am sooooo coooooooollll\",\n        \"social_profiles\": {\n            \"linkedin\": \"salam\",\n            \"twitter\":\"salam\",\n            \"instagram\":\"salam\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/widget/contact?website_token=nil","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","widget","contact"],"host":["https://app.snypto.com"],"query":[{"key":"website_token","value":"nil"}],"variable":[]}},"response":[],"_postman_id":"a6f93756-c525-4d9f-8027-8ac29744323e"}],"id":"6e4274ee-ba7b-42ab-a9b9-cdea447af851","_postman_id":"6e4274ee-ba7b-42ab-a9b9-cdea447af851","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"Accounts","item":[{"name":"Get account details","event":[{"listen":"test","script":{"id":"fc3352ef-fd5a-43cf-929e-297250aa30c4","exec":["var responseHeaders = pm.response.headers.all();","var responseHeaderObject = {}","","responseHeaders.forEach(function (header) {","  responseHeaderObject[header.key] = header.value","})","","postman.setEnvironmentVariable(\"access-token\", responseHeaderObject['access-token']);","postman.setEnvironmentVariable(\"client\", responseHeaderObject.client);","postman.setEnvironmentVariable(\"expiry\", responseHeaderObject.expiry);","postman.setEnvironmentVariable(\"token-type\", responseHeaderObject['token-type']);","postman.setEnvironmentVariable(\"uid\", responseHeaderObject.uid);",""],"type":"text/javascript"}}],"id":"2891e4d3-6194-444c-aec9-edda357ed9cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n \"email\" : \"john@acme.inc\",\n \"password\" : \"123456\"\n}"},"url":"https://app.snypto.com/api/v1/accounts/1","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2891e4d3-6194-444c-aec9-edda357ed9cd"}],"id":"fb5e73e3-55d2-4c5d-8980-eec526ef4e7b","_postman_id":"fb5e73e3-55d2-4c5d-8980-eec526ef4e7b","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"Experimental","item":[{"name":"Participants","item":[{"name":"Get all participants","id":"d343b287-0940-4bd9-b41c-bf2598d6b315","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"content\":\"Hi\",\n\t\"message_type\": \"incoming\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/conversations/1/participants","urlObject":{"path":["api","v1","accounts","1","conversations","1","participants"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d343b287-0940-4bd9-b41c-bf2598d6b315"},{"name":"add participant","id":"10bec650-0156-409c-9795-518329d7670d","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"user_ids\" : [1]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/conversations/1/participants","urlObject":{"path":["api","v1","accounts","1","conversations","1","participants"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"10bec650-0156-409c-9795-518329d7670d"},{"name":"delete participant","id":"73a20ad8-d207-43fd-a059-74068e7d012e","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api_access_token","value":"nil","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"user_ids\" : [1]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.snypto.com/api/v1/accounts/1/conversations/1/participants","urlObject":{"path":["api","v1","accounts","1","conversations","1","participants"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"73a20ad8-d207-43fd-a059-74068e7d012e"}],"id":"e183513b-3075-4c99-b8a4-e0c66fbf4346","_postman_id":"e183513b-3075-4c99-b8a4-e0c66fbf4346","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"Billing Subscription","id":"1266bff6-554c-4275-aac2-62cc5704fd4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"1266bff6-554c-4275-aac2-62cc5704fd4d"}],"id":"3f8364d6-6506-4aca-b184-700084514d8d","_postman_id":"3f8364d6-6506-4aca-b184-700084514d8d","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"OpenAI","item":[{"name":"Completions API","id":"63c2ac8f-6c91-44cf-b515-a348fbbb1369","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{OPEN_AI_KEY}}"}],"body":{"mode":"raw","raw":"{\n    \"model\": \"gpt-3.5-turbo\",\n    \"messages\": [\n        {\n            \"role\": \"system\",\n            \"content\": \"You are a helpful support agent. Please fix the spelling and grammar of the following response. Reply in the user's language.\"\n        },\n        {\n            \"role\": \"user\",\n            \"content\": \"I'm sorry to hear that you're experiencing issues with the Facebook integration. Can you please provide more details about the problem?\"\n        }\n    ],\n    \"temperature\": 1,\n    \"top_p\":0.1\n}"},"url":"https://api.openai.com/v1/chat/completions","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","chat","completions"],"host":["api","openai","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"63c2ac8f-6c91-44cf-b515-a348fbbb1369"},{"name":"Rephrase","id":"885e4f79-5f8d-451e-a950-89ed6c276344","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"*/*"},{"warning":"This is a duplicate header and will be overridden by the api_access_token header generated by Postman.","key":"api_access_token","value":"nil"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": {\n        \"name\": \"rephrase\",\n        \"data\": {\n            \"content\": \"hey i help you\"\n        }\n    }\n}"},"url":"https://app.snypto.com/api/v1/accounts/1/integrations/hooks/7/process_event","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1","integrations","hooks","7","process_event"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"885e4f79-5f8d-451e-a950-89ed6c276344"},{"name":"Fix spelling","id":"6ddbc0ec-bbde-482c-8f9d-6f231856ee56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"*/*"},{"warning":"This is a duplicate header and will be overridden by the api_access_token header generated by Postman.","key":"api_access_token","value":"nil"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": {\n        \"name\": \"fix_spelling_grammar\",\n        \"data\": {\n            \"content\": \"I will come on tomarrow\"\n        }\n    }\n}"},"url":"https://app.snypto.com/api/v1/accounts/1/integrations/hooks/7/process_event","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1","integrations","hooks","7","process_event"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ddbc0ec-bbde-482c-8f9d-6f231856ee56"},{"name":"Shorten","id":"520c3da3-35bc-404c-85b2-53ba88d0fb21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"*/*"},{"warning":"This is a duplicate header and will be overridden by the api_access_token header generated by Postman.","key":"api_access_token","value":"nil"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": {\n        \"name\": \"shorten\",\n        \"data\": {\n            \"content\": \"Looking for the right words to express your feelings on the big day? Turn to these funny, sentimental, or traditional quotes for your vows, toasts, speeches, and more. Whether you want to impart some wisdom or inject a little laughter into your bridal shower toast or best man speech, these wedding quotes will help you get there. Sprinkling in sentiments from world-renowned poets, authors, philosophers, and even beloved movie characters can help take any speech to the next level. And for the wedding couple\"\n        }\n    }\n}"},"url":"https://app.snypto.com/api/v1/accounts/1/integrations/hooks/7/process_event","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"path":["api","v1","accounts","1","integrations","hooks","7","process_event"],"host":["https://app.snypto.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"520c3da3-35bc-404c-85b2-53ba88d0fb21"}],"id":"11155a86-97a5-4527-b76b-b701e215e044","_postman_id":"11155a86-97a5-4527-b76b-b701e215e044","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}},{"name":"Push notification","item":[{"name":"Test push","id":"a35b3341-df5f-465b-95c1-b3481767cedb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{fcm_server_key}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"notification\": {\n        \"title\": \"New message\",\n        \"body\": \"Please help me on this?\",\n        \n        \"tag\": \"bde32d05-fe6f-4fdd-a6a8-19597c38ff0f\"\n    },\n    \"data\": {\n        \"conversation_id\": \"23232323\"\n    },\n    \"priority\": \"high\",\n     \"to\": \"{{push_token}}\"\n}"},"url":"https://fcm.googleapis.com/fcm/send","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}},"urlObject":{"protocol":"https","path":["fcm","send"],"host":["fcm","googleapis","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a35b3341-df5f-465b-95c1-b3481767cedb"}],"id":"9a08d7c7-c9c4-4679-b8e3-9c3b1d497c17","_postman_id":"9a08d7c7-c9c4-4679-b8e3-9c3b1d497c17","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]},"isInherited":true,"source":{"_postman_id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","id":"0bee6873-c898-4b0e-84fe-2ffe319eb126","name":"SNYPTO Application API v1.0","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"nil"}]}},"event":[{"listen":"prerequest","script":{"id":"a3f0841e-6434-428c-960c-d4f337c28db7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9b3fd39c-1267-46b3-8c41-71bd4fffd839","type":"text/javascript","exec":[""]}}],"variable":[{"key":"host","value":"https://app.snypto.com"},{"key":"api_access_token","value":"nil"},{"key":"account_id","value":"1"},{"key":"api_version","value":"v1"},{"key":"userApiKey","value":"nil","type":"string"},{"key":"campaign_id","value":"1"},{"key":"website_token","value":"nil"},{"key":"cw_conversation","value":"nil"},{"key":"x-auth-token","value":"nil"}]}