{"info":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","description":"<html><head></head><body><p>This is the API documentation for Chatapp server.</p>\n<p>Contact Support:<br>Email: <a href=\"https://mailto:support@emovur.com\">support@emovur.com</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"40138112","collectionId":"b3858e35-266d-4de4-abdc-054d3b0851c1","publishedId":"2sAYBYgAQs","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"0c9ffa"},"publishDate":"2024-12-03T07:41:24.000Z"},"item":[{"name":"platform","item":[{"name":"api","item":[{"name":"v1","item":[{"name":"accounts","item":[{"name":"{account_id}","item":[{"name":"account_users","item":[{"name":"List all Account Users","id":"32c5e430-2776-4fcd-888d-12b5bc0fc862","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/platform/api/v1/accounts/:account_id/account_users","description":"<p>List all account users</p>\n","urlObject":{"path":["platform","api","v1","accounts",":account_id","account_users"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"4704781b-ef79-4857-8981-062db60866fe","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"c5d9c278-0e65-491a-a682-9104bfa5d37a","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.emovur.com/platform/api/v1/accounts/:account_id/account_users","protocol":"https","host":["chatapp","emovur","com"],"path":["platform","api","v1","accounts",":account_id","account_users"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"account_id\": \"<integer>\",\n    \"user_id\": \"<integer>\",\n    \"role\": \"<string>\"\n  },\n  {\n    \"account_id\": \"<integer>\",\n    \"user_id\": \"<integer>\",\n    \"role\": \"<string>\"\n  }\n]"},{"id":"4b10463f-e8cf-46d3-98ff-1dbff036b5fc","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/accounts/:account_id/account_users","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","accounts",":account_id","account_users"],"variable":[{"key":"account_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"32c5e430-2776-4fcd-888d-12b5bc0fc862"},{"name":"Create an Account User","id":"4daaca1e-4461-4d04-b159-5e64f44676e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"<integer>\",\n  \"role\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/platform/api/v1/accounts/:account_id/account_users","description":"<p>Create an Account User</p>\n","urlObject":{"path":["platform","api","v1","accounts",":account_id","account_users"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"4857e90c-d62d-4a38-b1cd-1db9fe1f37ea","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"ac758ab8-7ada-40c9-b9cb-c979158bb1e5","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"<integer>\",\n  \"role\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.emovur.com/platform/api/v1/accounts/:account_id/account_users","protocol":"https","host":["chatapp","emovur","com"],"path":["platform","api","v1","accounts",":account_id","account_users"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"account_id\": \"<integer>\",\n  \"user_id\": \"<integer>\",\n  \"role\": \"<string>\"\n}"},{"id":"b7179e47-2031-4700-8718-88a9d7676814","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"<integer>\",\n  \"role\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/accounts/:account_id/account_users","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","accounts",":account_id","account_users"],"variable":[{"key":"account_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"4daaca1e-4461-4d04-b159-5e64f44676e9"},{"name":"Delete an Account User","id":"80ee2b7f-e3aa-4b98-8236-7af1402abc82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/platform/api/v1/accounts/:account_id/account_users","description":"<p>Delete an Account User</p>\n","urlObject":{"path":["platform","api","v1","accounts",":account_id","account_users"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"4f137bbe-80bf-433a-b9b4-d8139cb5a7c0","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"5df9fb96-8cf0-4a70-a699-e37e94beecb3","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.emovur.com/platform/api/v1/accounts/:account_id/account_users","protocol":"https","host":["chatapp","emovur","com"],"path":["platform","api","v1","accounts",":account_id","account_users"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"0398ed53-7421-4347-b80e-2a81ea1fe1d0","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/accounts/:account_id/account_users","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","accounts",":account_id","account_users"],"variable":[{"key":"account_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"e964ec6a-ec29-4a54-904b-f839a0eee228","name":"The account does not exist","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/accounts/:account_id/account_users","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","accounts",":account_id","account_users"],"variable":[{"key":"account_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"80ee2b7f-e3aa-4b98-8236-7af1402abc82"}],"id":"1cf15a67-3ef7-4b1a-85bf-ba0e9a3ff862","_postman_id":"1cf15a67-3ef7-4b1a-85bf-ba0e9a3ff862","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"Get an account details","id":"e590d935-45ea-44c4-991d-f390eb6e4ad3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/platform/api/v1/accounts/:account_id","description":"<p>Get the details of an account</p>\n","urlObject":{"path":["platform","api","v1","accounts",":account_id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"2ba89e18-d89b-4cd6-9d3f-70a4ceb8d33b","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"c09abafc-74ef-45ea-85b9-ab2c6d16b334","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.emovur.com/platform/api/v1/accounts/:account_id","protocol":"https","host":["chatapp","emovur","com"],"path":["platform","api","v1","accounts",":account_id"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"name\": \"<string>\"\n}"},{"id":"3cdf56f5-aaec-48b0-bec0-571db0862af1","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/accounts/:account_id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","accounts",":account_id"],"variable":[{"key":"account_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"3f18bb24-2b28-4136-90a7-0b9c282b83b5","name":"The given account does not exist","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/accounts/:account_id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","accounts",":account_id"],"variable":[{"key":"account_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"e590d935-45ea-44c4-991d-f390eb6e4ad3"},{"name":"Update an account","id":"dfc99619-b01d-4d8e-859f-ed54de67d360","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/platform/api/v1/accounts/:account_id","description":"<p>Update an account's attributes</p>\n","urlObject":{"path":["platform","api","v1","accounts",":account_id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"f45eceda-0606-4bc9-b9e5-a5f2df5c26ca","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"b6ae1e71-1d6d-4cd6-b0c7-0cfffb60e28d","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.emovur.com/platform/api/v1/accounts/:account_id","protocol":"https","host":["chatapp","emovur","com"],"path":["platform","api","v1","accounts",":account_id"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"name\": \"<string>\"\n}"},{"id":"8d559c30-6962-4822-87c7-0976c59ba0c7","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/accounts/:account_id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","accounts",":account_id"],"variable":[{"key":"account_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"dfc99619-b01d-4d8e-859f-ed54de67d360"},{"name":"Delete an Account","id":"c06aacb7-96d5-4ed0-bd0e-7614351de83c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://chatapp.backendprod.com/platform/api/v1/accounts/:account_id","description":"<p>Delete an Account</p>\n","urlObject":{"path":["platform","api","v1","accounts",":account_id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"c4eba4df-7dbc-43c8-bf99-d0d1cf3df7e4","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"22f4c3d3-bc4f-44c2-bd75-1dfe9659915c","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/accounts/:account_id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","accounts",":account_id"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"ed1144c0-9fba-482f-a9b8-a704c855226e","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/accounts/:account_id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","accounts",":account_id"],"variable":[{"key":"account_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"88c6486f-5713-4c9b-9844-af378b848726","name":"The account does not exist","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/accounts/:account_id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","accounts",":account_id"],"variable":[{"key":"account_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"c06aacb7-96d5-4ed0-bd0e-7614351de83c"}],"id":"cc8c5e70-12cd-4709-97fc-a0c771479621","_postman_id":"cc8c5e70-12cd-4709-97fc-a0c771479621","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"Create an Account","id":"79d18a34-abf3-4095-ad0e-3eeae470e7a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/platform/api/v1/accounts","description":"<p>Create an Account</p>\n","urlObject":{"path":["platform","api","v1","accounts"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[]}},"response":[{"id":"a8f80683-d2b9-468f-b686-bbef2cd8bfc4","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/platform/api/v1/accounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"name\": \"<string>\"\n}"},{"id":"ba2d314d-8edf-41da-bb5f-cd9d522a2041","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/platform/api/v1/accounts"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"79d18a34-abf3-4095-ad0e-3eeae470e7a9"}],"id":"bc3693f7-3648-4b1c-a823-b8620d6bd98f","_postman_id":"bc3693f7-3648-4b1c-a823-b8620d6bd98f","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"agent_bots","item":[{"name":"{id}","item":[{"name":"Get an agent bot details","id":"605d0d48-ddbe-412e-a520-375638656b65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/platform/api/v1/agent_bots/:id","description":"<p>Get the details of an agent bot</p>\n","urlObject":{"path":["platform","api","v1","agent_bots",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"3e96ce70-ec68-4236-b3e6-3127a5ab3e1a","description":{"content":"<p>(Required) The ID of the agentbot to be updated</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"bb65812e-8ec0-44cd-98c7-12a31fe67531","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/agent_bots/:id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","agent_bots",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"account_id\": \"<number>\",\n  \"outgoing_url\": \"<string>\"\n}"},{"id":"a569a417-cf8f-4867-9eca-4f26921d08f5","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/agent_bots/:id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","agent_bots",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"d054c0be-89fc-4f20-9e8b-41ac132bb2d5","name":"The given agent bot ID does not exist","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/agent_bots/:id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","agent_bots",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"605d0d48-ddbe-412e-a520-375638656b65"},{"name":"Update an agent bot","id":"ff4d0d1a-d951-480b-80aa-f52a1bb4e822","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"outgoing_url\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/platform/api/v1/agent_bots/:id","description":"<p>Update an agent bot's attributes</p>\n","urlObject":{"path":["platform","api","v1","agent_bots",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"5b549ba1-5717-4ab5-9793-2b3f8e4256f4","description":{"content":"<p>(Required) The ID of the agentbot to be updated</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"8a350302-eb7e-490f-8489-d7381a0debea","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"outgoing_url\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/agent_bots/:id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","agent_bots",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"account_id\": \"<number>\",\n  \"outgoing_url\": \"<string>\"\n}"},{"id":"9c947807-0988-45c8-9b2f-699eac4dd5e3","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"outgoing_url\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/agent_bots/:id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","agent_bots",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"ff4d0d1a-d951-480b-80aa-f52a1bb4e822"},{"name":"Delete an AgentBot","id":"b70a1c00-1ed0-4cf2-a829-3ddd0828abb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://chatapp.backendprod.com/platform/api/v1/agent_bots/:id","description":"<p>Delete an AgentBot</p>\n","urlObject":{"path":["platform","api","v1","agent_bots",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"42643364-c364-40f7-9720-7a0108ab66fd","description":{"content":"<p>(Required) The ID of the agentbot to be updated</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"2032020c-1664-4840-a437-59b0b1db3991","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/agent_bots/:id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","agent_bots",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"8106305b-0eab-4740-ae51-acb67ca4c24b","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/agent_bots/:id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","agent_bots",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"c269ebfb-06ba-44e7-a78b-3fa92ed58a26","name":"The agent bot does not exist","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/agent_bots/:id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","agent_bots",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"b70a1c00-1ed0-4cf2-a829-3ddd0828abb2"}],"id":"9efb74a8-ef7a-4902-82be-caaf6eb97036","_postman_id":"9efb74a8-ef7a-4902-82be-caaf6eb97036","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"List all AgentBots","id":"81d9d613-cc5a-434d-ab23-dd042c64b598","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/platform/api/v1/agent_bots","description":"<p>List all agent bots available</p>\n","urlObject":{"path":["platform","api","v1","agent_bots"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[]}},"response":[{"id":"1381e2ab-689b-42ff-8770-99b02653039f","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":"https://chatapp.backendprod.com/platform/api/v1/agent_bots"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<number>\",\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"account_id\": \"<number>\",\n    \"outgoing_url\": \"<string>\"\n  },\n  {\n    \"id\": \"<number>\",\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"account_id\": \"<number>\",\n    \"outgoing_url\": \"<string>\"\n  }\n]"},{"id":"d8971b11-f4c8-477a-a568-a5403aae8b22","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":"https://chatapp.backendprod.com/platform/api/v1/agent_bots"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"81d9d613-cc5a-434d-ab23-dd042c64b598"},{"name":"Create an Agent Bot","id":"3460da7f-5469-41dc-b62a-1dd482942b09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"outgoing_url\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/platform/api/v1/agent_bots","description":"<p>Create an agent bot</p>\n","urlObject":{"path":["platform","api","v1","agent_bots"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[]}},"response":[{"id":"7d5ce88a-f76c-4f7b-ada3-5a7cfb781386","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"outgoing_url\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/platform/api/v1/agent_bots"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"account_id\": \"<number>\",\n  \"outgoing_url\": \"<string>\"\n}"},{"id":"9b6bfc71-5187-422c-b6d3-547b048576cc","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"outgoing_url\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/platform/api/v1/agent_bots"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3460da7f-5469-41dc-b62a-1dd482942b09"}],"id":"66391cdd-0172-4ea1-830f-755c6f8ec603","_postman_id":"66391cdd-0172-4ea1-830f-755c6f8ec603","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"users","item":[{"name":"{id}","item":[{"name":"login","item":[{"name":"Get User SSO Link","id":"67de7e4d-dcce-46df-bc1d-942f7699dd3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/platform/api/v1/users/:id/login","description":"<p>Get the sso link of a user</p>\n","urlObject":{"path":["platform","api","v1","users",":id","login"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"064bc9f0-0ecb-4dfd-8c96-731d5906588e","description":{"content":"<p>(Required) The numeric ID of the user on the platform</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"4cc76b79-4f38-4bad-9245-14075d84acee","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/users/:id/login","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","users",":id","login"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"url\": \"<string>\"\n}"},{"id":"f734ee93-674c-45f3-9adf-9e55922c50ff","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/users/:id/login","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","users",":id","login"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"9b7429c3-8104-41b1-92d0-97611ca0e4a1","name":"The given user does not exist","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/users/:id/login","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","users",":id","login"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"67de7e4d-dcce-46df-bc1d-942f7699dd3e"}],"id":"2c65cf4a-30dc-48ad-b7e4-a51f52a6465d","_postman_id":"2c65cf4a-30dc-48ad-b7e4-a51f52a6465d","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"Get an user details","id":"b7509f94-e732-4999-80a9-499b57951f1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/platform/api/v1/users/:id","description":"<p>Get the details of an user</p>\n","urlObject":{"path":["platform","api","v1","users",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"f6e71666-2a5c-4a19-86ff-415783058149","description":{"content":"<p>(Required) The numeric ID of the user on the platform</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"d0ae8479-64da-416a-b3f7-5bc73d27e4a8","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/users/:id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","users",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"uid\": \"<string>\",\n  \"name\": \"<string>\",\n  \"available_name\": \"<string>\",\n  \"display_name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"account_id\": \"<number>\",\n  \"role\": \"administrator\",\n  \"confirmed\": \"<boolean>\",\n  \"custom_attributes\": {},\n  \"accounts\": [\n    {\n      \"id\": \"<number>\",\n      \"name\": \"<string>\",\n      \"role\": \"administrator\"\n    },\n    {\n      \"id\": \"<number>\",\n      \"name\": \"<string>\",\n      \"role\": \"agent\"\n    }\n  ]\n}"},{"id":"58c86e8d-5412-4d43-a51d-4cfbd97d245e","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/users/:id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","users",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"da9c2616-06cd-4117-ae6c-07f93302e806","name":"The given user does not exist","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/users/:id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","users",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"b7509f94-e732-4999-80a9-499b57951f1c"},{"name":"Update a user","id":"fd252589-e9a6-42ef-aed0-c115e02d1df0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"password\": \"<string>\",\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/platform/api/v1/users/:id","description":"<p>Update a user's attributes</p>\n","urlObject":{"path":["platform","api","v1","users",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"e17ce5b6-5d0c-455d-bf84-28a3c2d3092f","description":{"content":"<p>(Required) The numeric ID of the user on the platform</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"1b670b95-33c7-4f30-b2f1-4d760cff3112","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"password\": \"<string>\",\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/users/:id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","users",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"uid\": \"<string>\",\n  \"name\": \"<string>\",\n  \"available_name\": \"<string>\",\n  \"display_name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"account_id\": \"<number>\",\n  \"role\": \"administrator\",\n  \"confirmed\": \"<boolean>\",\n  \"custom_attributes\": {},\n  \"accounts\": [\n    {\n      \"id\": \"<number>\",\n      \"name\": \"<string>\",\n      \"role\": \"administrator\"\n    },\n    {\n      \"id\": \"<number>\",\n      \"name\": \"<string>\",\n      \"role\": \"agent\"\n    }\n  ]\n}"},{"id":"471bc9da-0afc-4a0d-a3ed-762760d1d17c","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"password\": \"<string>\",\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/users/:id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","users",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"fd252589-e9a6-42ef-aed0-c115e02d1df0"},{"name":"Delete a User","id":"3caae885-3d2d-4760-aff7-27032497a234","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://chatapp.backendprod.com/platform/api/v1/users/:id","description":"<p>Delete a User</p>\n","urlObject":{"path":["platform","api","v1","users",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"c98aee9c-19c4-410f-81ee-71f1601709af","description":{"content":"<p>(Required) The numeric ID of the user on the platform</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"1969a946-828c-4471-a1d3-77d71e4c7ade","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/users/:id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","users",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"a7cbbbee-3f0f-4fc9-9057-90a62306474a","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/users/:id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","users",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"96ee159e-864c-400c-902a-eb942f097007","name":"The user does not exist","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/platform/api/v1/users/:id","host":["https://chatapp.backendprod.com"],"path":["platform","api","v1","users",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3caae885-3d2d-4760-aff7-27032497a234"}],"id":"e8e115e4-baac-4e2e-b002-fe0b3e98ef33","_postman_id":"e8e115e4-baac-4e2e-b002-fe0b3e98ef33","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"Create a User","id":"e32f16e4-8725-4a41-b98e-0975315291be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"password\": \"<string>\",\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/platform/api/v1/users","description":"<p>Create a User</p>\n","urlObject":{"path":["platform","api","v1","users"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[]}},"response":[{"id":"9f5783c5-1586-4154-a909-f46fb7e36b8c","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"password\": \"<string>\",\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/platform/api/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"uid\": \"<string>\",\n  \"name\": \"<string>\",\n  \"available_name\": \"<string>\",\n  \"display_name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"account_id\": \"<number>\",\n  \"role\": \"administrator\",\n  \"confirmed\": \"<boolean>\",\n  \"custom_attributes\": {},\n  \"accounts\": [\n    {\n      \"id\": \"<number>\",\n      \"name\": \"<string>\",\n      \"role\": \"administrator\"\n    },\n    {\n      \"id\": \"<number>\",\n      \"name\": \"<string>\",\n      \"role\": \"agent\"\n    }\n  ]\n}"},{"id":"ced7cbdd-d70c-4547-a8bc-5ea45f44c808","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"password\": \"<string>\",\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/platform/api/v1/users"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"e32f16e4-8725-4a41-b98e-0975315291be"}],"id":"a9852548-359d-4b50-9005-61ad02bc0dd6","_postman_id":"a9852548-359d-4b50-9005-61ad02bc0dd6","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}}],"id":"61ef6711-de14-4a57-ae23-491ddbe8c3d5","_postman_id":"61ef6711-de14-4a57-ae23-491ddbe8c3d5","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}}],"id":"b632c85f-b7d8-40a0-a716-054844053c6d","_postman_id":"b632c85f-b7d8-40a0-a716-054844053c6d","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}}],"id":"fb3c1389-e1a2-4bc5-90e9-ba4a29e73632","_postman_id":"fb3c1389-e1a2-4bc5-90e9-ba4a29e73632","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"public","item":[{"name":"api","item":[{"name":"v1","item":[{"name":"inboxes","item":[{"name":"{inbox_identifier}","item":[{"name":"contacts","item":[{"name":"{contact_identifier}","item":[{"name":"conversations","item":[{"name":"{conversation_id}","item":[{"name":"messages","item":[{"name":"{message_id}","item":[{"name":"Update a message","id":"79167a39-07ee-4543-9ebc-9c8bcbe0cb3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"submitted_values\": {\n    \"csat_survey_response\": {\n      \"rating\": \"<integer>\",\n      \"feedback_message\": \"<string>\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier/conversations/:conversation_id/messages/:message_id","description":"<p>Update a message</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier","conversations",":conversation_id","messages",":message_id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"cd96bc52-e03c-46c9-885c-7942ecdf99c5","description":{"content":"<p>(Required) The identifier obtained from API inbox channel</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"inbox_identifier"},{"id":"b3f41ccb-d689-40c6-b23a-b35609538e08","description":{"content":"<p>(Required) The source id of contact obtained on contact create</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"contact_identifier"},{"id":"af246cf8-3dcb-403e-8fe6-05703c4b7404","description":{"content":"<p>(Required) The numeric ID of the conversation</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"conversation_id"},{"id":"a0f009b1-7e19-469c-aea4-72065e99ba55","description":{"content":"<p>(Required) The numeric ID of the message</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"message_id"}]}},"response":[{"id":"331f8515-3f38-459d-a79f-fc1aafcf56c9","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"submitted_values\": {\n    \"csat_survey_response\": {\n      \"rating\": \"<integer>\",\n      \"feedback_message\": \"<string>\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier/conversations/:conversation_id/messages/:message_id","host":["https://chatapp.backendprod.com"],"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier","conversations",":conversation_id","messages",":message_id"],"variable":[{"key":"inbox_identifier"},{"key":"contact_identifier"},{"key":"conversation_id"},{"key":"message_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"content\": \"<string>\",\n  \"message_type\": \"<string>\",\n  \"content_type\": \"<string>\",\n  \"content_attributes\": \"<string>\",\n  \"created_at\": \"<string>\",\n  \"conversation_id\": \"<string>\",\n  \"sender\": {}\n}"},{"id":"4e442810-2785-4ab8-83b2-89549d532c86","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"submitted_values\": {\n    \"csat_survey_response\": {\n      \"rating\": \"<integer>\",\n      \"feedback_message\": \"<string>\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier/conversations/:conversation_id/messages/:message_id","host":["https://chatapp.backendprod.com"],"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier","conversations",":conversation_id","messages",":message_id"],"variable":[{"key":"inbox_identifier"},{"key":"contact_identifier"},{"key":"conversation_id"},{"key":"message_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"79167a39-07ee-4543-9ebc-9c8bcbe0cb3f"}],"id":"e78bdc04-0814-4ab1-aeae-8cf328443bbc","_postman_id":"e78bdc04-0814-4ab1-aeae-8cf328443bbc","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"Create a message","id":"e4dee211-84b5-4289-8a56-03a18802e4b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"<string>\",\n  \"echo_id\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier/conversations/:conversation_id/messages","description":"<p>Create a message</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier","conversations",":conversation_id","messages"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"5029fec0-a964-47e9-92fa-73b0230a0ef0","description":{"content":"<p>(Required) The identifier obtained from API inbox channel</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"inbox_identifier"},{"id":"d10b8b20-5d2d-4b06-8eb7-2e24194560c2","description":{"content":"<p>(Required) The source id of contact obtained on contact create</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"contact_identifier"},{"id":"523c96b9-1099-4c9f-8f9c-e0087e72f4fe","description":{"content":"<p>(Required) The numeric ID of the conversation</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"conversation_id"}]}},"response":[{"id":"7d3a67ce-366f-4cdb-96f7-543a69c9db67","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"<string>\",\n  \"echo_id\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier/conversations/:conversation_id/messages","host":["https://chatapp.backendprod.com"],"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier","conversations",":conversation_id","messages"],"variable":[{"key":"inbox_identifier"},{"key":"contact_identifier"},{"key":"conversation_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"content\": \"<string>\",\n  \"message_type\": \"<string>\",\n  \"content_type\": \"<string>\",\n  \"content_attributes\": \"<string>\",\n  \"created_at\": \"<string>\",\n  \"conversation_id\": \"<string>\",\n  \"sender\": {}\n}"},{"id":"fa1da3a5-9500-4be5-888c-201894c41d44","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"<string>\",\n  \"echo_id\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier/conversations/:conversation_id/messages","host":["https://chatapp.backendprod.com"],"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier","conversations",":conversation_id","messages"],"variable":[{"key":"inbox_identifier"},{"key":"contact_identifier"},{"key":"conversation_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"e4dee211-84b5-4289-8a56-03a18802e4b9"},{"name":"List all messages","id":"926d104d-b3a8-4dad-9be6-755223d37480","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier/conversations/:conversation_id/messages","description":"<p>List all messages in the conversation</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier","conversations",":conversation_id","messages"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"f2c48dfa-bd3e-4fe5-9f19-db9f700a389f","description":{"content":"<p>(Required) The identifier obtained from API inbox channel</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"inbox_identifier"},{"id":"bae55068-3409-4a2a-8791-431ff92a37f5","description":{"content":"<p>(Required) The source id of contact obtained on contact create</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"contact_identifier"},{"id":"39b44ca1-b766-4d9b-9b8a-6d7f207c7979","description":{"content":"<p>(Required) The numeric ID of the conversation</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"conversation_id"}]}},"response":[{"id":"3f9ffd31-6a8b-48f7-ae0e-72a4928f9909","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier/conversations/:conversation_id/messages","host":["https://chatapp.backendprod.com"],"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier","conversations",":conversation_id","messages"],"variable":[{"key":"inbox_identifier"},{"key":"contact_identifier"},{"key":"conversation_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<string>\",\n    \"content\": \"<string>\",\n    \"message_type\": \"<string>\",\n    \"content_type\": \"<string>\",\n    \"content_attributes\": \"<string>\",\n    \"created_at\": \"<string>\",\n    \"conversation_id\": \"<string>\",\n    \"sender\": {}\n  },\n  {\n    \"id\": \"<string>\",\n    \"content\": \"<string>\",\n    \"message_type\": \"<string>\",\n    \"content_type\": \"<string>\",\n    \"content_attributes\": \"<string>\",\n    \"created_at\": \"<string>\",\n    \"conversation_id\": \"<string>\",\n    \"sender\": {}\n  }\n]"},{"id":"f3008422-a2b6-4936-a915-ee9f73bcf015","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier/conversations/:conversation_id/messages","host":["https://chatapp.backendprod.com"],"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier","conversations",":conversation_id","messages"],"variable":[{"key":"inbox_identifier"},{"key":"contact_identifier"},{"key":"conversation_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"926d104d-b3a8-4dad-9be6-755223d37480"}],"id":"42f25189-6144-4bc1-ac51-d8921a780686","_postman_id":"42f25189-6144-4bc1-ac51-d8921a780686","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}}],"id":"816ef604-4924-4418-ac8e-67e4f1ecbe9d","_postman_id":"816ef604-4924-4418-ac8e-67e4f1ecbe9d","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"Create a conversation","id":"c85c3aa0-dbbe-4881-8684-4a2d7592edab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier/conversations","description":"<p>Create a conversation</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier","conversations"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"0ee9421b-c5d5-4d37-9ca9-7e87a07c4609","description":{"content":"<p>(Required) The identifier obtained from API inbox channel</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"inbox_identifier"},{"id":"e7143781-4e02-4c10-8a01-1ceb1a283f3d","description":{"content":"<p>(Required) The source id of contact obtained on contact create</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"contact_identifier"}]}},"response":[{"id":"acda777a-86f3-4244-94df-8c78ca9e6289","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier/conversations","host":["https://chatapp.backendprod.com"],"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier","conversations"],"variable":[{"key":"inbox_identifier"},{"key":"contact_identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<integer>\",\n  \"inbox_id\": \"<string>\",\n  \"messages\": [\n    {\n      \"content\": \"<string>\",\n      \"content_type\": \"text\",\n      \"content_attributes\": {},\n      \"message_type\": \"incoming\",\n      \"created_at\": \"<integer>\",\n      \"private\": \"<boolean>\",\n      \"attachment\": {},\n      \"sender\": {},\n      \"conversation_id\": \"<number>\"\n    },\n    {\n      \"content\": \"<string>\",\n      \"content_type\": \"input_select\",\n      \"content_attributes\": {},\n      \"message_type\": \"activity\",\n      \"created_at\": \"<integer>\",\n      \"private\": \"<boolean>\",\n      \"attachment\": {},\n      \"sender\": {},\n      \"conversation_id\": \"<number>\"\n    }\n  ],\n  \"contact\": {}\n}"},{"id":"b0b17221-4291-4f0f-a658-5df9092163a8","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier/conversations","host":["https://chatapp.backendprod.com"],"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier","conversations"],"variable":[{"key":"inbox_identifier"},{"key":"contact_identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"c85c3aa0-dbbe-4881-8684-4a2d7592edab"},{"name":"List all conversations","id":"902b54f8-4e99-4f28-8851-5cb529c85c74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier/conversations","description":"<p>List all conversations for the contact</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier","conversations"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"4557a375-39af-4cc6-a071-8ef327f3a618","description":{"content":"<p>(Required) The identifier obtained from API inbox channel</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"inbox_identifier"},{"id":"1a5ba46e-dc0e-42fc-a5a7-faee9e8a54da","description":{"content":"<p>(Required) The source id of contact obtained on contact create</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"contact_identifier"}]}},"response":[{"id":"ca031c3f-ff3f-4990-8257-c41f0511112d","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier/conversations","host":["https://chatapp.backendprod.com"],"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier","conversations"],"variable":[{"key":"inbox_identifier"},{"key":"contact_identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<integer>\",\n    \"inbox_id\": \"<string>\",\n    \"messages\": [\n      {\n        \"content\": \"<string>\",\n        \"content_type\": \"form\",\n        \"content_attributes\": {},\n        \"message_type\": \"activity\",\n        \"created_at\": \"<integer>\",\n        \"private\": \"<boolean>\",\n        \"attachment\": {},\n        \"sender\": {},\n        \"conversation_id\": \"<number>\"\n      },\n      {\n        \"content\": \"<string>\",\n        \"content_type\": \"text\",\n        \"content_attributes\": {},\n        \"message_type\": \"template\",\n        \"created_at\": \"<integer>\",\n        \"private\": \"<boolean>\",\n        \"attachment\": {},\n        \"sender\": {},\n        \"conversation_id\": \"<number>\"\n      }\n    ],\n    \"contact\": {}\n  },\n  {\n    \"id\": \"<integer>\",\n    \"inbox_id\": \"<string>\",\n    \"messages\": [\n      {\n        \"content\": \"<string>\",\n        \"content_type\": \"text\",\n        \"content_attributes\": {},\n        \"message_type\": \"outgoing\",\n        \"created_at\": \"<integer>\",\n        \"private\": \"<boolean>\",\n        \"attachment\": {},\n        \"sender\": {},\n        \"conversation_id\": \"<number>\"\n      },\n      {\n        \"content\": \"<string>\",\n        \"content_type\": \"cards\",\n        \"content_attributes\": {},\n        \"message_type\": \"template\",\n        \"created_at\": \"<integer>\",\n        \"private\": \"<boolean>\",\n        \"attachment\": {},\n        \"sender\": {},\n        \"conversation_id\": \"<number>\"\n      }\n    ],\n    \"contact\": {}\n  }\n]"},{"id":"bec5dfb4-3df3-43d9-a46b-41d2fb3abb42","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier/conversations","host":["https://chatapp.backendprod.com"],"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier","conversations"],"variable":[{"key":"inbox_identifier"},{"key":"contact_identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"902b54f8-4e99-4f28-8851-5cb529c85c74"}],"id":"d23430c0-31ff-4bda-8416-4abc6cd55729","_postman_id":"d23430c0-31ff-4bda-8416-4abc6cd55729","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"Get a contact","id":"e78d1e41-2671-48e1-a09f-1efa1619e190","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier","description":"<p>Get the details of a contact</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"77936920-0e57-4a41-951d-b0097a979326","description":{"content":"<p>(Required) The identifier obtained from API inbox channel</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"inbox_identifier"},{"id":"ced6eaa7-ab4a-4432-80ef-ca8bc49f07d0","description":{"content":"<p>(Required) The source id of contact obtained on contact create</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"contact_identifier"}]}},"response":[{"id":"eb276452-aba6-455e-93da-7638bdefe8ed","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier","host":["https://chatapp.backendprod.com"],"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier"],"variable":[{"key":"inbox_identifier"},{"key":"contact_identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<integer>\",\n  \"source_id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"pubsub_token\": \"<string>\"\n}"},{"id":"a810d99e-c487-478a-ae25-4f5200b4282a","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier","host":["https://chatapp.backendprod.com"],"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier"],"variable":[{"key":"inbox_identifier"},{"key":"contact_identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"b55b0927-6723-426c-8c63-015170bb4c96","name":"The given contact does not exist","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier","host":["https://chatapp.backendprod.com"],"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier"],"variable":[{"key":"inbox_identifier"},{"key":"contact_identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"e78d1e41-2671-48e1-a09f-1efa1619e190"},{"name":"Update a contact","id":"9ee460e7-0502-4a59-b9d7-4c38bc6e0297","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"identifier\": \"<string>\",\n  \"identifier_hash\": \"<string>\",\n  \"email\": \"<string>\",\n  \"name\": \"<string>\",\n  \"phone_number\": \"<string>\",\n  \"avatar_url\": \"<string>\",\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier","description":"<p>Update a contact's attributes</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"33fcf922-ad63-4556-8ea0-1a5df4821070","description":{"content":"<p>(Required) The identifier obtained from API inbox channel</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"inbox_identifier"},{"id":"0dbc9522-3b98-4d3e-b00a-6c784517d1d8","description":{"content":"<p>(Required) The source id of contact obtained on contact create</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"contact_identifier"}]}},"response":[{"id":"75519269-00d4-4472-b5f1-11d3970d243d","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"identifier\": \"<string>\",\n  \"identifier_hash\": \"<string>\",\n  \"email\": \"<string>\",\n  \"name\": \"<string>\",\n  \"phone_number\": \"<string>\",\n  \"avatar_url\": \"<string>\",\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier","host":["https://chatapp.backendprod.com"],"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier"],"variable":[{"key":"inbox_identifier"},{"key":"contact_identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<integer>\",\n  \"source_id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"pubsub_token\": \"<string>\"\n}"},{"id":"c8278786-cb1b-45bf-ace1-90910bac3f2a","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"identifier\": \"<string>\",\n  \"identifier_hash\": \"<string>\",\n  \"email\": \"<string>\",\n  \"name\": \"<string>\",\n  \"phone_number\": \"<string>\",\n  \"avatar_url\": \"<string>\",\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts/:contact_identifier","host":["https://chatapp.backendprod.com"],"path":["public","api","v1","inboxes",":inbox_identifier","contacts",":contact_identifier"],"variable":[{"key":"inbox_identifier"},{"key":"contact_identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"9ee460e7-0502-4a59-b9d7-4c38bc6e0297"}],"id":"375ffd95-c0cf-4c8d-a3a0-aa5d6ddc5300","_postman_id":"375ffd95-c0cf-4c8d-a3a0-aa5d6ddc5300","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"Create a contact","id":"1e50f681-47e3-4862-9dee-3c83d0d1f662","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"identifier\": \"<string>\",\n  \"identifier_hash\": \"<string>\",\n  \"email\": \"<string>\",\n  \"name\": \"<string>\",\n  \"phone_number\": \"<string>\",\n  \"avatar_url\": \"<string>\",\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts","description":"<p>Create a contact</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["public","api","v1","inboxes",":inbox_identifier","contacts"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"0955324d-8314-4a50-94d8-9f87caa1f713","description":{"content":"<p>(Required) The identifier obtained from API inbox channel</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"inbox_identifier"}]}},"response":[{"id":"996fd8b9-43ce-454b-bc86-74dd6071f242","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"identifier\": \"<string>\",\n  \"identifier_hash\": \"<string>\",\n  \"email\": \"<string>\",\n  \"name\": \"<string>\",\n  \"phone_number\": \"<string>\",\n  \"avatar_url\": \"<string>\",\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts","host":["https://chatapp.backendprod.com"],"path":["public","api","v1","inboxes",":inbox_identifier","contacts"],"variable":[{"key":"inbox_identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<integer>\",\n  \"source_id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"pubsub_token\": \"<string>\"\n}"},{"id":"35f07b56-fcbf-4a24-934f-c8fb36ea5084","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"identifier\": \"<string>\",\n  \"identifier_hash\": \"<string>\",\n  \"email\": \"<string>\",\n  \"name\": \"<string>\",\n  \"phone_number\": \"<string>\",\n  \"avatar_url\": \"<string>\",\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier/contacts","host":["https://chatapp.backendprod.com"],"path":["public","api","v1","inboxes",":inbox_identifier","contacts"],"variable":[{"key":"inbox_identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"1e50f681-47e3-4862-9dee-3c83d0d1f662"}],"id":"922294e4-f742-4e8c-9ac0-32fc2e8c8a46","_postman_id":"922294e4-f742-4e8c-9ac0-32fc2e8c8a46","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"Inbox details","id":"09e39fbb-f8c0-4d2e-b720-e424f6732fa9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier","description":"<p>Get the details of an inbox</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["public","api","v1","inboxes",":inbox_identifier"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"406ea7be-53d3-49a8-8fd4-70a2ccd8401a","description":{"content":"<p>(Required) The identifier obtained from API inbox channel</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"inbox_identifier"}]}},"response":[{"id":"76f94d8a-7c05-4305-be8c-17ea5a6bd220","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier","host":["https://chatapp.backendprod.com"],"path":["public","api","v1","inboxes",":inbox_identifier"],"variable":[{"key":"inbox_identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"identifier\": \"<string>\",\n  \"name\": \"<string>\",\n  \"timezone\": \"<string>\",\n  \"working_hours\": [\n    {\n      \"day_of_week\": \"<integer>\",\n      \"open_all_day\": \"<boolean>\",\n      \"closed_all_day\": \"<boolean>\",\n      \"open_hour\": \"<integer>\",\n      \"open_minutes\": \"<integer>\",\n      \"close_hour\": \"<integer>\",\n      \"close_minutes\": \"<integer>\"\n    },\n    {\n      \"day_of_week\": \"<integer>\",\n      \"open_all_day\": \"<boolean>\",\n      \"closed_all_day\": \"<boolean>\",\n      \"open_hour\": \"<integer>\",\n      \"open_minutes\": \"<integer>\",\n      \"close_hour\": \"<integer>\",\n      \"close_minutes\": \"<integer>\"\n    }\n  ],\n  \"working_hours_enabled\": \"<boolean>\",\n  \"csat_survey_enabled\": \"<boolean>\",\n  \"greeting_enabled\": \"<boolean>\",\n  \"identity_validation_enabled\": \"<boolean>\"\n}"},{"id":"47511051-b3fd-4321-bb47-68fbb6de2a75","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier","host":["https://chatapp.backendprod.com"],"path":["public","api","v1","inboxes",":inbox_identifier"],"variable":[{"key":"inbox_identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"418159e8-ad57-4499-adda-9f2187cfb0ad","name":"The given inbox does not exist","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/public/api/v1/inboxes/:inbox_identifier","host":["https://chatapp.backendprod.com"],"path":["public","api","v1","inboxes",":inbox_identifier"],"variable":[{"key":"inbox_identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"09e39fbb-f8c0-4d2e-b720-e424f6732fa9"}],"id":"b6d1348d-63d8-4206-ac8a-5b812ac7b95b","_postman_id":"b6d1348d-63d8-4206-ac8a-5b812ac7b95b","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}}],"id":"bee88789-4b7f-4a8e-954e-d0f3463cb526","_postman_id":"bee88789-4b7f-4a8e-954e-d0f3463cb526","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}}],"id":"2529302f-2783-48d2-b734-87a6eb688f28","_postman_id":"2529302f-2783-48d2-b734-87a6eb688f28","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}}],"id":"59885db4-b172-432b-9c5e-d7fbcddeb00f","_postman_id":"59885db4-b172-432b-9c5e-d7fbcddeb00f","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}}],"id":"b0af73ec-32f9-4291-86b5-8772360758c2","_postman_id":"b0af73ec-32f9-4291-86b5-8772360758c2","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"survey","item":[{"name":"responses","item":[{"name":"{conversation_uuid}","item":[{"name":"Get CSAT survey page","id":"b1d39d8e-7cf5-45dd-b1ee-1f41564fd944","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://chatapp.backendprod.com/survey/responses/:conversation_uuid","description":"<p>You can redirect the client to this URL, instead of implementing the CSAT survey component yourself.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["survey","responses",":conversation_uuid"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"ab185551-e320-4dce-ba9c-d098449d2cff","description":{"content":"<p>(Required) The uuid of the conversation</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"conversation_uuid"}]}},"response":[{"id":"be5b8436-d42a-43b7-942f-8f5ae75c8d1f","name":"Success","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/survey/responses/:conversation_uuid","host":["https://chatapp.backendprod.com"],"path":["survey","responses",":conversation_uuid"],"variable":[{"key":"conversation_uuid"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"b1d39d8e-7cf5-45dd-b1ee-1f41564fd944"}],"id":"633714ae-bbf1-4400-8d6b-b0b03a029458","_postman_id":"633714ae-bbf1-4400-8d6b-b0b03a029458","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}}],"id":"6dd0eaf7-2340-4aa1-b8f3-6ad5d75f3ef9","_postman_id":"6dd0eaf7-2340-4aa1-b8f3-6ad5d75f3ef9","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}}],"id":"bf033481-5a61-4c0d-803e-52a8c5ab238f","_postman_id":"bf033481-5a61-4c0d-803e-52a8c5ab238f","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"api","item":[{"name":"v1","item":[{"name":"accounts","item":[{"name":"{account_id}","item":[{"name":"agent_bots","item":[{"name":"{id}","item":[{"name":"Get an agent bot details","id":"064616d5-e1ca-4dc0-993b-ba6a8c6c8657","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agent_bots/:id","description":"<p>Get the details of an agent bot in the account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","agent_bots",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"b7ce6ae3-3b0b-4fa1-a1dc-f1981e04f9ff","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"115e4b72-04c8-4d8b-abb6-19aa584b8e78","description":{"content":"<p>(Required) The ID of the agentbot to be updated</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"cc75ba8d-a4dc-4010-b183-865b68eb271a","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agent_bots/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agent_bots",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"account_id\": \"<number>\",\n  \"outgoing_url\": \"<string>\"\n}"},{"id":"358b7cc7-75b5-4d78-a5b0-cf8e961d3fc5","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agent_bots/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agent_bots",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"e314ba52-32f2-4372-8869-9707a9589ab9","name":"The given agent bot ID does not exist in the account","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agent_bots/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agent_bots",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"064616d5-e1ca-4dc0-993b-ba6a8c6c8657"},{"name":"Update an agent bot","id":"96385770-0452-4e5f-912d-ee096084a6be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"outgoing_url\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agent_bots/:id","description":"<p>Update an agent bot's attributes</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","agent_bots",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"42c494a0-e359-4991-ad8b-0216150ba23b","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"f941b6b7-0fbd-45cc-a2ae-96f16cc11fe8","description":{"content":"<p>(Required) The ID of the agentbot to be updated</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"4ce4e6b2-07ed-49d0-ac0d-a197b44112a6","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"outgoing_url\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agent_bots/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agent_bots",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"account_id\": \"<number>\",\n  \"outgoing_url\": \"<string>\"\n}"},{"id":"23e95597-c5f2-4aaf-b9e9-52bfda740318","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"outgoing_url\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agent_bots/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agent_bots",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"96385770-0452-4e5f-912d-ee096084a6be"},{"name":"Delete an AgentBot","id":"5d398394-d195-4038-b07a-70b754ed291c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agent_bots/:id","description":"<p>Delete an AgentBot from the account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","agent_bots",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"db0c7bb5-3661-4848-afc6-8235aa751a82","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"9112059b-f63e-4463-9692-c369e3054665","description":{"content":"<p>(Required) The ID of the agentbot to be updated</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"ea9fdc7b-57ef-4b7f-a4f3-a30c3ad618e6","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agent_bots/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agent_bots",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"177a6d7d-a87a-45dc-ab07-d177a6809fea","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agent_bots/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agent_bots",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"616c5a90-4050-48c6-b296-292d32cd07dd","name":"The agent bot does not exist in the account","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agent_bots/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agent_bots",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"5d398394-d195-4038-b07a-70b754ed291c"}],"id":"8d8ab8b9-04a1-4af5-9811-c1c9c2be3bb2","_postman_id":"8d8ab8b9-04a1-4af5-9811-c1c9c2be3bb2","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"List all AgentBots","id":"62f69d97-c0e1-444a-a8e2-2a5cd350eda9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agent_bots","description":"<p>List all agent bots available for the current account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","agent_bots"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"61bb04db-4cd9-4d30-beb0-674b2edffcda","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"0f6be093-7134-496a-b654-d08c9870f571","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agent_bots","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agent_bots"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<number>\",\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"account_id\": \"<number>\",\n    \"outgoing_url\": \"<string>\"\n  },\n  {\n    \"id\": \"<number>\",\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"account_id\": \"<number>\",\n    \"outgoing_url\": \"<string>\"\n  }\n]"},{"id":"01c1a210-d136-45ad-bbbf-db4ffeee8e4f","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agent_bots","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agent_bots"],"variable":[{"key":"account_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"62f69d97-c0e1-444a-a8e2-2a5cd350eda9"},{"name":"Create an Agent Bot","id":"4a5ab42a-db67-488d-8708-4e4bab3098d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"outgoing_url\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agent_bots","description":"<p>Create an agent bot in the account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","agent_bots"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"6966c0e5-df6d-4a26-855b-30ea586ecc9a","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"a1cfc2d3-368d-4de5-a5f4-4bb69ba6fe8a","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"outgoing_url\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agent_bots","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agent_bots"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"account_id\": \"<number>\",\n  \"outgoing_url\": \"<string>\"\n}"},{"id":"ecfec59c-1011-40fe-b942-db2a16de50ca","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"outgoing_url\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agent_bots","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agent_bots"],"variable":[{"key":"account_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"4a5ab42a-db67-488d-8708-4e4bab3098d6"}],"id":"fe78073a-2861-4cf4-af24-9e4c8bbc7d5e","_postman_id":"fe78073a-2861-4cf4-af24-9e4c8bbc7d5e","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"agents","item":[{"name":"{id}","item":[{"name":"Update Agent in Account","id":"4e4104d9-40c1-4c09-96e6-659d28b1ffb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"role\": \"agent\",\n  \"availability\": \"busy\",\n  \"auto_offline\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agents/:id","description":"<p>Update an Agent in Account</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","agents",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"89b9d04b-0e98-43dd-9d7d-43a41578b692","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"72736007-0097-4a1a-91f0-bd76566caecf","description":{"content":"<p>(Required) The ID of the agent to be updated.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"cbb60f26-ea88-4b96-a61a-6aa9697dcd97","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"role\": \"agent\",\n  \"availability\": \"busy\",\n  \"auto_offline\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agents/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agents",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<integer>\",\n  \"uid\": \"<string>\",\n  \"name\": \"<string>\",\n  \"available_name\": \"<string>\",\n  \"display_name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"account_id\": \"<integer>\",\n  \"role\": \"administrator\",\n  \"confirmed\": \"<boolean>\",\n  \"availability_status\": \"available\",\n  \"auto_offline\": \"<boolean>\",\n  \"custom_attributes\": {}\n}"},{"id":"73189e36-47d3-4f47-b807-bcd50ab4acae","name":"Access denied","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"role\": \"agent\",\n  \"availability\": \"busy\",\n  \"auto_offline\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agents/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agents",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"6c788fa9-e046-4232-8362-1217c7474246","name":"Agent not found","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"role\": \"agent\",\n  \"availability\": \"busy\",\n  \"auto_offline\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agents/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agents",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"4e4104d9-40c1-4c09-96e6-659d28b1ffb2"},{"name":"Remove an Agent from Account","id":"9501d744-c9e4-41cc-a33b-d2c77238875f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agents/:id","description":"<p>Remove an Agent from Account</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","agents",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"48d99be3-c651-4053-a274-7375afd1168c","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"16faa0d8-34af-46fb-989a-b7d783fee148","description":{"content":"<p>(Required) The ID of the agent to be deleted</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"a3d6d10e-f810-4a00-98e7-71de04d8cda8","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agents/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agents",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"154a870a-e549-4b48-b8e2-167eac55274f","name":"Access denied","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agents/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agents",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"a31059f1-f15d-4768-a457-72535a2393f4","name":"Agent not found","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agents/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agents",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"9501d744-c9e4-41cc-a33b-d2c77238875f"}],"id":"27cc674e-1e2b-4c5c-8c62-91885c4df61f","_postman_id":"27cc674e-1e2b-4c5c-8c62-91885c4df61f","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"List Agents in Account","id":"7f3ac191-a9b5-4b73-ada1-0efbca366d36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agents","description":"<p>Get Details of Agents in an Account</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","agents"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"7c47ead5-9ae9-4e6a-b0be-7d254581f3bd","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"e81940c0-ecca-4b3b-a27a-cc697c129295","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agents","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agents"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<integer>\",\n    \"uid\": \"<string>\",\n    \"name\": \"<string>\",\n    \"available_name\": \"<string>\",\n    \"display_name\": \"<string>\",\n    \"email\": \"<string>\",\n    \"account_id\": \"<integer>\",\n    \"role\": \"agent\",\n    \"confirmed\": \"<boolean>\",\n    \"availability_status\": \"busy\",\n    \"auto_offline\": \"<boolean>\",\n    \"custom_attributes\": {}\n  },\n  {\n    \"id\": \"<integer>\",\n    \"uid\": \"<string>\",\n    \"name\": \"<string>\",\n    \"available_name\": \"<string>\",\n    \"display_name\": \"<string>\",\n    \"email\": \"<string>\",\n    \"account_id\": \"<integer>\",\n    \"role\": \"administrator\",\n    \"confirmed\": \"<boolean>\",\n    \"availability_status\": \"available\",\n    \"auto_offline\": \"<boolean>\",\n    \"custom_attributes\": {}\n  }\n]"},{"id":"a68f838a-f29b-4afe-977d-ee7aad4ff9e1","name":"Access denied","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agents","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agents"],"variable":[{"key":"account_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"7f3ac191-a9b5-4b73-ada1-0efbca366d36"},{"name":"Add a New Agent","id":"6c9eb2bb-e6c5-4d2f-a2bc-2efd7e322b18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"role\": \"agent\",\n  \"availability_status\": \"available\",\n  \"auto_offline\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agents","description":"<p>Add a new Agent to Account</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","agents"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"21d8c239-7e11-4b9c-9f16-735bc741cdc5","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"ad2bf292-7585-4075-9c8b-bde902299b8c","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"role\": \"agent\",\n  \"availability_status\": \"available\",\n  \"auto_offline\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agents","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agents"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<integer>\",\n  \"uid\": \"<string>\",\n  \"name\": \"<string>\",\n  \"available_name\": \"<string>\",\n  \"display_name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"account_id\": \"<integer>\",\n  \"role\": \"administrator\",\n  \"confirmed\": \"<boolean>\",\n  \"availability_status\": \"available\",\n  \"auto_offline\": \"<boolean>\",\n  \"custom_attributes\": {}\n}"},{"id":"11194a4d-1a2e-4710-be4a-bff4382ff4f3","name":"Access denied","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"role\": \"agent\",\n  \"availability_status\": \"available\",\n  \"auto_offline\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/agents","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","agents"],"variable":[{"key":"account_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"6c9eb2bb-e6c5-4d2f-a2bc-2efd7e322b18"}],"id":"103f27ea-e0c0-4b9c-8ff2-1869c3004ec6","_postman_id":"103f27ea-e0c0-4b9c-8ff2-1869c3004ec6","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"canned_responses","item":[{"name":"{id}","item":[{"name":"Update Canned Response in Account","id":"0d72a195-841f-45d7-9dcd-30bec5531223","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"<string>\",\n  \"short_code\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/canned_responses/:id","description":"<p>Update a Canned Response in Account</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","canned_responses",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"a90c6e4b-4388-419f-a4f9-f873ef6a4639","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"c89e0313-fcf4-4020-8d7d-4bc820c4a5ab","description":{"content":"<p>(Required) The ID of the canned response to be updated.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"596fae58-45a7-453f-8c2d-f98196c5e6d9","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"<string>\",\n  \"short_code\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/canned_responses/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","canned_responses",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<integer>\",\n  \"content\": \"<string>\",\n  \"short_code\": \"<string>\",\n  \"account_id\": \"<integer>\"\n}"},{"id":"ee860193-ad9e-4905-8a43-b4ce4ea773f1","name":"Access denied","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"<string>\",\n  \"short_code\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/canned_responses/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","canned_responses",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"28736355-6be1-4e94-a2be-012780d70a6c","name":"Agent not found","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"<string>\",\n  \"short_code\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/canned_responses/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","canned_responses",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"0d72a195-841f-45d7-9dcd-30bec5531223"},{"name":"Remove a Canned Response from Account","id":"18abc4c9-9087-4ae0-b055-65fe5d3df938","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/canned_responses/:id","description":"<p>Remove a Canned Response from Account</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","canned_responses",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"15ea5e36-b5f1-440a-83c7-8ad185530345","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"211678ce-13aa-4a31-b506-390c42dda1a3","description":{"content":"<p>(Required) The ID of the canned response to be deleted</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"e1cc1c1d-3e06-4901-9b89-4432d5a77a80","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/canned_responses/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","canned_responses",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"d7b91a93-9036-49ef-9efd-c4b057332217","name":"Access denied","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/canned_responses/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","canned_responses",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"6fb799a0-b0a7-42bf-a81b-8a840e0396e5","name":"Canned Response not found","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/canned_responses/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","canned_responses",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"18abc4c9-9087-4ae0-b055-65fe5d3df938"}],"id":"fa0dfb35-e3e3-4085-b639-f5223e2546eb","_postman_id":"fa0dfb35-e3e3-4085-b639-f5223e2546eb","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"List all Canned Responses in an Account","id":"5fdcd228-4ac9-4df6-a07e-3d9affd8dbc1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/canned_responses","description":"<p>Get Details of Canned Responses in an Account</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","canned_responses"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"4d1fb974-3ea3-4d7c-997c-a219966b4e26","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"e7c277bc-5ceb-406a-9fe5-03e67c410c5c","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/canned_responses","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","canned_responses"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<integer>\",\n    \"content\": \"<string>\",\n    \"short_code\": \"<string>\",\n    \"account_id\": \"<integer>\"\n  },\n  {\n    \"id\": \"<integer>\",\n    \"content\": \"<string>\",\n    \"short_code\": \"<string>\",\n    \"account_id\": \"<integer>\"\n  }\n]"},{"id":"903b8537-a814-4246-b2e5-75cad7df29e9","name":"Access denied","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/canned_responses","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","canned_responses"],"variable":[{"key":"account_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"5fdcd228-4ac9-4df6-a07e-3d9affd8dbc1"},{"name":"Add a New Canned Response","id":"94835777-ba69-4028-b599-6fc9ff68ddf7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"<string>\",\n  \"short_code\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/canned_responses","description":"<p>Add a new Canned Response to Account</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","canned_responses"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"d91d9ad8-dc4d-424c-8806-69b485635dbd","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"c57187a6-70ad-4c9e-8a4c-6ee025f2ef54","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"<string>\",\n  \"short_code\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/canned_responses","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","canned_responses"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<integer>\",\n  \"content\": \"<string>\",\n  \"short_code\": \"<string>\",\n  \"account_id\": \"<integer>\"\n}"},{"id":"4bdb7acb-2f31-4b78-b30a-1a22136e6ccd","name":"Access denied","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"<string>\",\n  \"short_code\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/canned_responses","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","canned_responses"],"variable":[{"key":"account_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"94835777-ba69-4028-b599-6fc9ff68ddf7"}],"id":"dc02f10f-4e2c-41de-baca-2169819704ca","_postman_id":"dc02f10f-4e2c-41de-baca-2169819704ca","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"custom_attribute_definitions","item":[{"name":"{id}","item":[{"name":"Get a custom attribute details","id":"0a9ccfd9-a52c-4546-8c6d-185b146be789","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_attribute_definitions/:id","description":"<p>Get the details of a custom attribute in the account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","custom_attribute_definitions",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"9c2a2e9c-37e2-4135-bd97-74ddf4110b4c","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"53e676da-b36b-469c-b9f8-875618647c44","description":{"content":"<p>(Required) The ID of the custom attribute to be updated.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"21919882-0003-416b-aebb-4c2a3f6385b9","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_attribute_definitions/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_attribute_definitions",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<integer>\",\n  \"attribute_display_name\": \"<string>\",\n  \"attribute_display_type\": \"<string>\",\n  \"attribute_description\": \"<string>\",\n  \"attribute_key\": \"<string>\",\n  \"attribute_values\": \"<string>\",\n  \"default_value\": \"<string>\",\n  \"attribute_model\": \"<string>\",\n  \"account_id\": \"<integer>\"\n}"},{"id":"dc08f6c4-955d-479d-b939-e9249093976a","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_attribute_definitions/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_attribute_definitions",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"acc902ba-717a-44c5-a7fa-e3bb0ea03429","name":"The given attribute ID does not exist in the account","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_attribute_definitions/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_attribute_definitions",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"0a9ccfd9-a52c-4546-8c6d-185b146be789"},{"name":"Update custom attribute in Account","id":"fdfd8d2a-3259-417c-b79a-6a918ad4954d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"attribute_display_name\": \"<string>\",\n  \"attribute_display_type\": \"<integer>\",\n  \"attribute_description\": \"<string>\",\n  \"attribute_key\": \"<string>\",\n  \"attribute_values\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"attribute_model\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_attribute_definitions/:id","description":"<p>Update a custom attribute in account</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","custom_attribute_definitions",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"06ae6cd3-f0d9-433e-b4d0-236d7b516e5b","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"c5949d4e-ca7e-422a-90e0-8cc66e26f47f","description":{"content":"<p>(Required) The ID of the custom attribute to be updated.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"d6ed36bb-8450-45a2-8076-2f8db94b4aa6","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"attribute_display_name\": \"<string>\",\n  \"attribute_display_type\": \"<integer>\",\n  \"attribute_description\": \"<string>\",\n  \"attribute_key\": \"<string>\",\n  \"attribute_values\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"attribute_model\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_attribute_definitions/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_attribute_definitions",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<integer>\",\n  \"attribute_display_name\": \"<string>\",\n  \"attribute_display_type\": \"<string>\",\n  \"attribute_description\": \"<string>\",\n  \"attribute_key\": \"<string>\",\n  \"attribute_values\": \"<string>\",\n  \"default_value\": \"<string>\",\n  \"attribute_model\": \"<string>\",\n  \"account_id\": \"<integer>\"\n}"},{"id":"332a96d2-c89f-4106-99bd-78e85baffcb9","name":"Access denied","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"attribute_display_name\": \"<string>\",\n  \"attribute_display_type\": \"<integer>\",\n  \"attribute_description\": \"<string>\",\n  \"attribute_key\": \"<string>\",\n  \"attribute_values\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"attribute_model\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_attribute_definitions/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_attribute_definitions",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"0bde9851-d6f6-44a7-ab8c-2f3f9feae1aa","name":"Agent not found","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"attribute_display_name\": \"<string>\",\n  \"attribute_display_type\": \"<integer>\",\n  \"attribute_description\": \"<string>\",\n  \"attribute_key\": \"<string>\",\n  \"attribute_values\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"attribute_model\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_attribute_definitions/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_attribute_definitions",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"fdfd8d2a-3259-417c-b79a-6a918ad4954d"},{"name":"Remove a custom attribute from account","id":"96556649-3c52-4839-bf1f-7993aa7f3b58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_attribute_definitions/:id","description":"<p>Remove a custom attribute from account</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","custom_attribute_definitions",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"9c6a3a78-8aa1-455a-b41b-f32a17f6bc2f","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"399ee3eb-ad11-4e37-afaa-96aa04bc1b65","description":{"content":"<p>(Required) The ID of the custom attribute to be deleted</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"4ae92844-8218-4823-8eac-08fdbdcc0cde","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_attribute_definitions/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_attribute_definitions",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"424d5736-9343-4c12-a0c1-3c7ca2a90e7b","name":"Access denied","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_attribute_definitions/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_attribute_definitions",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"8b616173-8383-4c10-bc5d-ac3c27365f6c","name":"Custom attribute not found","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_attribute_definitions/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_attribute_definitions",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"96556649-3c52-4839-bf1f-7993aa7f3b58"}],"id":"862ec80c-7645-49ed-8190-74dd3952426a","_postman_id":"862ec80c-7645-49ed-8190-74dd3952426a","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"List all custom attributes in an account","id":"2e9e6433-1736-40c0-a65f-b17519c4dccc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_attribute_definitions?attribute_model=0","description":"<p>Get details of custom attributes in an Account</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","custom_attribute_definitions"],"host":["https://chatapp.backendprod.com"],"query":[{"description":{"content":"<p>(Required) conversation_attribute(0)/contact_attribute(1)</p>\n","type":"text/plain"},"key":"attribute_model","value":"0"}],"variable":[{"id":"ea00e9c3-ae8b-46a4-9ae3-8a6e10b92156","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"d78b9c5d-66a1-45f6-b8a8-24a7b0b0332c","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_attribute_definitions?attribute_model=0","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_attribute_definitions"],"query":[{"key":"attribute_model","value":"0","description":"(Required) conversation_attribute(0)/contact_attribute(1)"}],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<integer>\",\n    \"attribute_display_name\": \"<string>\",\n    \"attribute_display_type\": \"<string>\",\n    \"attribute_description\": \"<string>\",\n    \"attribute_key\": \"<string>\",\n    \"attribute_values\": \"<string>\",\n    \"default_value\": \"<string>\",\n    \"attribute_model\": \"<string>\",\n    \"account_id\": \"<integer>\"\n  },\n  {\n    \"id\": \"<integer>\",\n    \"attribute_display_name\": \"<string>\",\n    \"attribute_display_type\": \"<string>\",\n    \"attribute_description\": \"<string>\",\n    \"attribute_key\": \"<string>\",\n    \"attribute_values\": \"<string>\",\n    \"default_value\": \"<string>\",\n    \"attribute_model\": \"<string>\",\n    \"account_id\": \"<integer>\"\n  }\n]"},{"id":"e28e0094-d7b9-452f-af5f-2c1efdb32fee","name":"Access denied","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_attribute_definitions?attribute_model=0","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_attribute_definitions"],"query":[{"key":"attribute_model","value":"0","description":"(Required) conversation_attribute(0)/contact_attribute(1)"}],"variable":[{"key":"account_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"2e9e6433-1736-40c0-a65f-b17519c4dccc"},{"name":"Add a new custom attribute","id":"56e22ead-6a9c-4ece-8a53-5f8585fce303","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"attribute_display_name\": \"<string>\",\n  \"attribute_display_type\": \"<integer>\",\n  \"attribute_description\": \"<string>\",\n  \"attribute_key\": \"<string>\",\n  \"attribute_values\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"attribute_model\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_attribute_definitions","description":"<p>Add a new custom attribute to account</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","custom_attribute_definitions"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"bf8c5fae-2c8b-4e24-8a8a-1e5de65dc680","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"3b3d6dce-9c2a-40cf-b970-786f3f8c417e","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"attribute_display_name\": \"<string>\",\n  \"attribute_display_type\": \"<integer>\",\n  \"attribute_description\": \"<string>\",\n  \"attribute_key\": \"<string>\",\n  \"attribute_values\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"attribute_model\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_attribute_definitions","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_attribute_definitions"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<integer>\",\n  \"attribute_display_name\": \"<string>\",\n  \"attribute_display_type\": \"<string>\",\n  \"attribute_description\": \"<string>\",\n  \"attribute_key\": \"<string>\",\n  \"attribute_values\": \"<string>\",\n  \"default_value\": \"<string>\",\n  \"attribute_model\": \"<string>\",\n  \"account_id\": \"<integer>\"\n}"},{"id":"a143c272-ef0f-4d69-8119-0d8f36f47ff9","name":"Access denied","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"attribute_display_name\": \"<string>\",\n  \"attribute_display_type\": \"<integer>\",\n  \"attribute_description\": \"<string>\",\n  \"attribute_key\": \"<string>\",\n  \"attribute_values\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"attribute_model\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_attribute_definitions","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_attribute_definitions"],"variable":[{"key":"account_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"56e22ead-6a9c-4ece-8a53-5f8585fce303"}],"id":"872aeed0-e6e0-4aa2-91b2-a64284346810","_postman_id":"872aeed0-e6e0-4aa2-91b2-a64284346810","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"contacts","item":[{"name":"{id}","item":[{"name":"conversations","item":[{"name":"Contact Conversations","id":"9a07559e-a2a9-4e50-be09-ea5da03dde0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id/conversations","description":"<p>Get conversations associated to that contact</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","contacts",":id","conversations"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"1b6e0c71-a2cb-4678-9a66-5beb6d6c2d29","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"64265f00-b79f-4960-b71f-fdabba9fb53b","description":{"content":"<p>(Required) ID of the contact</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"id"}]}},"response":[{"id":"04bfa211-adb7-4a22-9239-c9dfd2b13237","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id/conversations","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts",":id","conversations"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<number>\",\n    \"messages\": [\n      {\n        \"content\": \"<string>\",\n        \"content_type\": \"form\",\n        \"content_attributes\": {},\n        \"message_type\": \"template\",\n        \"created_at\": \"<integer>\",\n        \"private\": \"<boolean>\",\n        \"attachment\": {},\n        \"sender\": {},\n        \"conversation_id\": \"<number>\"\n      },\n      {\n        \"content\": \"<string>\",\n        \"content_type\": \"cards\",\n        \"content_attributes\": {},\n        \"message_type\": \"incoming\",\n        \"created_at\": \"<integer>\",\n        \"private\": \"<boolean>\",\n        \"attachment\": {},\n        \"sender\": {},\n        \"conversation_id\": \"<number>\"\n      }\n    ],\n    \"account_id\": \"<number>\",\n    \"inbox_id\": \"<number>\",\n    \"status\": \"resolved\",\n    \"timestamp\": \"<string>\",\n    \"contact_last_seen_at\": \"<string>\",\n    \"agent_last_seen_at\": \"<string>\",\n    \"unread_count\": \"<number>\",\n    \"additional_attributes\": {},\n    \"custom_attributes\": {},\n    \"meta\": {\n      \"sender\": {\n        \"id\": \"<number>\",\n        \"name\": \"<string>\",\n        \"thumbnail\": \"<string>\",\n        \"channel\": \"<string>\"\n      },\n      \"assignee\": {\n        \"id\": \"<number>\",\n        \"uid\": \"<string>\",\n        \"name\": \"<string>\",\n        \"available_name\": \"<string>\",\n        \"display_name\": \"<string>\",\n        \"email\": \"<string>\",\n        \"account_id\": \"<number>\",\n        \"role\": \"administrator\",\n        \"confirmed\": \"<boolean>\",\n        \"custom_attributes\": {},\n        \"accounts\": [\n          {\n            \"id\": \"<number>\",\n            \"name\": \"<string>\",\n            \"role\": \"administrator\"\n          },\n          {\n            \"id\": \"<number>\",\n            \"name\": \"<string>\",\n            \"role\": \"agent\"\n          }\n        ]\n      }\n    },\n    \"display_id\": \"<number>\"\n  },\n  {\n    \"id\": \"<number>\",\n    \"messages\": [\n      {\n        \"content\": \"<string>\",\n        \"content_type\": \"input_select\",\n        \"content_attributes\": {},\n        \"message_type\": \"activity\",\n        \"created_at\": \"<integer>\",\n        \"private\": \"<boolean>\",\n        \"attachment\": {},\n        \"sender\": {},\n        \"conversation_id\": \"<number>\"\n      },\n      {\n        \"content\": \"<string>\",\n        \"content_type\": \"input_select\",\n        \"content_attributes\": {},\n        \"message_type\": \"outgoing\",\n        \"created_at\": \"<integer>\",\n        \"private\": \"<boolean>\",\n        \"attachment\": {},\n        \"sender\": {},\n        \"conversation_id\": \"<number>\"\n      }\n    ],\n    \"account_id\": \"<number>\",\n    \"inbox_id\": \"<number>\",\n    \"status\": \"open\",\n    \"timestamp\": \"<string>\",\n    \"contact_last_seen_at\": \"<string>\",\n    \"agent_last_seen_at\": \"<string>\",\n    \"unread_count\": \"<number>\",\n    \"additional_attributes\": {},\n    \"custom_attributes\": {},\n    \"meta\": {\n      \"sender\": {\n        \"id\": \"<number>\",\n        \"name\": \"<string>\",\n        \"thumbnail\": \"<string>\",\n        \"channel\": \"<string>\"\n      },\n      \"assignee\": {\n        \"id\": \"<number>\",\n        \"uid\": \"<string>\",\n        \"name\": \"<string>\",\n        \"available_name\": \"<string>\",\n        \"display_name\": \"<string>\",\n        \"email\": \"<string>\",\n        \"account_id\": \"<number>\",\n        \"role\": \"administrator\",\n        \"confirmed\": \"<boolean>\",\n        \"custom_attributes\": {},\n        \"accounts\": [\n          {\n            \"id\": \"<number>\",\n            \"name\": \"<string>\",\n            \"role\": \"agent\"\n          },\n          {\n            \"id\": \"<number>\",\n            \"name\": \"<string>\",\n            \"role\": \"administrator\"\n          }\n        ]\n      }\n    },\n    \"display_id\": \"<number>\"\n  }\n]"},{"id":"35cc5f77-a130-4a5f-9f84-404900e6c2de","name":"Access denied","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id/conversations","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts",":id","conversations"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"46683321-9ab1-4245-aa6f-ab8575a6e460","name":"Contact not found","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id/conversations","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts",":id","conversations"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"9a07559e-a2a9-4e50-be09-ea5da03dde0b"}],"id":"47f8e1b6-c0ad-4edd-a21f-1d7acddf9334","_postman_id":"47f8e1b6-c0ad-4edd-a21f-1d7acddf9334","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"contact_inboxes","item":[{"name":"Create contact inbox","id":"2bde09ed-1e5b-4a7a-9301-9f471336a568","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<number>\",\n  \"source_id\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id/contact_inboxes","description":"<p>Create a contact inbox record for an inbox</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","contacts",":id","contact_inboxes"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"1bab5d4d-7881-41b7-b06e-fe536cf3154f","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"6cf78742-a489-4ab4-a969-50059ef7810e","description":{"content":"<p>(Required) ID of the contact</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"id"}]}},"response":[{"id":"5319b357-e430-4eac-aca7-61d84668f996","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<number>\",\n  \"source_id\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id/contact_inboxes","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts",":id","contact_inboxes"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"source_id\": \"<string>\",\n  \"inbox\": {\n    \"id\": \"<number>\",\n    \"name\": \"<string>\",\n    \"website_url\": \"<string>\",\n    \"channel_type\": \"<string>\",\n    \"avatar_url\": \"<string>\",\n    \"widget_color\": \"<string>\",\n    \"website_token\": \"<string>\",\n    \"enable_auto_assignment\": \"<boolean>\",\n    \"web_widget_script\": \"<string>\",\n    \"welcome_title\": \"<string>\",\n    \"welcome_tagline\": \"<string>\",\n    \"greeting_enabled\": \"<boolean>\",\n    \"greeting_message\": \"<string>\"\n  }\n}"},{"id":"08b31c21-9974-41d0-b67f-301400895709","name":"Authentication error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<number>\",\n  \"source_id\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id/contact_inboxes","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts",":id","contact_inboxes"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"description\": \"<string>\",\n  \"errors\": [\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\",\n      \"code\": \"<string>\"\n    },\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\",\n      \"code\": \"<string>\"\n    }\n  ]\n}"},{"id":"406c3d30-6585-4ed9-bd87-fe8fea1de364","name":"Incorrect payload","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<number>\",\n  \"source_id\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id/contact_inboxes","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts",":id","contact_inboxes"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"2bde09ed-1e5b-4a7a-9301-9f471336a568"}],"id":"f28b28aa-a085-46a0-b790-43a8f03bc7aa","_postman_id":"f28b28aa-a085-46a0-b790-43a8f03bc7aa","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"contactable_inboxes","item":[{"name":"Get Contactable Inboxes","id":"904ecff1-ec42-4fb2-97a7-9b977c59cfe5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id/contactable_inboxes","description":"<p>Get List of contactable Inboxes</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","contacts",":id","contactable_inboxes"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"4e844e66-71f2-4563-9c36-d877a96a72fc","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"7406c9b6-383b-4e5e-82c7-437c84f604a4","description":{"content":"<p>(Required) ID of the contact</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"id"}]}},"response":[{"id":"1144c7b1-7963-400a-b99b-9a55620870de","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id/contactable_inboxes","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts",":id","contactable_inboxes"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"source_id\": \"<string>\",\n  \"inbox\": {\n    \"id\": \"<number>\",\n    \"name\": \"<string>\",\n    \"website_url\": \"<string>\",\n    \"channel_type\": \"<string>\",\n    \"avatar_url\": \"<string>\",\n    \"widget_color\": \"<string>\",\n    \"website_token\": \"<string>\",\n    \"enable_auto_assignment\": \"<boolean>\",\n    \"web_widget_script\": \"<string>\",\n    \"welcome_title\": \"<string>\",\n    \"welcome_tagline\": \"<string>\",\n    \"greeting_enabled\": \"<boolean>\",\n    \"greeting_message\": \"<string>\"\n  }\n}"},{"id":"570e5757-37d1-4bc7-9a8b-ef4a19ec30d1","name":"Authentication error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id/contactable_inboxes","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts",":id","contactable_inboxes"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"description\": \"<string>\",\n  \"errors\": [\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\",\n      \"code\": \"<string>\"\n    },\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\",\n      \"code\": \"<string>\"\n    }\n  ]\n}"},{"id":"34827768-ed64-45fc-bcdd-3bd8b6696bd0","name":"Incorrect payload","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id/contactable_inboxes","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts",":id","contactable_inboxes"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"904ecff1-ec42-4fb2-97a7-9b977c59cfe5"}],"id":"2e2421a9-80ce-4aec-b298-d3e7df648b0d","_postman_id":"2e2421a9-80ce-4aec-b298-d3e7df648b0d","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"Show Contact","id":"ad065a3c-800a-45ef-a91e-32cc89e303a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id","description":"<p>Get a contact belonging to the account using ID</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","contacts",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"e79acbc9-5aab-49d5-b807-749d49f4ea29","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"03420813-ea3a-4833-9c5c-667744d9db2b","description":{"content":"<p>(Required) ID of the contact</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"id"}]}},"response":[{"id":"f1c5e31b-687f-4cf7-9cc2-1734d1620cce","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"payload\": {\n    \"contact\": {\n      \"email\": \"<string>\",\n      \"name\": \"<string>\",\n      \"phone_number\": \"<string>\",\n      \"thumbnail\": \"<string>\",\n      \"additional_attributes\": {},\n      \"custom_attributes\": {},\n      \"contact_inboxes\": [\n        {\n          \"source_id\": \"<string>\",\n          \"inbox\": {\n            \"id\": \"<number>\",\n            \"name\": \"<string>\",\n            \"website_url\": \"<string>\",\n            \"channel_type\": \"<string>\",\n            \"avatar_url\": \"<string>\",\n            \"widget_color\": \"<string>\",\n            \"website_token\": \"<string>\",\n            \"enable_auto_assignment\": \"<boolean>\",\n            \"web_widget_script\": \"<string>\",\n            \"welcome_title\": \"<string>\",\n            \"welcome_tagline\": \"<string>\",\n            \"greeting_enabled\": \"<boolean>\",\n            \"greeting_message\": \"<string>\"\n          }\n        },\n        {\n          \"source_id\": \"<string>\",\n          \"inbox\": {\n            \"id\": \"<number>\",\n            \"name\": \"<string>\",\n            \"website_url\": \"<string>\",\n            \"channel_type\": \"<string>\",\n            \"avatar_url\": \"<string>\",\n            \"widget_color\": \"<string>\",\n            \"website_token\": \"<string>\",\n            \"enable_auto_assignment\": \"<boolean>\",\n            \"web_widget_script\": \"<string>\",\n            \"welcome_title\": \"<string>\",\n            \"welcome_tagline\": \"<string>\",\n            \"greeting_enabled\": \"<boolean>\",\n            \"greeting_message\": \"<string>\"\n          }\n        }\n      ]\n    }\n  },\n  \"id\": \"<number>\",\n  \"availability_status\": \"online\"\n}"},{"id":"9dd73603-81c9-48dc-89d5-df42780fc068","name":"Access denied","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"b5959e82-c419-4861-81ba-7e4af1504a6d","name":"Contact not found","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"ad065a3c-800a-45ef-a91e-32cc89e303a8"},{"name":"Update Contact","id":"7e364f90-19b9-4e09-bc38-90f1f69ae48f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"phone_number\": \"<string>\",\n  \"avatar\": \"<binary>\",\n  \"avatar_url\": \"<string>\",\n  \"identifier\": \"<string>\",\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id","description":"<p>Update a contact belonging to the account using ID</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","contacts",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"3fcb0730-ba8c-42ff-a4d0-4e554d44c46d","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"953f8539-4e24-482e-8629-a74ee5e1c9f6","description":{"content":"<p>(Required) ID of the contact</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"id"}]}},"response":[{"id":"193184e3-be9a-4f6c-b4d9-b282026e66e5","name":"Success","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"phone_number\": \"<string>\",\n  \"avatar\": \"<binary>\",\n  \"avatar_url\": \"<string>\",\n  \"identifier\": \"<string>\",\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"payload\": {\n    \"contact\": {\n      \"email\": \"<string>\",\n      \"name\": \"<string>\",\n      \"phone_number\": \"<string>\",\n      \"thumbnail\": \"<string>\",\n      \"additional_attributes\": {},\n      \"custom_attributes\": {},\n      \"contact_inboxes\": [\n        {\n          \"source_id\": \"<string>\",\n          \"inbox\": {\n            \"id\": \"<number>\",\n            \"name\": \"<string>\",\n            \"website_url\": \"<string>\",\n            \"channel_type\": \"<string>\",\n            \"avatar_url\": \"<string>\",\n            \"widget_color\": \"<string>\",\n            \"website_token\": \"<string>\",\n            \"enable_auto_assignment\": \"<boolean>\",\n            \"web_widget_script\": \"<string>\",\n            \"welcome_title\": \"<string>\",\n            \"welcome_tagline\": \"<string>\",\n            \"greeting_enabled\": \"<boolean>\",\n            \"greeting_message\": \"<string>\"\n          }\n        },\n        {\n          \"source_id\": \"<string>\",\n          \"inbox\": {\n            \"id\": \"<number>\",\n            \"name\": \"<string>\",\n            \"website_url\": \"<string>\",\n            \"channel_type\": \"<string>\",\n            \"avatar_url\": \"<string>\",\n            \"widget_color\": \"<string>\",\n            \"website_token\": \"<string>\",\n            \"enable_auto_assignment\": \"<boolean>\",\n            \"web_widget_script\": \"<string>\",\n            \"welcome_title\": \"<string>\",\n            \"welcome_tagline\": \"<string>\",\n            \"greeting_enabled\": \"<boolean>\",\n            \"greeting_message\": \"<string>\"\n          }\n        }\n      ]\n    }\n  }\n}"},{"id":"18c1cf9d-76df-4288-9d86-167e629dedb6","name":"Access denied","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"phone_number\": \"<string>\",\n  \"avatar\": \"<binary>\",\n  \"avatar_url\": \"<string>\",\n  \"identifier\": \"<string>\",\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"a5555c98-3e17-417d-84a9-9121449aeba1","name":"Contact not found","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"phone_number\": \"<string>\",\n  \"avatar\": \"<binary>\",\n  \"avatar_url\": \"<string>\",\n  \"identifier\": \"<string>\",\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"7e364f90-19b9-4e09-bc38-90f1f69ae48f"},{"name":"Delete Contact","id":"cf2c12cf-7223-426d-be6b-c4d7db8d9c91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","contacts",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"7c16c355-8d7a-4b0a-8765-4c57ea803ca5","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"a0212a8e-d4e7-42de-9f40-7fe7dc263630","description":{"content":"<p>(Required) ID of the contact</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"id"}]}},"response":[{"id":"9687dd75-24ff-442e-b36b-8c3d19385777","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"e15b3c30-5a59-4650-b0ef-74d16b0a277b","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"c93c88e8-63c9-4e62-ad0f-c33e565c036a","name":"Contact not found","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"cf2c12cf-7223-426d-be6b-c4d7db8d9c91"}],"id":"bef3f8c1-b9ae-4100-9d1e-af9b97f2e6a1","_postman_id":"bef3f8c1-b9ae-4100-9d1e-af9b97f2e6a1","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"search","item":[{"name":"Search Contacts","id":"3a57f664-faae-4cc1-9a71-1672aa1d185f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/search?q=<string>&sort=-email&page=1","description":"<p>Search the resolved contacts using a search key, currently supports email search (Page size = 15). Resolved contacts are the ones with a value for identifier, email or phone number</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","contacts","search"],"host":["https://chatapp.backendprod.com"],"query":[{"description":{"content":"<p>Search using contact <code>name</code>, <code>identifier</code>, <code>email</code> or <code>phone number</code></p>\n","type":"text/plain"},"key":"q","value":"<string>"},{"description":{"content":"<p>The attribute by which list should be sorted</p>\n","type":"text/plain"},"key":"sort","value":"-email"},{"description":{"content":"<p>The page parameter</p>\n","type":"text/plain"},"key":"page","value":"1"}],"variable":[{"id":"31517fe0-ecc0-470e-82ef-460913e7eb0b","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"10cf6c70-c09e-4d3d-a6da-81f5237cffa8","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/search?q=<string>&sort=-email&page=1","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts","search"],"query":[{"key":"q","value":"<string>","description":"Search using contact `name`, `identifier`, `email` or `phone number`"},{"key":"sort","value":"-email","description":"The attribute by which list should be sorted"},{"key":"page","value":"1","description":"The page parameter"}],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"payload\": [\n    {\n      \"id\": \"<number>\",\n      \"payload\": {\n        \"contact\": {\n          \"email\": \"<string>\",\n          \"name\": \"<string>\",\n          \"phone_number\": \"<string>\",\n          \"thumbnail\": \"<string>\",\n          \"additional_attributes\": {},\n          \"custom_attributes\": {},\n          \"contact_inboxes\": [\n            {\n              \"source_id\": \"<string>\",\n              \"inbox\": {\n                \"id\": \"<number>\",\n                \"name\": \"<string>\",\n                \"website_url\": \"<string>\",\n                \"channel_type\": \"<string>\",\n                \"avatar_url\": \"<string>\",\n                \"widget_color\": \"<string>\",\n                \"website_token\": \"<string>\",\n                \"enable_auto_assignment\": \"<boolean>\",\n                \"web_widget_script\": \"<string>\",\n                \"welcome_title\": \"<string>\",\n                \"welcome_tagline\": \"<string>\",\n                \"greeting_enabled\": \"<boolean>\",\n                \"greeting_message\": \"<string>\"\n              }\n            },\n            {\n              \"source_id\": \"<string>\",\n              \"inbox\": {\n                \"id\": \"<number>\",\n                \"name\": \"<string>\",\n                \"website_url\": \"<string>\",\n                \"channel_type\": \"<string>\",\n                \"avatar_url\": \"<string>\",\n                \"widget_color\": \"<string>\",\n                \"website_token\": \"<string>\",\n                \"enable_auto_assignment\": \"<boolean>\",\n                \"web_widget_script\": \"<string>\",\n                \"welcome_title\": \"<string>\",\n                \"welcome_tagline\": \"<string>\",\n                \"greeting_enabled\": \"<boolean>\",\n                \"greeting_message\": \"<string>\"\n              }\n            }\n          ]\n        }\n      }\n    },\n    {\n      \"id\": \"<number>\",\n      \"payload\": {\n        \"contact\": {\n          \"email\": \"<string>\",\n          \"name\": \"<string>\",\n          \"phone_number\": \"<string>\",\n          \"thumbnail\": \"<string>\",\n          \"additional_attributes\": {},\n          \"custom_attributes\": {},\n          \"contact_inboxes\": [\n            {\n              \"source_id\": \"<string>\",\n              \"inbox\": {\n                \"id\": \"<number>\",\n                \"name\": \"<string>\",\n                \"website_url\": \"<string>\",\n                \"channel_type\": \"<string>\",\n                \"avatar_url\": \"<string>\",\n                \"widget_color\": \"<string>\",\n                \"website_token\": \"<string>\",\n                \"enable_auto_assignment\": \"<boolean>\",\n                \"web_widget_script\": \"<string>\",\n                \"welcome_title\": \"<string>\",\n                \"welcome_tagline\": \"<string>\",\n                \"greeting_enabled\": \"<boolean>\",\n                \"greeting_message\": \"<string>\"\n              }\n            },\n            {\n              \"source_id\": \"<string>\",\n              \"inbox\": {\n                \"id\": \"<number>\",\n                \"name\": \"<string>\",\n                \"website_url\": \"<string>\",\n                \"channel_type\": \"<string>\",\n                \"avatar_url\": \"<string>\",\n                \"widget_color\": \"<string>\",\n                \"website_token\": \"<string>\",\n                \"enable_auto_assignment\": \"<boolean>\",\n                \"web_widget_script\": \"<string>\",\n                \"welcome_title\": \"<string>\",\n                \"welcome_tagline\": \"<string>\",\n                \"greeting_enabled\": \"<boolean>\",\n                \"greeting_message\": \"<string>\"\n              }\n            }\n          ]\n        }\n      }\n    }\n  ]\n}"},{"id":"96f3deef-86fc-4a48-b29b-b3f94c434496","name":"Authentication error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/search?q=<string>&sort=-email&page=1","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts","search"],"query":[{"key":"q","value":"<string>","description":"Search using contact `name`, `identifier`, `email` or `phone number`"},{"key":"sort","value":"-email","description":"The attribute by which list should be sorted"},{"key":"page","value":"1","description":"The page parameter"}],"variable":[{"key":"account_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"description\": \"<string>\",\n  \"errors\": [\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\",\n      \"code\": \"<string>\"\n    },\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\",\n      \"code\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"3a57f664-faae-4cc1-9a71-1672aa1d185f"}],"id":"dbb5a3bb-668c-4b87-bd83-149f26ea4939","_postman_id":"dbb5a3bb-668c-4b87-bd83-149f26ea4939","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"filter","item":[{"name":"Contact Filter","id":"f074e2c5-b0a9-4370-99df-47588e4b93c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"payload\": [\n    \"AND\",\n    \"OR\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/filter?page=<integer>","description":"<p>Filter contacts with custom filter options and pagination</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","contacts","filter"],"host":["https://chatapp.backendprod.com"],"query":[{"key":"page","value":"<integer>"}],"variable":[{"id":"63062ccd-e3e0-4d96-b7c6-a1ea15af416a","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"9a1efe80-7642-41fe-9cae-cabd7225e735","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"payload\": [\n    \"AND\",\n    \"OR\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/filter?page=<integer>","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts","filter"],"query":[{"key":"page","value":"<integer>"}],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<number>\",\n    \"payload\": {\n      \"contact\": {\n        \"email\": \"<string>\",\n        \"name\": \"<string>\",\n        \"phone_number\": \"<string>\",\n        \"thumbnail\": \"<string>\",\n        \"additional_attributes\": {},\n        \"custom_attributes\": {},\n        \"contact_inboxes\": [\n          {\n            \"source_id\": \"<string>\",\n            \"inbox\": {\n              \"id\": \"<number>\",\n              \"name\": \"<string>\",\n              \"website_url\": \"<string>\",\n              \"channel_type\": \"<string>\",\n              \"avatar_url\": \"<string>\",\n              \"widget_color\": \"<string>\",\n              \"website_token\": \"<string>\",\n              \"enable_auto_assignment\": \"<boolean>\",\n              \"web_widget_script\": \"<string>\",\n              \"welcome_title\": \"<string>\",\n              \"welcome_tagline\": \"<string>\",\n              \"greeting_enabled\": \"<boolean>\",\n              \"greeting_message\": \"<string>\"\n            }\n          },\n          {\n            \"source_id\": \"<string>\",\n            \"inbox\": {\n              \"id\": \"<number>\",\n              \"name\": \"<string>\",\n              \"website_url\": \"<string>\",\n              \"channel_type\": \"<string>\",\n              \"avatar_url\": \"<string>\",\n              \"widget_color\": \"<string>\",\n              \"website_token\": \"<string>\",\n              \"enable_auto_assignment\": \"<boolean>\",\n              \"web_widget_script\": \"<string>\",\n              \"welcome_title\": \"<string>\",\n              \"welcome_tagline\": \"<string>\",\n              \"greeting_enabled\": \"<boolean>\",\n              \"greeting_message\": \"<string>\"\n            }\n          }\n        ]\n      }\n    }\n  },\n  {\n    \"id\": \"<number>\",\n    \"payload\": {\n      \"contact\": {\n        \"email\": \"<string>\",\n        \"name\": \"<string>\",\n        \"phone_number\": \"<string>\",\n        \"thumbnail\": \"<string>\",\n        \"additional_attributes\": {},\n        \"custom_attributes\": {},\n        \"contact_inboxes\": [\n          {\n            \"source_id\": \"<string>\",\n            \"inbox\": {\n              \"id\": \"<number>\",\n              \"name\": \"<string>\",\n              \"website_url\": \"<string>\",\n              \"channel_type\": \"<string>\",\n              \"avatar_url\": \"<string>\",\n              \"widget_color\": \"<string>\",\n              \"website_token\": \"<string>\",\n              \"enable_auto_assignment\": \"<boolean>\",\n              \"web_widget_script\": \"<string>\",\n              \"welcome_title\": \"<string>\",\n              \"welcome_tagline\": \"<string>\",\n              \"greeting_enabled\": \"<boolean>\",\n              \"greeting_message\": \"<string>\"\n            }\n          },\n          {\n            \"source_id\": \"<string>\",\n            \"inbox\": {\n              \"id\": \"<number>\",\n              \"name\": \"<string>\",\n              \"website_url\": \"<string>\",\n              \"channel_type\": \"<string>\",\n              \"avatar_url\": \"<string>\",\n              \"widget_color\": \"<string>\",\n              \"website_token\": \"<string>\",\n              \"enable_auto_assignment\": \"<boolean>\",\n              \"web_widget_script\": \"<string>\",\n              \"welcome_title\": \"<string>\",\n              \"welcome_tagline\": \"<string>\",\n              \"greeting_enabled\": \"<boolean>\",\n              \"greeting_message\": \"<string>\"\n            }\n          }\n        ]\n      }\n    }\n  }\n]"},{"id":"f76d2bb3-689f-4642-bc81-ab43d0565591","name":"Bad Request Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"payload\": [\n    \"AND\",\n    \"OR\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts/filter?page=<integer>","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts","filter"],"query":[{"key":"page","value":"<integer>"}],"variable":[{"key":"account_id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"description\": \"<string>\",\n  \"errors\": [\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\",\n      \"code\": \"<string>\"\n    },\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\",\n      \"code\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"f074e2c5-b0a9-4370-99df-47588e4b93c5"}],"id":"f9b1b7da-0ab5-495d-b1ca-f0c4f5591189","_postman_id":"f9b1b7da-0ab5-495d-b1ca-f0c4f5591189","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"List Contacts","id":"a3a2bb6d-5d27-4f08-9a05-fb00b01ec7a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts?sort=-email&page=1","description":"<p>Listing all the resolved contacts with pagination (Page size = 15) . Resolved contacts are the ones with a value for identifier, email or phone number</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","contacts"],"host":["https://chatapp.backendprod.com"],"query":[{"description":{"content":"<p>The attribute by which list should be sorted</p>\n","type":"text/plain"},"key":"sort","value":"-email"},{"description":{"content":"<p>The page parameter</p>\n","type":"text/plain"},"key":"page","value":"1"}],"variable":[{"id":"eff79050-bc44-4ad5-b460-71c380ce5ca6","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"616d80ec-e0df-44ad-bccc-5a08e9672165","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts?sort=-email&page=1","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts"],"query":[{"key":"sort","value":"-email","description":"The attribute by which list should be sorted"},{"key":"page","value":"1","description":"The page parameter"}],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<number>\",\n    \"payload\": {\n      \"contact\": {\n        \"email\": \"<string>\",\n        \"name\": \"<string>\",\n        \"phone_number\": \"<string>\",\n        \"thumbnail\": \"<string>\",\n        \"additional_attributes\": {},\n        \"custom_attributes\": {},\n        \"contact_inboxes\": [\n          {\n            \"source_id\": \"<string>\",\n            \"inbox\": {\n              \"id\": \"<number>\",\n              \"name\": \"<string>\",\n              \"website_url\": \"<string>\",\n              \"channel_type\": \"<string>\",\n              \"avatar_url\": \"<string>\",\n              \"widget_color\": \"<string>\",\n              \"website_token\": \"<string>\",\n              \"enable_auto_assignment\": \"<boolean>\",\n              \"web_widget_script\": \"<string>\",\n              \"welcome_title\": \"<string>\",\n              \"welcome_tagline\": \"<string>\",\n              \"greeting_enabled\": \"<boolean>\",\n              \"greeting_message\": \"<string>\"\n            }\n          },\n          {\n            \"source_id\": \"<string>\",\n            \"inbox\": {\n              \"id\": \"<number>\",\n              \"name\": \"<string>\",\n              \"website_url\": \"<string>\",\n              \"channel_type\": \"<string>\",\n              \"avatar_url\": \"<string>\",\n              \"widget_color\": \"<string>\",\n              \"website_token\": \"<string>\",\n              \"enable_auto_assignment\": \"<boolean>\",\n              \"web_widget_script\": \"<string>\",\n              \"welcome_title\": \"<string>\",\n              \"welcome_tagline\": \"<string>\",\n              \"greeting_enabled\": \"<boolean>\",\n              \"greeting_message\": \"<string>\"\n            }\n          }\n        ]\n      }\n    }\n  },\n  {\n    \"id\": \"<number>\",\n    \"payload\": {\n      \"contact\": {\n        \"email\": \"<string>\",\n        \"name\": \"<string>\",\n        \"phone_number\": \"<string>\",\n        \"thumbnail\": \"<string>\",\n        \"additional_attributes\": {},\n        \"custom_attributes\": {},\n        \"contact_inboxes\": [\n          {\n            \"source_id\": \"<string>\",\n            \"inbox\": {\n              \"id\": \"<number>\",\n              \"name\": \"<string>\",\n              \"website_url\": \"<string>\",\n              \"channel_type\": \"<string>\",\n              \"avatar_url\": \"<string>\",\n              \"widget_color\": \"<string>\",\n              \"website_token\": \"<string>\",\n              \"enable_auto_assignment\": \"<boolean>\",\n              \"web_widget_script\": \"<string>\",\n              \"welcome_title\": \"<string>\",\n              \"welcome_tagline\": \"<string>\",\n              \"greeting_enabled\": \"<boolean>\",\n              \"greeting_message\": \"<string>\"\n            }\n          },\n          {\n            \"source_id\": \"<string>\",\n            \"inbox\": {\n              \"id\": \"<number>\",\n              \"name\": \"<string>\",\n              \"website_url\": \"<string>\",\n              \"channel_type\": \"<string>\",\n              \"avatar_url\": \"<string>\",\n              \"widget_color\": \"<string>\",\n              \"website_token\": \"<string>\",\n              \"enable_auto_assignment\": \"<boolean>\",\n              \"web_widget_script\": \"<string>\",\n              \"welcome_title\": \"<string>\",\n              \"welcome_tagline\": \"<string>\",\n              \"greeting_enabled\": \"<boolean>\",\n              \"greeting_message\": \"<string>\"\n            }\n          }\n        ]\n      }\n    }\n  }\n]"},{"id":"c2b92892-951b-4c73-8f7a-9e355ad9930b","name":"Bad Request Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts?sort=-email&page=1","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts"],"query":[{"key":"sort","value":"-email","description":"The attribute by which list should be sorted"},{"key":"page","value":"1","description":"The page parameter"}],"variable":[{"key":"account_id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"description\": \"<string>\",\n  \"errors\": [\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\",\n      \"code\": \"<string>\"\n    },\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\",\n      \"code\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"a3a2bb6d-5d27-4f08-9a05-fb00b01ec7a7"},{"name":"Create Contact","id":"9e5cf948-9cd4-4500-be3f-5e65dcb715a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<number>\",\n  \"name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"phone_number\": \"<string>\",\n  \"avatar\": \"<binary>\",\n  \"avatar_url\": \"<string>\",\n  \"identifier\": \"<string>\",\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts","description":"<p>Create a new Contact</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","contacts"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"8b509d59-c159-4b6b-961f-1bbebab2c6cf","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"e96a6446-e3c0-4c83-92a7-984fb50f0ae6","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<number>\",\n  \"name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"phone_number\": \"<string>\",\n  \"avatar\": \"<binary>\",\n  \"avatar_url\": \"<string>\",\n  \"identifier\": \"<string>\",\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"payload\": {\n    \"contact\": {\n      \"email\": \"<string>\",\n      \"name\": \"<string>\",\n      \"phone_number\": \"<string>\",\n      \"thumbnail\": \"<string>\",\n      \"additional_attributes\": {},\n      \"custom_attributes\": {},\n      \"contact_inboxes\": [\n        {\n          \"source_id\": \"<string>\",\n          \"inbox\": {\n            \"id\": \"<number>\",\n            \"name\": \"<string>\",\n            \"website_url\": \"<string>\",\n            \"channel_type\": \"<string>\",\n            \"avatar_url\": \"<string>\",\n            \"widget_color\": \"<string>\",\n            \"website_token\": \"<string>\",\n            \"enable_auto_assignment\": \"<boolean>\",\n            \"web_widget_script\": \"<string>\",\n            \"welcome_title\": \"<string>\",\n            \"welcome_tagline\": \"<string>\",\n            \"greeting_enabled\": \"<boolean>\",\n            \"greeting_message\": \"<string>\"\n          }\n        },\n        {\n          \"source_id\": \"<string>\",\n          \"inbox\": {\n            \"id\": \"<number>\",\n            \"name\": \"<string>\",\n            \"website_url\": \"<string>\",\n            \"channel_type\": \"<string>\",\n            \"avatar_url\": \"<string>\",\n            \"widget_color\": \"<string>\",\n            \"website_token\": \"<string>\",\n            \"enable_auto_assignment\": \"<boolean>\",\n            \"web_widget_script\": \"<string>\",\n            \"welcome_title\": \"<string>\",\n            \"welcome_tagline\": \"<string>\",\n            \"greeting_enabled\": \"<boolean>\",\n            \"greeting_message\": \"<string>\"\n          }\n        }\n      ]\n    }\n  },\n  \"id\": \"<number>\",\n  \"availability_status\": \"online\"\n}"},{"id":"efb9a1ec-ee9f-48b4-af65-c1dd06740af5","name":"Bad Request Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<number>\",\n  \"name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"phone_number\": \"<string>\",\n  \"avatar\": \"<binary>\",\n  \"avatar_url\": \"<string>\",\n  \"identifier\": \"<string>\",\n  \"custom_attributes\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/contacts","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","contacts"],"variable":[{"key":"account_id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"description\": \"<string>\",\n  \"errors\": [\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\",\n      \"code\": \"<string>\"\n    },\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\",\n      \"code\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"9e5cf948-9cd4-4500-be3f-5e65dcb715a6"}],"id":"a9bc6ebe-b6b6-4e0f-a497-5ec03b70e07c","_postman_id":"a9bc6ebe-b6b6-4e0f-a497-5ec03b70e07c","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"automation_rules","item":[{"name":"{id}","item":[{"name":"Get a automation rule details","id":"00a62ea5-4c93-4806-8757-6e95e549522b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/automation_rules/:id","description":"<p>Get the details of a automation rule in the account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","automation_rules",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"de339713-5b49-49c1-af46-67c3c23079de","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"ceb5eecb-a0d1-4aad-ba52-d54efe2764ac","description":{"content":"<p>(Required) The ID of the automation rule to be updated.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"092d7cbc-5ce1-4437-9619-e2ac2f9ad29c","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/automation_rules/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","automation_rules",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"event_name\": \"conversation_updated\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"active\": \"<boolean>\",\n  \"account_id\": \"<integer>\"\n}"},{"id":"f4324b08-6ee6-48ae-b622-c3c3cb082ad4","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/automation_rules/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","automation_rules",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"89b19cf7-081b-44dc-ae92-acf0273f8ae8","name":"The given rule ID does not exist in the account","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/automation_rules/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","automation_rules",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"00a62ea5-4c93-4806-8757-6e95e549522b"},{"name":"Update automation rule in Account","id":"f4799d21-1b95-4b20-b475-b642968d4c8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"event_name\": \"conversation_updated\",\n  \"active\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/automation_rules/:id","description":"<p>Update a automation rule in account</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","automation_rules",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"092ea5e3-4abd-4c84-ada5-5c03b416c6a4","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"005cd04a-cbd9-4989-8cc6-f1118661ebc0","description":{"content":"<p>(Required) The ID of the automation rule to be updated.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"717d5dc3-4e98-4aa4-b0a2-2b213e11436a","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"event_name\": \"conversation_updated\",\n  \"active\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/automation_rules/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","automation_rules",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"event_name\": \"conversation_updated\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"active\": \"<boolean>\",\n  \"account_id\": \"<integer>\"\n}"},{"id":"1ca03cb3-1942-4e3a-9923-fd34c852b477","name":"Access denied","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"event_name\": \"conversation_updated\",\n  \"active\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/automation_rules/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","automation_rules",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"1a103fe9-b52f-4804-b553-1d413589458f","name":"Rule not found","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"event_name\": \"conversation_updated\",\n  \"active\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/automation_rules/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","automation_rules",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"f4799d21-1b95-4b20-b475-b642968d4c8b"},{"name":"Remove a automation rule from account","id":"571f0f72-6f74-4a59-920f-0ba3f165f552","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/automation_rules/:id","description":"<p>Remove a automation rule from account</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","automation_rules",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"3ba9078d-f29f-40f6-a8a5-e27c3466c64c","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"8ec2ce07-7f5c-4089-a45f-42a5f24026e5","description":{"content":"<p>(Required) The ID of the automation rule to be deleted</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"243abf8a-cc3f-46bb-bb31-28a171f8ac51","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/automation_rules/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","automation_rules",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"1b74fdeb-dbc9-497a-8b85-ba0c9a9d7d7e","name":"Access denied","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/automation_rules/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","automation_rules",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"556de726-3d9d-4948-aade-1bae81dfc38f","name":"automation rule not found","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/automation_rules/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","automation_rules",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"571f0f72-6f74-4a59-920f-0ba3f165f552"}],"id":"d871be59-7847-4b32-89cb-36ace21dab60","_postman_id":"d871be59-7847-4b32-89cb-36ace21dab60","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"List all automation rules in an account","id":"187cecd4-392d-4d78-a806-d6de022ce92b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/automation_rules?page=1","description":"<p>Get details of automation rules in an Account</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","automation_rules"],"host":["https://chatapp.backendprod.com"],"query":[{"description":{"content":"<p>The page parameter</p>\n","type":"text/plain"},"key":"page","value":"1"}],"variable":[{"id":"e8b9386f-0d63-4f97-a81d-05d09861e2dd","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"0689fd70-2540-475e-973d-e959a1ae61f4","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/automation_rules?page=1","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","automation_rules"],"query":[{"key":"page","value":"1","description":"The page parameter"}],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"event_name\": \"conversation_created\",\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"active\": \"<boolean>\",\n    \"account_id\": \"<integer>\"\n  },\n  {\n    \"event_name\": \"conversation_created\",\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"active\": \"<boolean>\",\n    \"account_id\": \"<integer>\"\n  }\n]"},{"id":"77749e5b-3de7-450b-a37c-964685ad4689","name":"Access denied","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/automation_rules?page=1","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","automation_rules"],"query":[{"key":"page","value":"1","description":"The page parameter"}],"variable":[{"key":"account_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"187cecd4-392d-4d78-a806-d6de022ce92b"},{"name":"Add a new automation rule","id":"ae3044ef-4431-4d62-b461-19d92f9194f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"event_name\": \"conversation_updated\",\n  \"active\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/automation_rules","description":"<p>Add a new automation rule to account</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","automation_rules"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"3ead978f-223a-4250-b84a-e0492a382928","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"1a28bbd8-e6b1-4f05-8909-fa49f4e3cee3","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"event_name\": \"conversation_updated\",\n  \"active\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/automation_rules","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","automation_rules"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"event_name\": \"conversation_updated\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"active\": \"<boolean>\",\n  \"account_id\": \"<integer>\"\n}"},{"id":"e407df40-c61f-4580-9ad0-86bc5c70366a","name":"Access denied","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"event_name\": \"conversation_updated\",\n  \"active\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/automation_rules","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","automation_rules"],"variable":[{"key":"account_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"ae3044ef-4431-4d62-b461-19d92f9194f7"}],"id":"edb148cb-ffd0-4aa2-aaba-3613a05c8824","_postman_id":"edb148cb-ffd0-4aa2-aaba-3613a05c8824","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"portals","item":[{"name":"{portal_id}","item":[{"name":"categories","item":[{"name":"Add a new category","id":"ca0d11ac-69f5-4330-8a67-b9bc3c1903bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"description\": \"<string>\",\n  \"locale\": \"<string>\",\n  \"name\": \"<string>\",\n  \"slug\": \"<string>\",\n  \"position\": \"<integer>\",\n  \"portal_id\": \"<integer>\",\n  \"account_id\": \"<integer>\",\n  \"associated_category_id\": \"<integer>\",\n  \"parent_category_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/portals/:portal_id/categories","description":"<p>Add a new category to portal</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","portals",":portal_id","categories"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"54a16470-0778-4953-9b49-323519ae8ca4","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"b0001714-7f0f-4219-b28b-09ae7118ce73","type":"any","key":"portal_id"}]}},"response":[{"id":"5d8954e5-5415-48e5-8b00-b32b6464feab","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"description\": \"<string>\",\n  \"locale\": \"<string>\",\n  \"name\": \"<string>\",\n  \"slug\": \"<string>\",\n  \"position\": \"<integer>\",\n  \"portal_id\": \"<integer>\",\n  \"account_id\": \"<integer>\",\n  \"associated_category_id\": \"<integer>\",\n  \"parent_category_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/portals/:portal_id/categories","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","portals",":portal_id","categories"],"variable":[{"key":"account_id"},{"key":"portal_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<integer>\",\n  \"description\": \"<string>\",\n  \"locale\": \"<string>\",\n  \"name\": \"<string>\",\n  \"slug\": \"<string>\",\n  \"position\": \"<integer>\",\n  \"portal_id\": \"<integer>\",\n  \"account_id\": \"<integer>\",\n  \"associated_category_id\": \"<integer>\",\n  \"parent_category_id\": \"<integer>\"\n}"},{"id":"ee671878-3f2d-475d-a9c6-4280ca91c3fb","name":"Access denied","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"description\": \"<string>\",\n  \"locale\": \"<string>\",\n  \"name\": \"<string>\",\n  \"slug\": \"<string>\",\n  \"position\": \"<integer>\",\n  \"portal_id\": \"<integer>\",\n  \"account_id\": \"<integer>\",\n  \"associated_category_id\": \"<integer>\",\n  \"parent_category_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/portals/:portal_id/categories","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","portals",":portal_id","categories"],"variable":[{"key":"account_id"},{"key":"portal_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"ca0d11ac-69f5-4330-8a67-b9bc3c1903bc"}],"id":"d271e64a-3437-481b-bb1f-aff0024a196d","_postman_id":"d271e64a-3437-481b-bb1f-aff0024a196d","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"articles","item":[{"name":"Add a new article","id":"24f2dfd6-3bfb-4496-b1a1-10a49c24f456","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"<string>\",\n  \"meta\": {},\n  \"position\": \"<integer>\",\n  \"status\": \"<integer>\",\n  \"title\": \"<string>\",\n  \"slug\": \"<string>\",\n  \"views\": \"<integer>\",\n  \"portal_id\": \"<integer>\",\n  \"account_id\": \"<integer>\",\n  \"author_id\": \"<integer>\",\n  \"category_id\": \"<integer>\",\n  \"folder_id\": \"<integer>\",\n  \"associated_article_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/portals/:portal_id/articles","description":"<p>Add a new article to portal</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","portals",":portal_id","articles"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"5f84644d-3ab2-429c-819f-2d93ab82df11","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"52eb0153-74c3-4b89-a2db-ea06b16c8249","type":"any","key":"portal_id"}]}},"response":[{"id":"2d467189-9a12-4804-a47d-9f8125b78164","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"<string>\",\n  \"meta\": {},\n  \"position\": \"<integer>\",\n  \"status\": \"<integer>\",\n  \"title\": \"<string>\",\n  \"slug\": \"<string>\",\n  \"views\": \"<integer>\",\n  \"portal_id\": \"<integer>\",\n  \"account_id\": \"<integer>\",\n  \"author_id\": \"<integer>\",\n  \"category_id\": \"<integer>\",\n  \"folder_id\": \"<integer>\",\n  \"associated_article_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/portals/:portal_id/articles","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","portals",":portal_id","articles"],"variable":[{"key":"account_id"},{"key":"portal_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<integer>\",\n  \"content\": \"<string>\",\n  \"meta\": {},\n  \"position\": \"<integer>\",\n  \"status\": null,\n  \"title\": \"<string>\",\n  \"slug\": \"<string>\",\n  \"views\": \"<integer>\",\n  \"portal_id\": \"<integer>\",\n  \"account_id\": \"<integer>\",\n  \"author_id\": \"<integer>\",\n  \"category_id\": \"<integer>\",\n  \"folder_id\": \"<integer>\",\n  \"associated_article_id\": \"<integer>\"\n}"},{"id":"9c6b2b37-4239-4152-b2f6-0bf98394a064","name":"Access denied","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"<string>\",\n  \"meta\": {},\n  \"position\": \"<integer>\",\n  \"status\": \"<integer>\",\n  \"title\": \"<string>\",\n  \"slug\": \"<string>\",\n  \"views\": \"<integer>\",\n  \"portal_id\": \"<integer>\",\n  \"account_id\": \"<integer>\",\n  \"author_id\": \"<integer>\",\n  \"category_id\": \"<integer>\",\n  \"folder_id\": \"<integer>\",\n  \"associated_article_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/portals/:portal_id/articles","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","portals",":portal_id","articles"],"variable":[{"key":"account_id"},{"key":"portal_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"24f2dfd6-3bfb-4496-b1a1-10a49c24f456"}],"id":"39c16370-b9ba-4c20-be59-4b042ed5c966","_postman_id":"39c16370-b9ba-4c20-be59-4b042ed5c966","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}}],"id":"98bd88c2-c600-41af-af70-7a601abb5657","_postman_id":"98bd88c2-c600-41af-af70-7a601abb5657","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"Add a new portal","id":"3165e64f-0d42-4e82-9ecd-7b4e4f120db9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"archived\": \"<boolean>\",\n  \"color\": \"<string>\",\n  \"config\": {},\n  \"custom_domain\": \"<string>\",\n  \"header_text\": \"<string>\",\n  \"homepage_link\": \"<string>\",\n  \"name\": \"<string>\",\n  \"slug\": \"<string>\",\n  \"page_title\": \"<string>\",\n  \"account_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/portals","description":"<p>Add a new portal to account</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","portals"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"a0ec1ca6-1e45-44ef-8fd5-c391a2bc5246","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"3d939514-eff8-4078-9939-5111e63553d6","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"archived\": \"<boolean>\",\n  \"color\": \"<string>\",\n  \"config\": {},\n  \"custom_domain\": \"<string>\",\n  \"header_text\": \"<string>\",\n  \"homepage_link\": \"<string>\",\n  \"name\": \"<string>\",\n  \"slug\": \"<string>\",\n  \"page_title\": \"<string>\",\n  \"account_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/portals","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","portals"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<integer>\",\n  \"archived\": \"<boolean>\",\n  \"color\": \"<string>\",\n  \"config\": {},\n  \"custom_domain\": \"<string>\",\n  \"header_text\": \"<string>\",\n  \"homepage_link\": \"<string>\",\n  \"name\": \"<string>\",\n  \"slug\": \"<string>\",\n  \"page_title\": \"<string>\",\n  \"account_id\": \"<integer>\",\n  \"categories\": [\n    {\n      \"id\": \"<integer>\",\n      \"description\": \"<string>\",\n      \"locale\": \"<string>\",\n      \"name\": \"<string>\",\n      \"slug\": \"<string>\",\n      \"position\": \"<integer>\",\n      \"portal_id\": \"<integer>\",\n      \"account_id\": \"<integer>\",\n      \"associated_category_id\": \"<integer>\",\n      \"parent_category_id\": \"<integer>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"description\": \"<string>\",\n      \"locale\": \"<string>\",\n      \"name\": \"<string>\",\n      \"slug\": \"<string>\",\n      \"position\": \"<integer>\",\n      \"portal_id\": \"<integer>\",\n      \"account_id\": \"<integer>\",\n      \"associated_category_id\": \"<integer>\",\n      \"parent_category_id\": \"<integer>\"\n    }\n  ],\n  \"articles\": [\n    {\n      \"id\": \"<integer>\",\n      \"content\": \"<string>\",\n      \"meta\": {},\n      \"position\": \"<integer>\",\n      \"status\": null,\n      \"title\": \"<string>\",\n      \"slug\": \"<string>\",\n      \"views\": \"<integer>\",\n      \"portal_id\": \"<integer>\",\n      \"account_id\": \"<integer>\",\n      \"author_id\": \"<integer>\",\n      \"category_id\": \"<integer>\",\n      \"folder_id\": \"<integer>\",\n      \"associated_article_id\": \"<integer>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"content\": \"<string>\",\n      \"meta\": {},\n      \"position\": \"<integer>\",\n      \"status\": null,\n      \"title\": \"<string>\",\n      \"slug\": \"<string>\",\n      \"views\": \"<integer>\",\n      \"portal_id\": \"<integer>\",\n      \"account_id\": \"<integer>\",\n      \"author_id\": \"<integer>\",\n      \"category_id\": \"<integer>\",\n      \"folder_id\": \"<integer>\",\n      \"associated_article_id\": \"<integer>\"\n    }\n  ]\n}"},{"id":"25ee50e7-6541-44d6-a9a2-5bb15f5143cc","name":"Access denied","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"archived\": \"<boolean>\",\n  \"color\": \"<string>\",\n  \"config\": {},\n  \"custom_domain\": \"<string>\",\n  \"header_text\": \"<string>\",\n  \"homepage_link\": \"<string>\",\n  \"name\": \"<string>\",\n  \"slug\": \"<string>\",\n  \"page_title\": \"<string>\",\n  \"account_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/portals","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","portals"],"variable":[{"key":"account_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3165e64f-0d42-4e82-9ecd-7b4e4f120db9"},{"name":"List all portals in an account","id":"9fcf7525-d832-45f8-b823-899088118a69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/portals","description":"<p>Get details of portals in an Account</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","portals"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"a8a1a0f6-fd91-43d2-88d6-c9f0297f6140","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"39a88633-11ed-4fde-8706-cb687467e714","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/portals","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","portals"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<integer>\",\n    \"archived\": \"<boolean>\",\n    \"color\": \"<string>\",\n    \"config\": {},\n    \"custom_domain\": \"<string>\",\n    \"header_text\": \"<string>\",\n    \"homepage_link\": \"<string>\",\n    \"name\": \"<string>\",\n    \"slug\": \"<string>\",\n    \"page_title\": \"<string>\",\n    \"account_id\": \"<integer>\",\n    \"categories\": [\n      {\n        \"id\": \"<integer>\",\n        \"description\": \"<string>\",\n        \"locale\": \"<string>\",\n        \"name\": \"<string>\",\n        \"slug\": \"<string>\",\n        \"position\": \"<integer>\",\n        \"portal_id\": \"<integer>\",\n        \"account_id\": \"<integer>\",\n        \"associated_category_id\": \"<integer>\",\n        \"parent_category_id\": \"<integer>\"\n      },\n      {\n        \"id\": \"<integer>\",\n        \"description\": \"<string>\",\n        \"locale\": \"<string>\",\n        \"name\": \"<string>\",\n        \"slug\": \"<string>\",\n        \"position\": \"<integer>\",\n        \"portal_id\": \"<integer>\",\n        \"account_id\": \"<integer>\",\n        \"associated_category_id\": \"<integer>\",\n        \"parent_category_id\": \"<integer>\"\n      }\n    ],\n    \"articles\": [\n      {\n        \"id\": \"<integer>\",\n        \"content\": \"<string>\",\n        \"meta\": {},\n        \"position\": \"<integer>\",\n        \"status\": null,\n        \"title\": \"<string>\",\n        \"slug\": \"<string>\",\n        \"views\": \"<integer>\",\n        \"portal_id\": \"<integer>\",\n        \"account_id\": \"<integer>\",\n        \"author_id\": \"<integer>\",\n        \"category_id\": \"<integer>\",\n        \"folder_id\": \"<integer>\",\n        \"associated_article_id\": \"<integer>\"\n      },\n      {\n        \"id\": \"<integer>\",\n        \"content\": \"<string>\",\n        \"meta\": {},\n        \"position\": \"<integer>\",\n        \"status\": null,\n        \"title\": \"<string>\",\n        \"slug\": \"<string>\",\n        \"views\": \"<integer>\",\n        \"portal_id\": \"<integer>\",\n        \"account_id\": \"<integer>\",\n        \"author_id\": \"<integer>\",\n        \"category_id\": \"<integer>\",\n        \"folder_id\": \"<integer>\",\n        \"associated_article_id\": \"<integer>\"\n      }\n    ]\n  },\n  {\n    \"id\": \"<integer>\",\n    \"archived\": \"<boolean>\",\n    \"color\": \"<string>\",\n    \"config\": {},\n    \"custom_domain\": \"<string>\",\n    \"header_text\": \"<string>\",\n    \"homepage_link\": \"<string>\",\n    \"name\": \"<string>\",\n    \"slug\": \"<string>\",\n    \"page_title\": \"<string>\",\n    \"account_id\": \"<integer>\",\n    \"categories\": [\n      {\n        \"id\": \"<integer>\",\n        \"description\": \"<string>\",\n        \"locale\": \"<string>\",\n        \"name\": \"<string>\",\n        \"slug\": \"<string>\",\n        \"position\": \"<integer>\",\n        \"portal_id\": \"<integer>\",\n        \"account_id\": \"<integer>\",\n        \"associated_category_id\": \"<integer>\",\n        \"parent_category_id\": \"<integer>\"\n      },\n      {\n        \"id\": \"<integer>\",\n        \"description\": \"<string>\",\n        \"locale\": \"<string>\",\n        \"name\": \"<string>\",\n        \"slug\": \"<string>\",\n        \"position\": \"<integer>\",\n        \"portal_id\": \"<integer>\",\n        \"account_id\": \"<integer>\",\n        \"associated_category_id\": \"<integer>\",\n        \"parent_category_id\": \"<integer>\"\n      }\n    ],\n    \"articles\": [\n      {\n        \"id\": \"<integer>\",\n        \"content\": \"<string>\",\n        \"meta\": {},\n        \"position\": \"<integer>\",\n        \"status\": null,\n        \"title\": \"<string>\",\n        \"slug\": \"<string>\",\n        \"views\": \"<integer>\",\n        \"portal_id\": \"<integer>\",\n        \"account_id\": \"<integer>\",\n        \"author_id\": \"<integer>\",\n        \"category_id\": \"<integer>\",\n        \"folder_id\": \"<integer>\",\n        \"associated_article_id\": \"<integer>\"\n      },\n      {\n        \"id\": \"<integer>\",\n        \"content\": \"<string>\",\n        \"meta\": {},\n        \"position\": \"<integer>\",\n        \"status\": null,\n        \"title\": \"<string>\",\n        \"slug\": \"<string>\",\n        \"views\": \"<integer>\",\n        \"portal_id\": \"<integer>\",\n        \"account_id\": \"<integer>\",\n        \"author_id\": \"<integer>\",\n        \"category_id\": \"<integer>\",\n        \"folder_id\": \"<integer>\",\n        \"associated_article_id\": \"<integer>\"\n      }\n    ]\n  }\n]"},{"id":"1830018b-eab3-4ad9-97cb-844805589e04","name":"Access denied","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/portals","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","portals"],"variable":[{"key":"account_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"9fcf7525-d832-45f8-b823-899088118a69"},{"name":"update a new portal","id":"42150d4f-42d6-4779-bc60-9d47391fc61d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"archived\": \"<boolean>\",\n  \"color\": \"<string>\",\n  \"config\": {},\n  \"custom_domain\": \"<string>\",\n  \"header_text\": \"<string>\",\n  \"homepage_link\": \"<string>\",\n  \"name\": \"<string>\",\n  \"slug\": \"<string>\",\n  \"page_title\": \"<string>\",\n  \"account_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/portals","description":"<p>update a new portal to account</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","portals"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"69e1ef44-3859-457f-82de-8c117ceb4ef1","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"ab56f2f8-9d13-4699-a869-1e8b9e9e6054","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"archived\": \"<boolean>\",\n  \"color\": \"<string>\",\n  \"config\": {},\n  \"custom_domain\": \"<string>\",\n  \"header_text\": \"<string>\",\n  \"homepage_link\": \"<string>\",\n  \"name\": \"<string>\",\n  \"slug\": \"<string>\",\n  \"page_title\": \"<string>\",\n  \"account_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/portals","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","portals"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<integer>\",\n  \"archived\": \"<boolean>\",\n  \"color\": \"<string>\",\n  \"config\": {},\n  \"custom_domain\": \"<string>\",\n  \"header_text\": \"<string>\",\n  \"homepage_link\": \"<string>\",\n  \"name\": \"<string>\",\n  \"slug\": \"<string>\",\n  \"page_title\": \"<string>\",\n  \"account_id\": \"<integer>\",\n  \"categories\": [\n    {\n      \"id\": \"<integer>\",\n      \"description\": \"<string>\",\n      \"locale\": \"<string>\",\n      \"name\": \"<string>\",\n      \"slug\": \"<string>\",\n      \"position\": \"<integer>\",\n      \"portal_id\": \"<integer>\",\n      \"account_id\": \"<integer>\",\n      \"associated_category_id\": \"<integer>\",\n      \"parent_category_id\": \"<integer>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"description\": \"<string>\",\n      \"locale\": \"<string>\",\n      \"name\": \"<string>\",\n      \"slug\": \"<string>\",\n      \"position\": \"<integer>\",\n      \"portal_id\": \"<integer>\",\n      \"account_id\": \"<integer>\",\n      \"associated_category_id\": \"<integer>\",\n      \"parent_category_id\": \"<integer>\"\n    }\n  ],\n  \"articles\": [\n    {\n      \"id\": \"<integer>\",\n      \"content\": \"<string>\",\n      \"meta\": {},\n      \"position\": \"<integer>\",\n      \"status\": null,\n      \"title\": \"<string>\",\n      \"slug\": \"<string>\",\n      \"views\": \"<integer>\",\n      \"portal_id\": \"<integer>\",\n      \"account_id\": \"<integer>\",\n      \"author_id\": \"<integer>\",\n      \"category_id\": \"<integer>\",\n      \"folder_id\": \"<integer>\",\n      \"associated_article_id\": \"<integer>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"content\": \"<string>\",\n      \"meta\": {},\n      \"position\": \"<integer>\",\n      \"status\": null,\n      \"title\": \"<string>\",\n      \"slug\": \"<string>\",\n      \"views\": \"<integer>\",\n      \"portal_id\": \"<integer>\",\n      \"account_id\": \"<integer>\",\n      \"author_id\": \"<integer>\",\n      \"category_id\": \"<integer>\",\n      \"folder_id\": \"<integer>\",\n      \"associated_article_id\": \"<integer>\"\n    }\n  ]\n}"},{"id":"720d3d6e-ec17-4a32-9f10-f26ad1bc2ff0","name":"Access denied","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"archived\": \"<boolean>\",\n  \"color\": \"<string>\",\n  \"config\": {},\n  \"custom_domain\": \"<string>\",\n  \"header_text\": \"<string>\",\n  \"homepage_link\": \"<string>\",\n  \"name\": \"<string>\",\n  \"slug\": \"<string>\",\n  \"page_title\": \"<string>\",\n  \"account_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/portals","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","portals"],"variable":[{"key":"account_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"42150d4f-42d6-4779-bc60-9d47391fc61d"}],"id":"d6315fd6-7972-42fd-9791-176fdb8025fd","_postman_id":"d6315fd6-7972-42fd-9791-176fdb8025fd","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"conversations","item":[{"name":"meta","item":[{"name":"Get Conversation Counts","id":"ffe11e25-d096-43e5-8822-3fba0eaa66fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/meta?status=open&q=<string>&inbox_id=<integer>&team_id=<integer>&labels=<string>,<string>","description":"<p>Get open, unassigned and all Conversation counts</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","conversations","meta"],"host":["https://chatapp.backendprod.com"],"query":[{"description":{"content":"<p>Filter by conversation status.</p>\n","type":"text/plain"},"key":"status","value":"open"},{"description":{"content":"<p>Filters conversations with messages containing the search term</p>\n","type":"text/plain"},"key":"q","value":"<string>"},{"key":"inbox_id","value":"<integer>"},{"key":"team_id","value":"<integer>"},{"key":"labels","value":"<string>,<string>"}],"variable":[{"id":"186965e6-0fb9-44c6-a2d2-b220de8ffb9d","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"8c0cbe11-f432-418d-a2bb-b63be237e2f0","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/meta?status=open&q=<string>&inbox_id=<integer>&team_id=<integer>&labels=<string>,<string>","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations","meta"],"query":[{"key":"status","value":"open","description":"Filter by conversation status."},{"key":"q","value":"<string>","description":"Filters conversations with messages containing the search term"},{"key":"inbox_id","value":"<integer>"},{"key":"team_id","value":"<integer>"},{"key":"labels","value":"<string>,<string>"}],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"mine_count\": \"<number>\",\n    \"unassigned_count\": \"<number>\",\n    \"assigned_count\": \"<number>\",\n    \"all_count\": \"<number>\"\n  }\n}"},{"id":"5d5bac09-3ba5-4034-a910-45b39df6250f","name":"Bad Request Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/meta?status=open&q=<string>&inbox_id=<integer>&team_id=<integer>&labels=<string>,<string>","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations","meta"],"query":[{"key":"status","value":"open","description":"Filter by conversation status."},{"key":"q","value":"<string>","description":"Filters conversations with messages containing the search term"},{"key":"inbox_id","value":"<integer>"},{"key":"team_id","value":"<integer>"},{"key":"labels","value":"<string>,<string>"}],"variable":[{"key":"account_id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"description\": \"<string>\",\n  \"errors\": [\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\",\n      \"code\": \"<string>\"\n    },\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\",\n      \"code\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"ffe11e25-d096-43e5-8822-3fba0eaa66fd"}],"id":"450f5d3a-dc4b-4881-8c3d-bcf139beb364","_postman_id":"450f5d3a-dc4b-4881-8c3d-bcf139beb364","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"filter","item":[{"name":"Conversations Filter","id":"c06ba53d-2ad0-4e36-903f-bd5fe3f73027","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"payload\": [\n    {\n      \"attribute_key\": \"<string>\",\n      \"filter_operator\": \"equal_to\",\n      \"values\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"query_operator\": \"OR\"\n    },\n    {\n      \"attribute_key\": \"<string>\",\n      \"filter_operator\": \"not_equal_to\",\n      \"values\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"query_operator\": \"AND\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/filter?page=<integer>","description":"<p>Filter conversations with custom filter options and pagination</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","conversations","filter"],"host":["https://chatapp.backendprod.com"],"query":[{"key":"page","value":"<integer>"}],"variable":[{"id":"13cbb55c-9f26-4459-a175-92c00a9cdb8e","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"98469d61-2570-4efb-badf-bc49e66f1d27","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"payload\": [\n    {\n      \"attribute_key\": \"<string>\",\n      \"filter_operator\": \"equal_to\",\n      \"values\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"query_operator\": \"OR\"\n    },\n    {\n      \"attribute_key\": \"<string>\",\n      \"filter_operator\": \"not_equal_to\",\n      \"values\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"query_operator\": \"AND\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/filter?page=<integer>","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations","filter"],"query":[{"key":"page","value":"<integer>"}],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"meta\": {\n      \"mine_count\": \"<number>\",\n      \"unassigned_count\": \"<number>\",\n      \"assigned_count\": \"<number>\",\n      \"all_count\": \"<number>\"\n    },\n    \"payload\": [\n      {\n        \"id\": \"<number>\",\n        \"messages\": [\n          {\n            \"content\": \"<string>\",\n            \"content_type\": \"cards\",\n            \"content_attributes\": {},\n            \"message_type\": \"outgoing\",\n            \"created_at\": \"<integer>\",\n            \"private\": \"<boolean>\",\n            \"attachment\": {},\n            \"sender\": {},\n            \"conversation_id\": \"<number>\"\n          },\n          {\n            \"content\": \"<string>\",\n            \"content_type\": \"form\",\n            \"content_attributes\": {},\n            \"message_type\": \"template\",\n            \"created_at\": \"<integer>\",\n            \"private\": \"<boolean>\",\n            \"attachment\": {},\n            \"sender\": {},\n            \"conversation_id\": \"<number>\"\n          }\n        ],\n        \"account_id\": \"<number>\",\n        \"inbox_id\": \"<number>\",\n        \"status\": \"resolved\",\n        \"timestamp\": \"<string>\",\n        \"contact_last_seen_at\": \"<string>\",\n        \"agent_last_seen_at\": \"<string>\",\n        \"unread_count\": \"<number>\",\n        \"additional_attributes\": {},\n        \"custom_attributes\": {},\n        \"meta\": {\n          \"sender\": {\n            \"id\": \"<number>\",\n            \"name\": \"<string>\",\n            \"thumbnail\": \"<string>\",\n            \"channel\": \"<string>\"\n          },\n          \"assignee\": {\n            \"id\": \"<number>\",\n            \"uid\": \"<string>\",\n            \"name\": \"<string>\",\n            \"available_name\": \"<string>\",\n            \"display_name\": \"<string>\",\n            \"email\": \"<string>\",\n            \"account_id\": \"<number>\",\n            \"role\": \"administrator\",\n            \"confirmed\": \"<boolean>\",\n            \"custom_attributes\": {},\n            \"accounts\": [\n              {\n                \"id\": \"<number>\",\n                \"name\": \"<string>\",\n                \"role\": \"administrator\"\n              },\n              {\n                \"id\": \"<number>\",\n                \"name\": \"<string>\",\n                \"role\": \"agent\"\n              }\n            ]\n          }\n        }\n      },\n      {\n        \"id\": \"<number>\",\n        \"messages\": [\n          {\n            \"content\": \"<string>\",\n            \"content_type\": \"form\",\n            \"content_attributes\": {},\n            \"message_type\": \"outgoing\",\n            \"created_at\": \"<integer>\",\n            \"private\": \"<boolean>\",\n            \"attachment\": {},\n            \"sender\": {},\n            \"conversation_id\": \"<number>\"\n          },\n          {\n            \"content\": \"<string>\",\n            \"content_type\": \"input_select\",\n            \"content_attributes\": {},\n            \"message_type\": \"incoming\",\n            \"created_at\": \"<integer>\",\n            \"private\": \"<boolean>\",\n            \"attachment\": {},\n            \"sender\": {},\n            \"conversation_id\": \"<number>\"\n          }\n        ],\n        \"account_id\": \"<number>\",\n        \"inbox_id\": \"<number>\",\n        \"status\": \"resolved\",\n        \"timestamp\": \"<string>\",\n        \"contact_last_seen_at\": \"<string>\",\n        \"agent_last_seen_at\": \"<string>\",\n        \"unread_count\": \"<number>\",\n        \"additional_attributes\": {},\n        \"custom_attributes\": {},\n        \"meta\": {\n          \"sender\": {\n            \"id\": \"<number>\",\n            \"name\": \"<string>\",\n            \"thumbnail\": \"<string>\",\n            \"channel\": \"<string>\"\n          },\n          \"assignee\": {\n            \"id\": \"<number>\",\n            \"uid\": \"<string>\",\n            \"name\": \"<string>\",\n            \"available_name\": \"<string>\",\n            \"display_name\": \"<string>\",\n            \"email\": \"<string>\",\n            \"account_id\": \"<number>\",\n            \"role\": \"agent\",\n            \"confirmed\": \"<boolean>\",\n            \"custom_attributes\": {},\n            \"accounts\": [\n              {\n                \"id\": \"<number>\",\n                \"name\": \"<string>\",\n                \"role\": \"agent\"\n              },\n              {\n                \"id\": \"<number>\",\n                \"name\": \"<string>\",\n                \"role\": \"agent\"\n              }\n            ]\n          }\n        }\n      }\n    ]\n  }\n}"},{"id":"fddb449f-4d08-45a1-ac33-e6fc130ad1fc","name":"Bad Request Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"payload\": [\n    {\n      \"attribute_key\": \"<string>\",\n      \"filter_operator\": \"equal_to\",\n      \"values\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"query_operator\": \"OR\"\n    },\n    {\n      \"attribute_key\": \"<string>\",\n      \"filter_operator\": \"not_equal_to\",\n      \"values\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"query_operator\": \"AND\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/filter?page=<integer>","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations","filter"],"query":[{"key":"page","value":"<integer>"}],"variable":[{"key":"account_id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"description\": \"<string>\",\n  \"errors\": [\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\",\n      \"code\": \"<string>\"\n    },\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\",\n      \"code\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"c06ba53d-2ad0-4e36-903f-bd5fe3f73027"}],"id":"9e2b86d9-7eb3-4e02-9d83-126befe26da6","_postman_id":"9e2b86d9-7eb3-4e02-9d83-126befe26da6","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"{conversation_id}","item":[{"name":"toggle_status","item":[{"name":"Toggle Status","id":"735d8e69-2e83-45ad-9819-9072918003f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"status\": \"resolved\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/toggle_status","description":"<p>Toggles the status of the conversation between open and resolved</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","conversations",":conversation_id","toggle_status"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"a9400c4b-b887-4d90-a8aa-904d6ce39dc8","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"88e7a9c0-6653-4cf1-85b8-38441f7518a4","description":{"content":"<p>(Required) The numeric ID of the conversation</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"conversation_id"}]}},"response":[{"id":"d66fc8b0-2dcf-4329-9820-6fce16722a14","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"status\": \"resolved\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/toggle_status","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","toggle_status"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {},\n  \"payload\": {\n    \"success\": \"<boolean>\",\n    \"current_status\": \"open\",\n    \"conversation_id\": \"<number>\"\n  }\n}"},{"id":"3b9966b5-575d-4d72-aaf5-2bda3c5e4042","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"status\": \"resolved\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/toggle_status","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","toggle_status"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"c0dc06cf-cdf5-47f8-9d1a-52f1a8dfd5a5","name":"Conversation not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"status\": \"resolved\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/toggle_status","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","toggle_status"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"735d8e69-2e83-45ad-9819-9072918003f0"}],"id":"581f1d27-dd09-4361-9674-f2fe9c74f2d3","_postman_id":"581f1d27-dd09-4361-9674-f2fe9c74f2d3","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"toggle_priority","item":[{"name":"Toggle Priority","id":"56125686-8919-45dd-81e4-8f756096e1dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"priority\": \"urgent\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/toggle_priority","description":"<p>Toggles the priority of conversation</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","conversations",":conversation_id","toggle_priority"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"0a4d06c6-dbd8-4671-9d0a-aabd52779cfc","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"95d18885-b238-45ba-bcbe-2b19780a242c","description":{"content":"<p>(Required) The numeric ID of the conversation</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"conversation_id"}]}},"response":[{"id":"1f4a0eb6-6f77-42cf-82af-ba2b1cba8392","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"priority\": \"urgent\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/toggle_priority","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","toggle_priority"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"0abbaa09-7b20-402a-aa25-1ee6907d0c2d","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"priority\": \"urgent\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/toggle_priority","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","toggle_priority"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"181db732-8563-4c44-8860-e193c41ed0cc","name":"Conversation not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"priority\": \"urgent\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/toggle_priority","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","toggle_priority"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"56125686-8919-45dd-81e4-8f756096e1dc"}],"id":"c27a487b-8ff1-42c0-ab00-1f39d5ec769b","_postman_id":"c27a487b-8ff1-42c0-ab00-1f39d5ec769b","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"assignments","item":[{"name":"Assign Conversation","id":"7253a2ff-e90e-46bc-97cb-9b82a8574d58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"assignee_id\": \"<number>\",\n  \"team_id\": \"<number>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/assignments","description":"<p>Assign a conversation to an agent or a team</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","conversations",":conversation_id","assignments"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"cbaebcc8-df97-4802-b7fd-51f4a28129f5","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"1d9cdd0d-4b83-4828-8bf2-e1cf2c35861b","description":{"content":"<p>(Required) The numeric ID of the conversation</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"conversation_id"}]}},"response":[{"id":"807eeac8-e0c0-4d62-9d81-4e4204e1c5d8","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"assignee_id\": \"<number>\",\n  \"team_id\": \"<number>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/assignments","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","assignments"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"uid\": \"<string>\",\n  \"name\": \"<string>\",\n  \"available_name\": \"<string>\",\n  \"display_name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"account_id\": \"<number>\",\n  \"role\": \"administrator\",\n  \"confirmed\": \"<boolean>\",\n  \"custom_attributes\": {},\n  \"accounts\": [\n    {\n      \"id\": \"<number>\",\n      \"name\": \"<string>\",\n      \"role\": \"administrator\"\n    },\n    {\n      \"id\": \"<number>\",\n      \"name\": \"<string>\",\n      \"role\": \"agent\"\n    }\n  ]\n}"},{"id":"0ba00f17-d0b6-42d5-a773-14d393348ae6","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"assignee_id\": \"<number>\",\n  \"team_id\": \"<number>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/assignments","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","assignments"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"94313b45-dee3-45b9-a24b-57ded665ce0e","name":"Conversation not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"assignee_id\": \"<number>\",\n  \"team_id\": \"<number>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/assignments","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","assignments"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"7253a2ff-e90e-46bc-97cb-9b82a8574d58"}],"id":"ac24e3ec-8d7c-4954-a49e-2e8c52a959af","_postman_id":"ac24e3ec-8d7c-4954-a49e-2e8c52a959af","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"labels","item":[{"name":"List Labels","id":"25f21b04-e9bb-4504-9fd7-543d43d017a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/labels","description":"<p>Lists all the labels of a conversation</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","conversations",":conversation_id","labels"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"92df90a6-3ca5-4732-a7a7-f673de299620","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"d736e88f-22a2-45fa-8bba-f46d847b1b77","description":{"content":"<p>(Required) The numeric ID of the conversation</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"conversation_id"}]}},"response":[{"id":"cb9db166-8c83-4d1a-84d1-c24738957754","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/labels","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","labels"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"payload\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}"},{"id":"245f3b02-bba2-4715-9370-f21e56b5cac2","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/labels","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","labels"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"e4673bf8-773b-444f-84e0-65eaa642a52a","name":"Conversation not found","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/labels","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","labels"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"25f21b04-e9bb-4504-9fd7-543d43d017a0"},{"name":"Add Labels","id":"0205b669-7dfb-423e-922a-6801aeeb6027","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"labels\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/labels","description":"<p>Add labels to a conversation. Note that this API would overwrite the existing list of labels associated to the conversation.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","conversations",":conversation_id","labels"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"7905052d-4afd-4379-928b-7205458314e1","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"e8ba6089-ab2b-4595-9fe8-3cf644af2994","description":{"content":"<p>(Required) The numeric ID of the conversation</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"conversation_id"}]}},"response":[{"id":"c29ccef1-0cb2-41d5-84d6-fb83b86d4d7f","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"labels\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/labels","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","labels"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"payload\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}"},{"id":"abba348c-39de-479b-9f0f-c1db5049c0ea","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"labels\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/labels","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","labels"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"45630508-542c-4f98-90c1-27542c31332d","name":"Conversation not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"labels\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/labels","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","labels"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"0205b669-7dfb-423e-922a-6801aeeb6027"}],"id":"9bb3aade-a101-400b-a5c0-7a5628108264","_postman_id":"9bb3aade-a101-400b-a5c0-7a5628108264","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"messages","item":[{"name":"{message_id}","item":[{"name":"Delete a message","id":"394a66cd-c7ae-4f1d-8ea0-d184475d6cba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/messages/:message_id","description":"<p>Delete a message and it's attachments from the conversation.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","conversations",":conversation_id","messages",":message_id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"8617216c-40a7-4083-ba5c-e0707d7ef753","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"fa4ac258-0a01-4226-8e86-85566255cb33","description":{"content":"<p>(Required) The numeric ID of the conversation</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"conversation_id"},{"id":"bd3efdd1-5f6d-4859-b2fa-ae1037ec48f4","description":{"content":"<p>(Required) The numeric ID of the message</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"message_id"}]}},"response":[{"id":"607933f3-ce2d-4550-b4b3-4f03ba25789d","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/messages/:message_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","messages",":message_id"],"variable":[{"key":"account_id"},{"key":"conversation_id"},{"key":"message_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"6a52021b-7263-49bf-a152-66b62fc28f47","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/messages/:message_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","messages",":message_id"],"variable":[{"key":"account_id"},{"key":"conversation_id"},{"key":"message_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"8ae2d19a-fcab-46b8-8165-98ec9172b3d9","name":"The message or conversation does not exist in the account","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/messages/:message_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","messages",":message_id"],"variable":[{"key":"account_id"},{"key":"conversation_id"},{"key":"message_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"394a66cd-c7ae-4f1d-8ea0-d184475d6cba"}],"id":"5d260d9f-1d30-43f3-89a9-ce5cef7c51f5","_postman_id":"5d260d9f-1d30-43f3-89a9-ce5cef7c51f5","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"Get messages","id":"3117f2d3-3647-44ad-b9a8-a34c577ef57f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/messages","description":"<p>List all messages of a conversation</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","conversations",":conversation_id","messages"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"4e552905-3770-4419-affa-525e845a249d","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"505ce500-9f64-4999-8bf5-21a704e4e6cf","description":{"content":"<p>(Required) The numeric ID of the conversation</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"conversation_id"}]}},"response":[{"id":"16b8e2c3-c4cf-405d-be06-5339f917584b","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/messages","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","messages"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<number>\",\n    \"content\": \"<string>\",\n    \"content_type\": \"input_select\",\n    \"content_attributes\": {},\n    \"message_type\": \"activity\",\n    \"created_at\": \"<integer>\",\n    \"private\": \"<boolean>\",\n    \"attachment\": {},\n    \"sender\": {},\n    \"conversation_id\": \"<number>\"\n  },\n  {\n    \"id\": \"<number>\",\n    \"content\": \"<string>\",\n    \"content_type\": \"input_select\",\n    \"content_attributes\": {},\n    \"message_type\": \"outgoing\",\n    \"created_at\": \"<integer>\",\n    \"private\": \"<boolean>\",\n    \"attachment\": {},\n    \"sender\": {},\n    \"conversation_id\": \"<number>\"\n  }\n]"},{"id":"a3577202-40b2-4c72-8145-d048a3a1ee29","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/messages","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","messages"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"c47dad93-34c5-46b7-a4c9-855c3ca69573","name":"Conversation not found","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/messages","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","messages"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3117f2d3-3647-44ad-b9a8-a34c577ef57f"},{"name":"Create New Message","id":"68dde86e-f042-4116-9e30-3d5e01377fca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"<string>\",\n  \"message_type\": \"incoming\",\n  \"private\": \"<boolean>\",\n  \"content_type\": \"input_email\",\n  \"content_attributes\": {},\n  \"template_params\": {\n    \"name\": \"<string>\",\n    \"category\": \"<string>\",\n    \"language\": \"<string>\",\n    \"processed_params\": {}\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/messages","description":"<p>Create a new message in the conversation</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","conversations",":conversation_id","messages"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"093123ca-a794-42ab-acf4-faf46a80111f","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"d0b5e71c-dd2b-4f22-a54e-1252c5cd139e","description":{"content":"<p>(Required) The numeric ID of the conversation</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"conversation_id"}]}},"response":[{"id":"27b6a754-b3f9-43bb-a25d-c8a06d70eb12","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"<string>\",\n  \"message_type\": \"incoming\",\n  \"private\": \"<boolean>\",\n  \"content_type\": \"input_email\",\n  \"content_attributes\": {},\n  \"template_params\": {\n    \"name\": \"<string>\",\n    \"category\": \"<string>\",\n    \"language\": \"<string>\",\n    \"processed_params\": {}\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/messages","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","messages"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"content\": \"<string>\",\n  \"content_type\": \"text\",\n  \"content_attributes\": {},\n  \"message_type\": \"template\",\n  \"created_at\": \"<integer>\",\n  \"private\": \"<boolean>\",\n  \"attachment\": {},\n  \"sender\": {},\n  \"conversation_id\": \"<number>\"\n}"},{"id":"08a3626f-e814-43f9-9d65-d32e92cbadf7","name":"Access denied","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"<string>\",\n  \"message_type\": \"incoming\",\n  \"private\": \"<boolean>\",\n  \"content_type\": \"input_email\",\n  \"content_attributes\": {},\n  \"template_params\": {\n    \"name\": \"<string>\",\n    \"category\": \"<string>\",\n    \"language\": \"<string>\",\n    \"processed_params\": {}\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/messages","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","messages"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"9a5b4a47-8235-4043-956b-415f94b80675","name":"Conversation not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"<string>\",\n  \"message_type\": \"incoming\",\n  \"private\": \"<boolean>\",\n  \"content_type\": \"input_email\",\n  \"content_attributes\": {},\n  \"template_params\": {\n    \"name\": \"<string>\",\n    \"category\": \"<string>\",\n    \"language\": \"<string>\",\n    \"processed_params\": {}\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id/messages","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id","messages"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"68dde86e-f042-4116-9e30-3d5e01377fca"}],"id":"f680514c-3255-4557-8ed3-de981b9776fb","_postman_id":"f680514c-3255-4557-8ed3-de981b9776fb","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"Conversation Details","id":"38085600-8bee-43e7-9c3a-68c52ef8940e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id","description":"<p>Get all details regarding a conversation with all messages in the conversation</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","conversations",":conversation_id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"fedbb524-b9e5-42bd-a695-19a64b2e97bb","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"315b613d-64f1-4560-b101-391e913b9735","description":{"content":"<p>(Required) The numeric ID of the conversation</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"conversation_id"}]}},"response":[{"id":"51797eec-92f2-42c0-9e03-bcf8a312415b","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"messages\": [\n    {\n      \"content\": \"<string>\",\n      \"content_type\": \"form\",\n      \"content_attributes\": {},\n      \"message_type\": \"outgoing\",\n      \"created_at\": \"<integer>\",\n      \"private\": \"<boolean>\",\n      \"attachment\": {},\n      \"sender\": {},\n      \"conversation_id\": \"<number>\"\n    },\n    {\n      \"content\": \"<string>\",\n      \"content_type\": \"form\",\n      \"content_attributes\": {},\n      \"message_type\": \"outgoing\",\n      \"created_at\": \"<integer>\",\n      \"private\": \"<boolean>\",\n      \"attachment\": {},\n      \"sender\": {},\n      \"conversation_id\": \"<number>\"\n    }\n  ],\n  \"account_id\": \"<number>\",\n  \"inbox_id\": \"<number>\",\n  \"status\": \"resolved\",\n  \"timestamp\": \"<string>\",\n  \"contact_last_seen_at\": \"<string>\",\n  \"agent_last_seen_at\": \"<string>\",\n  \"unread_count\": \"<number>\",\n  \"additional_attributes\": {},\n  \"custom_attributes\": {},\n  \"meta\": {\n    \"sender\": {\n      \"id\": \"<number>\",\n      \"name\": \"<string>\",\n      \"thumbnail\": \"<string>\",\n      \"channel\": \"<string>\"\n    },\n    \"assignee\": {\n      \"id\": \"<number>\",\n      \"uid\": \"<string>\",\n      \"name\": \"<string>\",\n      \"available_name\": \"<string>\",\n      \"display_name\": \"<string>\",\n      \"email\": \"<string>\",\n      \"account_id\": \"<number>\",\n      \"role\": \"agent\",\n      \"confirmed\": \"<boolean>\",\n      \"custom_attributes\": {},\n      \"accounts\": [\n        {\n          \"id\": \"<number>\",\n          \"name\": \"<string>\",\n          \"role\": \"agent\"\n        },\n        {\n          \"id\": \"<number>\",\n          \"name\": \"<string>\",\n          \"role\": \"agent\"\n        }\n      ]\n    }\n  }\n}"},{"id":"860f4873-0b95-4eb7-be3c-2be87387bd85","name":"Access denied","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"8ab43bd1-13c4-47dd-b145-96b483682b35","name":"Conversation not found","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations/:conversation_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations",":conversation_id"],"variable":[{"key":"account_id"},{"key":"conversation_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"38085600-8bee-43e7-9c3a-68c52ef8940e"}],"id":"a363b8e7-c7e8-41e2-967e-ccaaf204df39","_postman_id":"a363b8e7-c7e8-41e2-967e-ccaaf204df39","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"Conversations List","id":"40d140a2-658c-45dd-91f9-6404e7b294ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations?assignee_type=all&status=open&q=<string>&inbox_id=<integer>&team_id=<integer>&labels=<string>,<string>&page=1","description":"<p>List all the conversations with pagination</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","conversations"],"host":["https://chatapp.backendprod.com"],"query":[{"description":{"content":"<p>Filter conversations by assignee type.</p>\n","type":"text/plain"},"key":"assignee_type","value":"all"},{"description":{"content":"<p>Filter by conversation status.</p>\n","type":"text/plain"},"key":"status","value":"open"},{"description":{"content":"<p>Filters conversations with messages containing the search term</p>\n","type":"text/plain"},"key":"q","value":"<string>"},{"key":"inbox_id","value":"<integer>"},{"key":"team_id","value":"<integer>"},{"key":"labels","value":"<string>,<string>"},{"description":{"content":"<p>paginate through conversations</p>\n","type":"text/plain"},"key":"page","value":"1"}],"variable":[{"id":"128d0afe-4cb6-4d67-8a5a-fe2f0297286e","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"9539f4f8-6b7d-43c5-b832-edbe1a88ba41","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations?assignee_type=all&status=open&q=<string>&inbox_id=<integer>&team_id=<integer>&labels=<string>,<string>&page=1","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations"],"query":[{"key":"assignee_type","value":"all","description":"Filter conversations by assignee type."},{"key":"status","value":"open","description":"Filter by conversation status."},{"key":"q","value":"<string>","description":"Filters conversations with messages containing the search term"},{"key":"inbox_id","value":"<integer>"},{"key":"team_id","value":"<integer>"},{"key":"labels","value":"<string>,<string>"},{"key":"page","value":"1","description":"paginate through conversations"}],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"meta\": {\n      \"mine_count\": \"<number>\",\n      \"unassigned_count\": \"<number>\",\n      \"assigned_count\": \"<number>\",\n      \"all_count\": \"<number>\"\n    },\n    \"payload\": [\n      {\n        \"id\": \"<number>\",\n        \"messages\": [\n          {\n            \"content\": \"<string>\",\n            \"content_type\": \"cards\",\n            \"content_attributes\": {},\n            \"message_type\": \"outgoing\",\n            \"created_at\": \"<integer>\",\n            \"private\": \"<boolean>\",\n            \"attachment\": {},\n            \"sender\": {},\n            \"conversation_id\": \"<number>\"\n          },\n          {\n            \"content\": \"<string>\",\n            \"content_type\": \"form\",\n            \"content_attributes\": {},\n            \"message_type\": \"template\",\n            \"created_at\": \"<integer>\",\n            \"private\": \"<boolean>\",\n            \"attachment\": {},\n            \"sender\": {},\n            \"conversation_id\": \"<number>\"\n          }\n        ],\n        \"account_id\": \"<number>\",\n        \"inbox_id\": \"<number>\",\n        \"status\": \"resolved\",\n        \"timestamp\": \"<string>\",\n        \"contact_last_seen_at\": \"<string>\",\n        \"agent_last_seen_at\": \"<string>\",\n        \"unread_count\": \"<number>\",\n        \"additional_attributes\": {},\n        \"custom_attributes\": {},\n        \"meta\": {\n          \"sender\": {\n            \"id\": \"<number>\",\n            \"name\": \"<string>\",\n            \"thumbnail\": \"<string>\",\n            \"channel\": \"<string>\"\n          },\n          \"assignee\": {\n            \"id\": \"<number>\",\n            \"uid\": \"<string>\",\n            \"name\": \"<string>\",\n            \"available_name\": \"<string>\",\n            \"display_name\": \"<string>\",\n            \"email\": \"<string>\",\n            \"account_id\": \"<number>\",\n            \"role\": \"administrator\",\n            \"confirmed\": \"<boolean>\",\n            \"custom_attributes\": {},\n            \"accounts\": [\n              {\n                \"id\": \"<number>\",\n                \"name\": \"<string>\",\n                \"role\": \"administrator\"\n              },\n              {\n                \"id\": \"<number>\",\n                \"name\": \"<string>\",\n                \"role\": \"agent\"\n              }\n            ]\n          }\n        }\n      },\n      {\n        \"id\": \"<number>\",\n        \"messages\": [\n          {\n            \"content\": \"<string>\",\n            \"content_type\": \"form\",\n            \"content_attributes\": {},\n            \"message_type\": \"outgoing\",\n            \"created_at\": \"<integer>\",\n            \"private\": \"<boolean>\",\n            \"attachment\": {},\n            \"sender\": {},\n            \"conversation_id\": \"<number>\"\n          },\n          {\n            \"content\": \"<string>\",\n            \"content_type\": \"input_select\",\n            \"content_attributes\": {},\n            \"message_type\": \"incoming\",\n            \"created_at\": \"<integer>\",\n            \"private\": \"<boolean>\",\n            \"attachment\": {},\n            \"sender\": {},\n            \"conversation_id\": \"<number>\"\n          }\n        ],\n        \"account_id\": \"<number>\",\n        \"inbox_id\": \"<number>\",\n        \"status\": \"resolved\",\n        \"timestamp\": \"<string>\",\n        \"contact_last_seen_at\": \"<string>\",\n        \"agent_last_seen_at\": \"<string>\",\n        \"unread_count\": \"<number>\",\n        \"additional_attributes\": {},\n        \"custom_attributes\": {},\n        \"meta\": {\n          \"sender\": {\n            \"id\": \"<number>\",\n            \"name\": \"<string>\",\n            \"thumbnail\": \"<string>\",\n            \"channel\": \"<string>\"\n          },\n          \"assignee\": {\n            \"id\": \"<number>\",\n            \"uid\": \"<string>\",\n            \"name\": \"<string>\",\n            \"available_name\": \"<string>\",\n            \"display_name\": \"<string>\",\n            \"email\": \"<string>\",\n            \"account_id\": \"<number>\",\n            \"role\": \"agent\",\n            \"confirmed\": \"<boolean>\",\n            \"custom_attributes\": {},\n            \"accounts\": [\n              {\n                \"id\": \"<number>\",\n                \"name\": \"<string>\",\n                \"role\": \"agent\"\n              },\n              {\n                \"id\": \"<number>\",\n                \"name\": \"<string>\",\n                \"role\": \"agent\"\n              }\n            ]\n          }\n        }\n      }\n    ]\n  }\n}"},{"id":"7a238f93-8a68-49d3-bf46-67389f33cdce","name":"Bad Request Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations?assignee_type=all&status=open&q=<string>&inbox_id=<integer>&team_id=<integer>&labels=<string>,<string>&page=1","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations"],"query":[{"key":"assignee_type","value":"all","description":"Filter conversations by assignee type."},{"key":"status","value":"open","description":"Filter by conversation status."},{"key":"q","value":"<string>","description":"Filters conversations with messages containing the search term"},{"key":"inbox_id","value":"<integer>"},{"key":"team_id","value":"<integer>"},{"key":"labels","value":"<string>,<string>"},{"key":"page","value":"1","description":"paginate through conversations"}],"variable":[{"key":"account_id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"description\": \"<string>\",\n  \"errors\": [\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\",\n      \"code\": \"<string>\"\n    },\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\",\n      \"code\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"40d140a2-658c-45dd-91f9-6404e7b294ea"},{"name":"Create New Conversation","id":"bf2cbb32-0ba8-4adb-a486-2f12053ae881","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"source_id\": \"<string>\",\n  \"inbox_id\": \"<string>\",\n  \"contact_id\": \"<string>\",\n  \"additional_attributes\": {},\n  \"custom_attributes\": {},\n  \"status\": \"open\",\n  \"assignee_id\": \"<string>\",\n  \"team_id\": \"<string>\",\n  \"message\": {\n    \"content\": \"<string>\",\n    \"template_params\": {\n      \"name\": \"<string>\",\n      \"category\": \"<string>\",\n      \"language\": \"<string>\",\n      \"processed_params\": {}\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations","description":"<p>Creating a conversation in chatwoot requires a source id. </p>\n<p> Learn more about source_id: <a href=\"https://github.com/chatwoot/chatwoot/wiki/Building-on-Top-of-Chatwoot:-Importing-Existing-Contacts-and-Creating-Conversations\">https://github.com/chatwoot/chatwoot/wiki/Building-on-Top-of-Chatwoot:-Importing-Existing-Contacts-and-Creating-Conversations</a></p>\n","urlObject":{"path":["api","v1","accounts",":account_id","conversations"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"69b82770-1fc0-4598-a92f-1ed1b19131ab","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"a5d90a92-d85f-4231-8acc-48835d82d516","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"source_id\": \"<string>\",\n  \"inbox_id\": \"<string>\",\n  \"contact_id\": \"<string>\",\n  \"additional_attributes\": {},\n  \"custom_attributes\": {},\n  \"status\": \"open\",\n  \"assignee_id\": \"<string>\",\n  \"team_id\": \"<string>\",\n  \"message\": {\n    \"content\": \"<string>\",\n    \"template_params\": {\n      \"name\": \"<string>\",\n      \"category\": \"<string>\",\n      \"language\": \"<string>\",\n      \"processed_params\": {}\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"account_id\": \"<number>\",\n  \"inbox_id\": \"<number>\"\n}"},{"id":"e73620d9-6cb1-4d3e-a205-96c28444fe1f","name":"Access denied","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"source_id\": \"<string>\",\n  \"inbox_id\": \"<string>\",\n  \"contact_id\": \"<string>\",\n  \"additional_attributes\": {},\n  \"custom_attributes\": {},\n  \"status\": \"open\",\n  \"assignee_id\": \"<string>\",\n  \"team_id\": \"<string>\",\n  \"message\": {\n    \"content\": \"<string>\",\n    \"template_params\": {\n      \"name\": \"<string>\",\n      \"category\": \"<string>\",\n      \"language\": \"<string>\",\n      \"processed_params\": {}\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/conversations","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","conversations"],"variable":[{"key":"account_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"bf2cbb32-0ba8-4adb-a486-2f12053ae881"}],"id":"68e7de37-90cf-44d6-8ed1-a7a7b828e73e","_postman_id":"68e7de37-90cf-44d6-8ed1-a7a7b828e73e","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"inboxes","item":[{"name":"{id}","item":[{"name":"agent_bot","item":[{"name":"Show Inbox Agent Bot","id":"488d57cc-b76b-4c31-9f29-9760838841de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes/:id/agent_bot","description":"<p>See if an agent bot is associated to the Inbox</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","inboxes",":id","agent_bot"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"bde76770-808b-4586-9dad-a48b5e05ea38","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"6c5df7df-c467-4240-9956-a96cde496a29","description":{"content":"<p>(Required) ID of the inbox</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"id"}]}},"response":[{"id":"591ac8a4-56a1-4edf-85a1-7a2b3d598bf6","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes/:id/agent_bot","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inboxes",":id","agent_bot"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"account_id\": \"<number>\",\n  \"outgoing_url\": \"<string>\"\n}"},{"id":"293f7eaa-85db-44f1-be17-6e627ffb1bbb","name":"Access denied","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes/:id/agent_bot","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inboxes",":id","agent_bot"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"692004c0-67e7-43ee-97af-a4c755156420","name":"Inbox not found, Agent bot not found","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes/:id/agent_bot","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inboxes",":id","agent_bot"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"488d57cc-b76b-4c31-9f29-9760838841de"}],"id":"4e877483-a4eb-4320-8672-c58acc4fb101","_postman_id":"4e877483-a4eb-4320-8672-c58acc4fb101","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"set_agent_bot","item":[{"name":"Add or remove agent bot","id":"028016b3-0eea-48d2-a3b9-24b2a7501e46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"agent_bot\": \"<number>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes/:id/set_agent_bot","description":"<p>To add an agent bot pass agent_bot id, to remove agent bot from an inbox pass null</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","inboxes",":id","set_agent_bot"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"e3e4e495-a10b-491c-ae32-ebc3e7685f95","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"65ec36c3-5cec-4c6f-a7b4-f0a03ebc897d","description":{"content":"<p>(Required) ID of the inbox</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"id"}]}},"response":[{"id":"aef5a747-1c68-464e-8e51-071169dc209c","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"agent_bot\": \"<number>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes/:id/set_agent_bot","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inboxes",":id","set_agent_bot"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"ed71759a-208a-469e-8b70-22f736487cb3","name":"Access denied","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"agent_bot\": \"<number>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes/:id/set_agent_bot","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inboxes",":id","set_agent_bot"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"96d0e612-fd3c-4200-8ef8-46c3e5d6641b","name":"Inbox not found, Agent bot not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"agent_bot\": \"<number>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes/:id/set_agent_bot","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inboxes",":id","set_agent_bot"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"028016b3-0eea-48d2-a3b9-24b2a7501e46"}],"id":"fb02fa1c-c215-4ab0-a67d-354bab034e42","_postman_id":"fb02fa1c-c215-4ab0-a67d-354bab034e42","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"Get an inbox","id":"2c78f1ec-1d9c-4d38-87cb-8ce6d8204254","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes/:id/","description":"<p>Get an inbox available in the current account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","inboxes",":id",""],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"952db42b-f7d6-4d91-ad18-b373804e36e4","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"93445859-42e7-4482-b968-50b136b73731","description":{"content":"<p>(Required) ID of the inbox</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"id"}]}},"response":[{"id":"2c1938dd-7825-4f03-8d7c-66016ae95a61","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes/:id/","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inboxes",":id",""],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"name\": \"<string>\",\n  \"website_url\": \"<string>\",\n  \"channel_type\": \"<string>\",\n  \"avatar_url\": \"<string>\",\n  \"widget_color\": \"<string>\",\n  \"website_token\": \"<string>\",\n  \"enable_auto_assignment\": \"<boolean>\",\n  \"web_widget_script\": \"<string>\",\n  \"welcome_title\": \"<string>\",\n  \"welcome_tagline\": \"<string>\",\n  \"greeting_enabled\": \"<boolean>\",\n  \"greeting_message\": \"<string>\"\n}"},{"id":"148cc9e8-38c5-4b6c-96ed-5cf0c9b49e59","name":"Access denied","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes/:id/","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inboxes",":id",""],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"4bda780d-dfcc-4797-ace7-bf18a00e12b6","name":"Inbox not found","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes/:id/","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inboxes",":id",""],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"2c78f1ec-1d9c-4d38-87cb-8ce6d8204254"},{"name":"Update Inbox","id":"9f6ac5d1-851f-4fda-ae81-47199b4e1ba3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"enable_auto_assignment\": \"<boolean>\",\n  \"name\": \"<string>\",\n  \"avatar\": \"<binary>\",\n  \"channel\": {\n    \"website_url\": \"<string>\",\n    \"welcome_title\": \"<string>\",\n    \"welcome_tagline\": \"<string>\",\n    \"agent_away_message\": \"<string>\",\n    \"widget_color\": \"<string>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes/:id","description":"<p>Add avatar and disable auto assignment for an inbox</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","inboxes",":id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"e5e1eba3-db59-4f70-b52c-55c9b4c85c9c","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"3136af56-5409-41cf-bb99-f10f1dab612c","description":{"content":"<p>(Required) ID of the inbox</p>\n","type":"text/plain"},"type":"any","value":"<number>","key":"id"}]}},"response":[{"id":"d45c7ae4-f82b-4145-9411-5adfb884a4af","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"enable_auto_assignment\": \"<boolean>\",\n  \"name\": \"<string>\",\n  \"avatar\": \"<binary>\",\n  \"channel\": {\n    \"website_url\": \"<string>\",\n    \"welcome_title\": \"<string>\",\n    \"welcome_tagline\": \"<string>\",\n    \"agent_away_message\": \"<string>\",\n    \"widget_color\": \"<string>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inboxes",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"name\": \"<string>\",\n  \"website_url\": \"<string>\",\n  \"channel_type\": \"<string>\",\n  \"avatar_url\": \"<string>\",\n  \"widget_color\": \"<string>\",\n  \"website_token\": \"<string>\",\n  \"enable_auto_assignment\": \"<boolean>\",\n  \"web_widget_script\": \"<string>\",\n  \"welcome_title\": \"<string>\",\n  \"welcome_tagline\": \"<string>\",\n  \"greeting_enabled\": \"<boolean>\",\n  \"greeting_message\": \"<string>\"\n}"},{"id":"9cb04c0a-9849-4a05-aa61-90ac6c9da498","name":"Access denied","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"enable_auto_assignment\": \"<boolean>\",\n  \"name\": \"<string>\",\n  \"avatar\": \"<binary>\",\n  \"channel\": {\n    \"website_url\": \"<string>\",\n    \"welcome_title\": \"<string>\",\n    \"welcome_tagline\": \"<string>\",\n    \"agent_away_message\": \"<string>\",\n    \"widget_color\": \"<string>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inboxes",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"28142356-1ad1-42ea-8814-f9d7d465a116","name":"Inbox not found","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"enable_auto_assignment\": \"<boolean>\",\n  \"name\": \"<string>\",\n  \"avatar\": \"<binary>\",\n  \"channel\": {\n    \"website_url\": \"<string>\",\n    \"welcome_title\": \"<string>\",\n    \"welcome_tagline\": \"<string>\",\n    \"agent_away_message\": \"<string>\",\n    \"widget_color\": \"<string>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes/:id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inboxes",":id"],"variable":[{"key":"account_id"},{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"9f6ac5d1-851f-4fda-ae81-47199b4e1ba3"}],"id":"9cc7ee5b-d83e-46bc-95eb-3cc79cfa1ba1","_postman_id":"9cc7ee5b-d83e-46bc-95eb-3cc79cfa1ba1","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"List all inboxes","id":"be3a96b0-4d2d-4886-a19c-a732c234d031","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes","description":"<p>List all inboxes available in the current account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","inboxes"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"417028dc-486f-4c6d-b873-d7b664dd8827","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"e4b0a438-b932-47da-8b8b-b1584e54f9be","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inboxes"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<number>\",\n    \"name\": \"<string>\",\n    \"website_url\": \"<string>\",\n    \"channel_type\": \"<string>\",\n    \"avatar_url\": \"<string>\",\n    \"widget_color\": \"<string>\",\n    \"website_token\": \"<string>\",\n    \"enable_auto_assignment\": \"<boolean>\",\n    \"web_widget_script\": \"<string>\",\n    \"welcome_title\": \"<string>\",\n    \"welcome_tagline\": \"<string>\",\n    \"greeting_enabled\": \"<boolean>\",\n    \"greeting_message\": \"<string>\"\n  },\n  {\n    \"id\": \"<number>\",\n    \"name\": \"<string>\",\n    \"website_url\": \"<string>\",\n    \"channel_type\": \"<string>\",\n    \"avatar_url\": \"<string>\",\n    \"widget_color\": \"<string>\",\n    \"website_token\": \"<string>\",\n    \"enable_auto_assignment\": \"<boolean>\",\n    \"web_widget_script\": \"<string>\",\n    \"welcome_title\": \"<string>\",\n    \"welcome_tagline\": \"<string>\",\n    \"greeting_enabled\": \"<boolean>\",\n    \"greeting_message\": \"<string>\"\n  }\n]"},{"id":"b2f413ad-4696-4cff-92d8-5f76ad2789a0","name":"Access denied","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inboxes"],"variable":[{"key":"account_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"31a5689f-8628-4b14-bab1-b6616c8eb90c","name":"Inbox not found","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inboxes"],"variable":[{"key":"account_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"be3a96b0-4d2d-4886-a19c-a732c234d031"},{"name":"Create an inbox","id":"20b04e4b-52cc-4b85-ac80-a3476076c332","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"avatar\": \"<binary>\",\n  \"channel\": {\n    \"type\": \"web_widget\",\n    \"website_url\": \"<string>\",\n    \"welcome_title\": \"<string>\",\n    \"welcome_tagline\": \"<string>\",\n    \"agent_away_message\": \"<string>\",\n    \"widget_color\": \"<string>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes/","description":"<p>You can create more than one website inbox in each account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","inboxes",""],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"4d3a895f-2abe-4092-aad5-bac8fdeea4e3","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"409e7c18-e30e-475e-930a-18bf79e6528d","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"avatar\": \"<binary>\",\n  \"channel\": {\n    \"type\": \"web_widget\",\n    \"website_url\": \"<string>\",\n    \"welcome_title\": \"<string>\",\n    \"welcome_tagline\": \"<string>\",\n    \"agent_away_message\": \"<string>\",\n    \"widget_color\": \"<string>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes/","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inboxes",""],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"name\": \"<string>\",\n  \"website_url\": \"<string>\",\n  \"channel_type\": \"<string>\",\n  \"avatar_url\": \"<string>\",\n  \"widget_color\": \"<string>\",\n  \"website_token\": \"<string>\",\n  \"enable_auto_assignment\": \"<boolean>\",\n  \"web_widget_script\": \"<string>\",\n  \"welcome_title\": \"<string>\",\n  \"welcome_tagline\": \"<string>\",\n  \"greeting_enabled\": \"<boolean>\",\n  \"greeting_message\": \"<string>\"\n}"},{"id":"43311e26-445c-4c88-9050-263f3f70c670","name":"Access denied","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"avatar\": \"<binary>\",\n  \"channel\": {\n    \"type\": \"web_widget\",\n    \"website_url\": \"<string>\",\n    \"welcome_title\": \"<string>\",\n    \"welcome_tagline\": \"<string>\",\n    \"agent_away_message\": \"<string>\",\n    \"widget_color\": \"<string>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes/","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inboxes",""],"variable":[{"key":"account_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"c6320854-3c22-40fd-b964-665e618110ab","name":"Inbox not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"avatar\": \"<binary>\",\n  \"channel\": {\n    \"type\": \"web_widget\",\n    \"website_url\": \"<string>\",\n    \"welcome_title\": \"<string>\",\n    \"welcome_tagline\": \"<string>\",\n    \"agent_away_message\": \"<string>\",\n    \"widget_color\": \"<string>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inboxes/","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inboxes",""],"variable":[{"key":"account_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"20b04e4b-52cc-4b85-ac80-a3476076c332"}],"id":"e46e317b-1cef-4b13-805f-ab63e5eb9f39","_postman_id":"e46e317b-1cef-4b13-805f-ab63e5eb9f39","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"inbox_members","item":[{"name":"{inbox_id}","item":[{"name":"List Agents in Inbox","id":"07cb898d-b508-43bb-ac41-968540329cfc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inbox_members/:inbox_id","description":"<p>Get Details of Agents in an Inbox</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","inbox_members",":inbox_id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"849ffc5f-ea1d-48e8-9612-5af201782231","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"6a0e42cd-7023-4602-848b-00de89e36026","description":{"content":"<p>(Required) The ID of the Inbox</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"inbox_id"}]}},"response":[{"id":"b730cb93-1a80-43d5-a2a9-a7902d864d30","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inbox_members/:inbox_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inbox_members",":inbox_id"],"variable":[{"key":"account_id"},{"key":"inbox_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<integer>\",\n    \"uid\": \"<string>\",\n    \"name\": \"<string>\",\n    \"available_name\": \"<string>\",\n    \"display_name\": \"<string>\",\n    \"email\": \"<string>\",\n    \"account_id\": \"<integer>\",\n    \"role\": \"agent\",\n    \"confirmed\": \"<boolean>\",\n    \"availability_status\": \"busy\",\n    \"auto_offline\": \"<boolean>\",\n    \"custom_attributes\": {}\n  },\n  {\n    \"id\": \"<integer>\",\n    \"uid\": \"<string>\",\n    \"name\": \"<string>\",\n    \"available_name\": \"<string>\",\n    \"display_name\": \"<string>\",\n    \"email\": \"<string>\",\n    \"account_id\": \"<integer>\",\n    \"role\": \"administrator\",\n    \"confirmed\": \"<boolean>\",\n    \"availability_status\": \"available\",\n    \"auto_offline\": \"<boolean>\",\n    \"custom_attributes\": {}\n  }\n]"},{"id":"9802b65a-e07a-4a90-a136-6230c9747dba","name":"Access denied","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inbox_members/:inbox_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inbox_members",":inbox_id"],"variable":[{"key":"account_id"},{"key":"inbox_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"4444ee0c-9c4b-4f27-b733-219975565a86","name":"Inbox not found","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inbox_members/:inbox_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inbox_members",":inbox_id"],"variable":[{"key":"account_id"},{"key":"inbox_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"07cb898d-b508-43bb-ac41-968540329cfc"}],"id":"f31cc377-0fd0-4e40-9ae1-cf2d9b06c8d0","_postman_id":"f31cc377-0fd0-4e40-9ae1-cf2d9b06c8d0","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"Add a New Agent","id":"ca907b75-1370-498e-a365-6a9254588803","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<string>\",\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inbox_members","description":"<p>Add a new Agent to Inbox</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","inbox_members"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"36d92d8d-0489-4ad4-aa56-9bbb9d7fd6c8","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"b4f2969a-d432-4b51-a49e-1df7baa06fe2","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<string>\",\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inbox_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inbox_members"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<integer>\",\n    \"uid\": \"<string>\",\n    \"name\": \"<string>\",\n    \"available_name\": \"<string>\",\n    \"display_name\": \"<string>\",\n    \"email\": \"<string>\",\n    \"account_id\": \"<integer>\",\n    \"role\": \"agent\",\n    \"confirmed\": \"<boolean>\",\n    \"availability_status\": \"busy\",\n    \"auto_offline\": \"<boolean>\",\n    \"custom_attributes\": {}\n  },\n  {\n    \"id\": \"<integer>\",\n    \"uid\": \"<string>\",\n    \"name\": \"<string>\",\n    \"available_name\": \"<string>\",\n    \"display_name\": \"<string>\",\n    \"email\": \"<string>\",\n    \"account_id\": \"<integer>\",\n    \"role\": \"administrator\",\n    \"confirmed\": \"<boolean>\",\n    \"availability_status\": \"available\",\n    \"auto_offline\": \"<boolean>\",\n    \"custom_attributes\": {}\n  }\n]"},{"id":"8ad2b03f-0323-4787-99e6-7ce83ed5e312","name":"Access denied","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<string>\",\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inbox_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inbox_members"],"variable":[{"key":"account_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"c88f99b7-a8c6-41c5-9862-ac494cc802b2","name":"Inbox not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<string>\",\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inbox_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inbox_members"],"variable":[{"key":"account_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"7f9eb26e-642a-4ad9-9033-04e607a0507f","name":"User must exist","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<string>\",\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inbox_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inbox_members"],"variable":[{"key":"account_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"ca907b75-1370-498e-a365-6a9254588803"},{"name":"Update Agents in Inbox","id":"1e2bb704-67d9-47b2-a1d1-9ffdef9103b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<string>\",\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inbox_members","description":"<p>All agents except the one passed in params will be removed</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","inbox_members"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"a30e706a-055b-4eae-bb0b-a410273725c2","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"752273a7-35b4-407f-b789-9fa46cbde3c4","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<string>\",\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inbox_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inbox_members"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<integer>\",\n    \"uid\": \"<string>\",\n    \"name\": \"<string>\",\n    \"available_name\": \"<string>\",\n    \"display_name\": \"<string>\",\n    \"email\": \"<string>\",\n    \"account_id\": \"<integer>\",\n    \"role\": \"agent\",\n    \"confirmed\": \"<boolean>\",\n    \"availability_status\": \"busy\",\n    \"auto_offline\": \"<boolean>\",\n    \"custom_attributes\": {}\n  },\n  {\n    \"id\": \"<integer>\",\n    \"uid\": \"<string>\",\n    \"name\": \"<string>\",\n    \"available_name\": \"<string>\",\n    \"display_name\": \"<string>\",\n    \"email\": \"<string>\",\n    \"account_id\": \"<integer>\",\n    \"role\": \"administrator\",\n    \"confirmed\": \"<boolean>\",\n    \"availability_status\": \"available\",\n    \"auto_offline\": \"<boolean>\",\n    \"custom_attributes\": {}\n  }\n]"},{"id":"34e829cc-5fdb-4fd1-878a-aa07b38a4276","name":"Access denied","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<string>\",\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inbox_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inbox_members"],"variable":[{"key":"account_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"ad24bd53-cb4f-466e-be41-d6a16be49002","name":"Inbox not found","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<string>\",\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inbox_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inbox_members"],"variable":[{"key":"account_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"639ccc73-75bb-4d17-8d59-e6c7f256729d","name":"User must exist","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<string>\",\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inbox_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inbox_members"],"variable":[{"key":"account_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"1e2bb704-67d9-47b2-a1d1-9ffdef9103b6"},{"name":"Remove an Agent from Inbox","id":"538d7dad-40e0-432b-8636-4f51fb3769da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<string>\",\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inbox_members","description":"<p>Remove an Agent from Inbox</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","inbox_members"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"a9404a7c-4d8d-4683-8377-52fb39a7732d","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"778739db-c158-4bc0-a691-bfc199cb4376","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<string>\",\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inbox_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inbox_members"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"e27949dd-aa08-4716-b2db-e1824c5c5eea","name":"Access denied","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<string>\",\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inbox_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inbox_members"],"variable":[{"key":"account_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"9e1940a6-7c29-480a-9bd8-70c08215b204","name":"Inbox not found","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<string>\",\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inbox_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inbox_members"],"variable":[{"key":"account_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"e138d627-101e-4292-9968-5881efa5b02e","name":"User must exist","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"inbox_id\": \"<string>\",\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/inbox_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","inbox_members"],"variable":[{"key":"account_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"538d7dad-40e0-432b-8636-4f51fb3769da"}],"id":"80fefce0-9bd7-43d5-8e0a-68eeb9c3217f","_postman_id":"80fefce0-9bd7-43d5-8e0a-68eeb9c3217f","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"integrations","item":[{"name":"apps","item":[{"name":"List all the Integrations","id":"7d696c43-0327-48bb-b07c-74184f1ab88e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/integrations/apps","description":"<p>Get the details of all Integrations available for the account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","integrations","apps"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"92dbc4fd-3dfb-49f9-a578-6796e012c79d","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"c14fa608-0969-46b2-a3f5-44fd197190a4","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/integrations/apps","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","integrations","apps"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<string>\",\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"hook_type\": \"<string>\",\n    \"enabled\": \"<boolean>\",\n    \"allow_multiple_hooks\": \"<boolean>\"\n  },\n  {\n    \"id\": \"<string>\",\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"hook_type\": \"<string>\",\n    \"enabled\": \"<boolean>\",\n    \"allow_multiple_hooks\": \"<boolean>\"\n  }\n]"},{"id":"0d7ac331-14ec-4804-b51b-0e3147853b5a","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/integrations/apps","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","integrations","apps"],"variable":[{"key":"account_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"cc7ac8f3-3081-4e51-a58b-7c6c767b4a98","name":"Url not found","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/integrations/apps","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","integrations","apps"],"variable":[{"key":"account_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"7d696c43-0327-48bb-b07c-74184f1ab88e"}],"id":"810cfac1-b80b-4206-94b1-a51cede41ee2","_postman_id":"810cfac1-b80b-4206-94b1-a51cede41ee2","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"hooks","item":[{"name":"{hook_id}","item":[{"name":"Update an Integration Hook","id":"799834c2-e83f-4add-94c0-0fc078f327b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"settings\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/integrations/hooks/:hook_id","description":"<p>Update an Integration Hook</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","integrations","hooks",":hook_id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"c61559ab-ac96-4845-9af9-952f7f5cf91d","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"7c8ee2cf-c737-4096-8954-51cc97d2af80","description":{"content":"<p>(Required) The numeric ID of the integration hook</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"hook_id"}]}},"response":[{"id":"567d4dc9-2cc0-4a12-a800-be02f5074e36","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"settings\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/integrations/hooks/:hook_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","integrations","hooks",":hook_id"],"variable":[{"key":"account_id"},{"key":"hook_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"app_id\": \"<string>\",\n  \"inbox_id\": \"<string>\",\n  \"account_id\": \"<string>\",\n  \"status\": \"<boolean>\",\n  \"hook_type\": \"<boolean>\",\n  \"settings\": {}\n}"},{"id":"59b46a56-43d0-45c6-a809-4b8f49eba4f5","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"settings\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/integrations/hooks/:hook_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","integrations","hooks",":hook_id"],"variable":[{"key":"account_id"},{"key":"hook_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"799834c2-e83f-4add-94c0-0fc078f327b8"},{"name":"Delete an Integration Hook","id":"ff7e5203-68df-4658-b80c-f904de4a1b8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/integrations/hooks/:hook_id","description":"<p>Delete an Integration Hook</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","integrations","hooks",":hook_id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"3881166c-d19d-4a3a-84d6-86e303203f13","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"502dfd48-2694-42d9-b1fc-de9646e318b3","description":{"content":"<p>(Required) The numeric ID of the integration hook</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"hook_id"}]}},"response":[{"id":"d5cd26b7-4ed5-4b1d-8fe3-fa519be7bf2a","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/integrations/hooks/:hook_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","integrations","hooks",":hook_id"],"variable":[{"key":"account_id"},{"key":"hook_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"c01bf6e6-183e-4f39-ba7e-366c14940523","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/integrations/hooks/:hook_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","integrations","hooks",":hook_id"],"variable":[{"key":"account_id"},{"key":"hook_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"773b7b64-46dc-42e1-8681-e295345692fd","name":"The hook does not exist in the account","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/integrations/hooks/:hook_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","integrations","hooks",":hook_id"],"variable":[{"key":"account_id"},{"key":"hook_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"ff7e5203-68df-4658-b80c-f904de4a1b8d"}],"id":"6c52f907-7c42-4044-9a74-1bd129b09509","_postman_id":"6c52f907-7c42-4044-9a74-1bd129b09509","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"Create an integration hook","id":"5e06aaab-3f9f-48ea-b056-4cd85192ff69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"app_id\": \"<string>\",\n  \"inbox_id\": \"<string>\",\n  \"settings\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/integrations/hooks","description":"<p>Create an integration hook</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","integrations","hooks"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"85f724f2-0c87-462f-80dc-8b4a90d9c23f","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"7ecad8c8-a558-401b-8396-0bca2bfd983b","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"app_id\": \"<string>\",\n  \"inbox_id\": \"<string>\",\n  \"settings\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/integrations/hooks","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","integrations","hooks"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"app_id\": \"<string>\",\n  \"inbox_id\": \"<string>\",\n  \"account_id\": \"<string>\",\n  \"status\": \"<boolean>\",\n  \"hook_type\": \"<boolean>\",\n  \"settings\": {}\n}"},{"id":"2ef554d0-bed0-4cfc-9496-d05fc38228da","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"app_id\": \"<string>\",\n  \"inbox_id\": \"<string>\",\n  \"settings\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/integrations/hooks","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","integrations","hooks"],"variable":[{"key":"account_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"5e06aaab-3f9f-48ea-b056-4cd85192ff69"}],"id":"5c08016a-1b1e-4dd8-abd9-4a073a19b65c","_postman_id":"5c08016a-1b1e-4dd8-abd9-4a073a19b65c","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}}],"id":"220e1283-2b7b-43c6-9882-ef7c7bdddb92","_postman_id":"220e1283-2b7b-43c6-9882-ef7c7bdddb92","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"teams","item":[{"name":"{team_id}","item":[{"name":"team_members","item":[{"name":"List Agents in Team","id":"bbe2c762-2e41-45ae-b561-e5c2f42f7ce0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id/team_members","description":"<p>Get Details of Agents in an Team</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","teams",":team_id","team_members"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"9a6c1d8e-e190-4fde-839e-3db6ee4c4770","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"195beec9-605b-4ce4-af15-41c911e6d6ed","description":{"content":"<p>(Required) The ID of the team to be updated</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"team_id"}]}},"response":[{"id":"e6774faa-6dab-45d0-abaa-2d564ba594ac","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id/team_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id","team_members"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<integer>\",\n    \"uid\": \"<string>\",\n    \"name\": \"<string>\",\n    \"available_name\": \"<string>\",\n    \"display_name\": \"<string>\",\n    \"email\": \"<string>\",\n    \"account_id\": \"<integer>\",\n    \"role\": \"administrator\",\n    \"confirmed\": \"<boolean>\",\n    \"availability_status\": \"available\",\n    \"auto_offline\": \"<boolean>\",\n    \"custom_attributes\": {}\n  },\n  {\n    \"id\": \"<integer>\",\n    \"uid\": \"<string>\",\n    \"name\": \"<string>\",\n    \"available_name\": \"<string>\",\n    \"display_name\": \"<string>\",\n    \"email\": \"<string>\",\n    \"account_id\": \"<integer>\",\n    \"role\": \"agent\",\n    \"confirmed\": \"<boolean>\",\n    \"availability_status\": \"offline\",\n    \"auto_offline\": \"<boolean>\",\n    \"custom_attributes\": {}\n  }\n]"},{"id":"5b64122c-ee64-42ba-9666-cd53ccf0fd36","name":"Access denied","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id/team_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id","team_members"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"42816bd0-e930-44d3-a737-fcf69aa44640","name":"Inbox not found","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id/team_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id","team_members"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"bbe2c762-2e41-45ae-b561-e5c2f42f7ce0"},{"name":"Add a New Agent","id":"e8d7b609-1528-4738-9c7b-a7cc42d05b33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id/team_members","description":"<p>Add a new Agent to Team</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","teams",":team_id","team_members"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"baebae35-4a8e-4014-b2c3-c5516680721c","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"e9877ae9-c14b-483c-a5cf-3f493965250b","description":{"content":"<p>(Required) The ID of the team to be updated</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"team_id"}]}},"response":[{"id":"3aea81b2-13de-4488-ac6b-76f757ae48c6","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id/team_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id","team_members"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<integer>\",\n    \"uid\": \"<string>\",\n    \"name\": \"<string>\",\n    \"available_name\": \"<string>\",\n    \"display_name\": \"<string>\",\n    \"email\": \"<string>\",\n    \"account_id\": \"<integer>\",\n    \"role\": \"agent\",\n    \"confirmed\": \"<boolean>\",\n    \"availability_status\": \"busy\",\n    \"auto_offline\": \"<boolean>\",\n    \"custom_attributes\": {}\n  },\n  {\n    \"id\": \"<integer>\",\n    \"uid\": \"<string>\",\n    \"name\": \"<string>\",\n    \"available_name\": \"<string>\",\n    \"display_name\": \"<string>\",\n    \"email\": \"<string>\",\n    \"account_id\": \"<integer>\",\n    \"role\": \"administrator\",\n    \"confirmed\": \"<boolean>\",\n    \"availability_status\": \"available\",\n    \"auto_offline\": \"<boolean>\",\n    \"custom_attributes\": {}\n  }\n]"},{"id":"06f661fe-918e-4f68-a01a-5d453205715e","name":"Access denied","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id/team_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id","team_members"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"04ade703-ed61-40f7-abec-0d620406a1ef","name":"Team not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id/team_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id","team_members"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"d54b5936-482e-43a9-8095-a772dde06955","name":"User must exist","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id/team_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id","team_members"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"e8d7b609-1528-4738-9c7b-a7cc42d05b33"},{"name":"Update Agents in Team","id":"0d1964e5-ff3a-49c6-b4bd-1ac0651ec52a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id/team_members","description":"<p>All agents except the one passed in params will be removed</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","teams",":team_id","team_members"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"399b5522-3043-44f4-a082-1de2193ee1ea","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"a9c37ba3-c707-4a8e-8595-d96fd8a50e71","description":{"content":"<p>(Required) The ID of the team to be updated</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"team_id"}]}},"response":[{"id":"a2f47a50-6c5f-4078-81e5-ccf80a748f8f","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id/team_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id","team_members"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<integer>\",\n    \"uid\": \"<string>\",\n    \"name\": \"<string>\",\n    \"available_name\": \"<string>\",\n    \"display_name\": \"<string>\",\n    \"email\": \"<string>\",\n    \"account_id\": \"<integer>\",\n    \"role\": \"administrator\",\n    \"confirmed\": \"<boolean>\",\n    \"availability_status\": \"available\",\n    \"auto_offline\": \"<boolean>\",\n    \"custom_attributes\": {}\n  },\n  {\n    \"id\": \"<integer>\",\n    \"uid\": \"<string>\",\n    \"name\": \"<string>\",\n    \"available_name\": \"<string>\",\n    \"display_name\": \"<string>\",\n    \"email\": \"<string>\",\n    \"account_id\": \"<integer>\",\n    \"role\": \"agent\",\n    \"confirmed\": \"<boolean>\",\n    \"availability_status\": \"offline\",\n    \"auto_offline\": \"<boolean>\",\n    \"custom_attributes\": {}\n  }\n]"},{"id":"3b173891-aef8-43ce-b051-7c508e428f70","name":"Access denied","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id/team_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id","team_members"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"7552d6f9-0e88-4ac3-805f-6100a4f300f2","name":"Team not found","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id/team_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id","team_members"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"71977861-44d1-4022-879f-4abafcdc4248","name":"User must exist","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id/team_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id","team_members"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"0d1964e5-ff3a-49c6-b4bd-1ac0651ec52a"},{"name":"Remove an Agent from Team","id":"cc986509-dd4c-48b5-8545-cada3454e7df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ],\n  \"team_id\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id/team_members","description":"<p>Remove an Agent from Team</p>\n","urlObject":{"path":["api","v1","accounts",":account_id","teams",":team_id","team_members"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"1cb5a2e0-ed4c-47dd-ab34-3c1a9374a106","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"804e220e-23d9-415b-8a82-2e3ce2c1cc69","description":{"content":"<p>(Required) The ID of the team to be updated</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"team_id"}]}},"response":[{"id":"63369004-51bd-46f5-8637-a35292a49df9","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ],\n  \"team_id\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id/team_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id","team_members"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"5abf4922-6fa0-4510-8c7b-67007c236220","name":"Access denied","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ],\n  \"team_id\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id/team_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id","team_members"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"b8cef6a9-c93d-415b-842f-5163e06cc3ec","name":"Team not found","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ],\n  \"team_id\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id/team_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id","team_members"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"bf634379-6004-492c-ba72-1934cb3885de","name":"User must exist","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"user_ids\": [\n    \"<integer>\",\n    \"<integer>\"\n  ],\n  \"team_id\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id/team_members","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id","team_members"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"cc986509-dd4c-48b5-8545-cada3454e7df"}],"id":"b6b8c03b-0bfa-49e0-82df-e0b4973ef74d","_postman_id":"b6b8c03b-0bfa-49e0-82df-e0b4973ef74d","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"Get a team details","id":"1cf437f9-578c-42b9-bb5c-77c9f3173bbf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id","description":"<p>Get the details of a team in the account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","teams",":team_id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"77230cd9-123f-4327-b545-b9a65ce7a8f1","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"3a1ff003-d3da-4b55-809a-c022dceb8c14","description":{"content":"<p>(Required) The ID of the team to be updated</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"team_id"}]}},"response":[{"id":"4844b5af-9fe0-46f6-ae2d-ff1352613340","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"allow_auto_assign\": \"<boolean>\",\n  \"account_id\": \"<number>\",\n  \"is_member\": \"<boolean>\"\n}"},{"id":"449da502-de7f-4fdc-9d32-b32d8d57f353","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"6e316310-173c-4206-a797-67bb2f608b38","name":"The given team ID does not exist in the account","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"1cf437f9-578c-42b9-bb5c-77c9f3173bbf"},{"name":"Update a team","id":"fb4af722-40a6-4930-8232-ca1cb3a0a8ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"allow_auto_assign\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id","description":"<p>Update a team's attributes</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","teams",":team_id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"9d4f105c-e431-4c37-8849-a40e1525ac28","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"a569d8e6-3db5-4003-bbd8-7bb6e2a91953","description":{"content":"<p>(Required) The ID of the team to be updated</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"team_id"}]}},"response":[{"id":"3cf5bc91-7878-4890-9722-d58ae1722b7b","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"allow_auto_assign\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"allow_auto_assign\": \"<boolean>\",\n  \"account_id\": \"<number>\",\n  \"is_member\": \"<boolean>\"\n}"},{"id":"9d4c591c-f409-4682-8cbd-a109bdfa9aa8","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"allow_auto_assign\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"fb4af722-40a6-4930-8232-ca1cb3a0a8ef"},{"name":"Delete a team","id":"eab9ee76-e525-4391-ab92-43a20172f431","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id","description":"<p>Delete a team from the account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","teams",":team_id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"15792029-02e5-4c45-bc6e-48c7480f019e","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"3641272d-e03f-4b97-9ca6-7dd545d67e41","description":{"content":"<p>(Required) The ID of the team to be updated</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"team_id"}]}},"response":[{"id":"20fc3548-3fff-485a-bf12-d12564c104b2","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"92b7f490-3c79-46e3-9714-ebbf25dbade6","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"c6f47090-7242-4308-be3f-4eaf1001cb06","name":"The team does not exist in the account","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams/:team_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams",":team_id"],"variable":[{"key":"account_id"},{"key":"team_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"eab9ee76-e525-4391-ab92-43a20172f431"}],"id":"9771ad8a-4f0f-441c-a130-b898cb05c9c7","_postman_id":"9771ad8a-4f0f-441c-a130-b898cb05c9c7","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"List all teams","id":"f1946fe5-168c-41c5-b158-35b92a6b3b61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams","description":"<p>List all teams available in the current account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","teams"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"769848fc-62d7-4759-9f1a-324d263cc7cb","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"8649f46f-d0bf-441e-89f7-7703e67d84d5","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<number>\",\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"allow_auto_assign\": \"<boolean>\",\n    \"account_id\": \"<number>\",\n    \"is_member\": \"<boolean>\"\n  },\n  {\n    \"id\": \"<number>\",\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"allow_auto_assign\": \"<boolean>\",\n    \"account_id\": \"<number>\",\n    \"is_member\": \"<boolean>\"\n  }\n]"},{"id":"7282429e-ec97-4908-b281-fdbfe1d6069b","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams"],"variable":[{"key":"account_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"f1946fe5-168c-41c5-b158-35b92a6b3b61"},{"name":"Create a team","id":"0940324e-06e7-4bb8-b727-9ea5e578385b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"allow_auto_assign\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams","description":"<p>Create a team in the account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","teams"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"54bf526c-91dc-4695-bb78-d80fcd2f68ce","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"3a2fb553-a4fe-41f4-9485-90b4efdf3dde","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"allow_auto_assign\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"allow_auto_assign\": \"<boolean>\",\n  \"account_id\": \"<number>\",\n  \"is_member\": \"<boolean>\"\n}"},{"id":"50101d2a-1a05-4119-b80d-8a05376d19d5","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"allow_auto_assign\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/teams","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","teams"],"variable":[{"key":"account_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"0940324e-06e7-4bb8-b727-9ea5e578385b"}],"id":"0cddb8e7-40c2-44a9-b97f-652c6b38ba9e","_postman_id":"0cddb8e7-40c2-44a9-b97f-652c6b38ba9e","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"custom_filters","item":[{"name":"{custom_filter_id}","item":[{"name":"Get a custom filter details","id":"7efed26a-6033-4493-b804-d4c11b38a479","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_filters/:custom_filter_id","description":"<p>Get the details of a custom filter in the account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","custom_filters",":custom_filter_id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"3b417bd4-127a-4031-8647-7cba7e98b85a","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"79d5f68d-0dc5-43a3-8e24-1dadd2722d75","description":{"content":"<p>(Required) The numeric ID of the custom filter</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"custom_filter_id"}]}},"response":[{"id":"d6f4435e-32af-4068-93c9-92608026e4f5","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_filters/:custom_filter_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_filters",":custom_filter_id"],"variable":[{"key":"account_id"},{"key":"custom_filter_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"name\": \"<string>\",\n  \"type\": \"report\",\n  \"query\": {},\n  \"created_at\": \"<dateTime>\",\n  \"updated_at\": \"<dateTime>\"\n}"},{"id":"2f44527e-2dd0-4642-a265-d39badd18b94","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_filters/:custom_filter_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_filters",":custom_filter_id"],"variable":[{"key":"account_id"},{"key":"custom_filter_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"03252d5c-186b-4dc8-8e72-3914bf979aa4","name":"The given team ID does not exist in the account","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_filters/:custom_filter_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_filters",":custom_filter_id"],"variable":[{"key":"account_id"},{"key":"custom_filter_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"7efed26a-6033-4493-b804-d4c11b38a479"},{"name":"Update a custom filter","id":"dc064c5a-ed26-4400-a18c-3be3269e772f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"type\": \"conversation\",\n  \"query\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_filters/:custom_filter_id","description":"<p>Update a custom filter's attributes</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","custom_filters",":custom_filter_id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"91e23585-ad97-4806-8370-18750cae1068","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"f2d6cf85-e7a4-4f19-9d13-3bca5a9871a1","description":{"content":"<p>(Required) The numeric ID of the custom filter</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"custom_filter_id"}]}},"response":[{"id":"2186af6b-3d78-4f66-a01c-6e288ca60f21","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"type\": \"conversation\",\n  \"query\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_filters/:custom_filter_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_filters",":custom_filter_id"],"variable":[{"key":"account_id"},{"key":"custom_filter_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"name\": \"<string>\",\n  \"type\": \"report\",\n  \"query\": {},\n  \"created_at\": \"<dateTime>\",\n  \"updated_at\": \"<dateTime>\"\n}"},{"id":"96838a1c-9246-4212-9308-d78b73b898cc","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"type\": \"conversation\",\n  \"query\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_filters/:custom_filter_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_filters",":custom_filter_id"],"variable":[{"key":"account_id"},{"key":"custom_filter_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"dc064c5a-ed26-4400-a18c-3be3269e772f"},{"name":"Delete a custom filter","id":"b72d8b35-77e2-4ae0-8c94-4a2568302ded","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_filters/:custom_filter_id","description":"<p>Delete a custom filter from the account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","custom_filters",":custom_filter_id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"f2b4ca28-6620-4f47-8ba1-b53aeac25b6e","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"d0d38d48-3203-4c11-9932-9e7d1c18919a","description":{"content":"<p>(Required) The numeric ID of the custom filter</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"custom_filter_id"}]}},"response":[{"id":"2d6b7827-5873-4317-a562-fe9d50ef3b48","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_filters/:custom_filter_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_filters",":custom_filter_id"],"variable":[{"key":"account_id"},{"key":"custom_filter_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"de749d19-b13d-4ed2-aacb-bd581a5a9d65","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_filters/:custom_filter_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_filters",":custom_filter_id"],"variable":[{"key":"account_id"},{"key":"custom_filter_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"cfde34da-5813-4a41-bfa3-718ce6c7fed2","name":"The custom filter does not exist in the account","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_filters/:custom_filter_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_filters",":custom_filter_id"],"variable":[{"key":"account_id"},{"key":"custom_filter_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"b72d8b35-77e2-4ae0-8c94-4a2568302ded"}],"id":"31d07965-8ffd-4198-b5fe-88b05252d81b","_postman_id":"31d07965-8ffd-4198-b5fe-88b05252d81b","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"List all custom filters","id":"6d6ec399-752b-4d1f-b236-5d51f9b08f76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_filters?filter_type=report","description":"<p>List all custom filters in a category of a user</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","custom_filters"],"host":["https://chatapp.backendprod.com"],"query":[{"description":{"content":"<p>The type of custom filter</p>\n","type":"text/plain"},"key":"filter_type","value":"report"}],"variable":[{"id":"fe3611f9-2b6b-4c8d-9882-d218883a023d","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"5bcd5efb-2358-4b23-89a4-d25dbd418a19","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_filters?filter_type=report","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_filters"],"query":[{"key":"filter_type","value":"report","description":"The type of custom filter"}],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<number>\",\n    \"name\": \"<string>\",\n    \"type\": \"report\",\n    \"query\": {},\n    \"created_at\": \"<dateTime>\",\n    \"updated_at\": \"<dateTime>\"\n  },\n  {\n    \"id\": \"<number>\",\n    \"name\": \"<string>\",\n    \"type\": \"conversation\",\n    \"query\": {},\n    \"created_at\": \"<dateTime>\",\n    \"updated_at\": \"<dateTime>\"\n  }\n]"},{"id":"842a98bf-4ccf-4528-aabb-7d8ea41266d7","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_filters?filter_type=report","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_filters"],"query":[{"key":"filter_type","value":"report","description":"The type of custom filter"}],"variable":[{"key":"account_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"6d6ec399-752b-4d1f-b236-5d51f9b08f76"},{"name":"Create a custom filter","id":"1ca04396-dbae-4b34-a856-7dfb74367471","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"type\": \"conversation\",\n  \"query\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_filters?filter_type=report","description":"<p>Create a custom filter in the account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","custom_filters"],"host":["https://chatapp.backendprod.com"],"query":[{"description":{"content":"<p>The type of custom filter</p>\n","type":"text/plain"},"key":"filter_type","value":"report"}],"variable":[{"id":"5f94ae38-7a55-41a5-b387-789d2ef976ae","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"f9c78e4e-c9c0-43b9-ac32-3a0906795064","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"type\": \"conversation\",\n  \"query\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_filters?filter_type=report","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_filters"],"query":[{"key":"filter_type","value":"report","description":"The type of custom filter"}],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"name\": \"<string>\",\n  \"type\": \"report\",\n  \"query\": {},\n  \"created_at\": \"<dateTime>\",\n  \"updated_at\": \"<dateTime>\"\n}"},{"id":"fcbfc603-cb63-43aa-84b3-ff31e9ec88d9","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"type\": \"conversation\",\n  \"query\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/custom_filters?filter_type=report","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","custom_filters"],"query":[{"key":"filter_type","value":"report","description":"The type of custom filter"}],"variable":[{"key":"account_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"1ca04396-dbae-4b34-a856-7dfb74367471"}],"id":"9295088c-9a15-4b5d-bee8-9827b7bbac47","_postman_id":"9295088c-9a15-4b5d-bee8-9827b7bbac47","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"webhooks","item":[{"name":"{webhook_id}","item":[{"name":"Update a webhook object","id":"68b4bc12-3f33-4f0a-9349-3de8d4c8b6da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"<string>\",\n  \"subscriptions\": [\n    \"message_created\",\n    \"conversation_status_changed\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/webhooks/:webhook_id","description":"<p>Update a webhook object in the account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","webhooks",":webhook_id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"aec4cbb0-9a79-4198-9976-3656eccad0c2","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"9fb8a80f-59e5-4567-ae45-ec83b909e113","description":{"content":"<p>(Required) The numeric ID of the webhook</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"webhook_id"}]}},"response":[{"id":"7b0e0cd0-0617-4108-b21e-80666ce250f5","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"<string>\",\n  \"subscriptions\": [\n    \"message_created\",\n    \"conversation_status_changed\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/webhooks/:webhook_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","webhooks",":webhook_id"],"variable":[{"key":"account_id"},{"key":"webhook_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"url\": \"<string>\",\n  \"subscriptions\": [\n    \"conversation_created\",\n    \"conversation_status_changed\"\n  ],\n  \"account_id\": \"<number>\"\n}"},{"id":"3a86bac7-1d1e-473a-979e-480896f723e2","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"<string>\",\n  \"subscriptions\": [\n    \"message_created\",\n    \"conversation_status_changed\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/webhooks/:webhook_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","webhooks",":webhook_id"],"variable":[{"key":"account_id"},{"key":"webhook_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"68b4bc12-3f33-4f0a-9349-3de8d4c8b6da"},{"name":"Delete a webhook","id":"c98e5b48-a5ff-4b7e-9fdd-7224872365ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/webhooks/:webhook_id","description":"<p>Delete a webhook from the account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","webhooks",":webhook_id"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"ec2c3679-880c-4f8f-9ce9-1d0ebc6743e6","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"},{"id":"8cbece62-96b2-49fb-9145-6f1adad94005","description":{"content":"<p>(Required) The numeric ID of the webhook</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"webhook_id"}]}},"response":[{"id":"a1fcd58e-daf5-4ed8-b61a-0f28327f6243","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/webhooks/:webhook_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","webhooks",":webhook_id"],"variable":[{"key":"account_id"},{"key":"webhook_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"f4ebaf0c-f201-4667-918c-31b4cf959276","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/webhooks/:webhook_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","webhooks",":webhook_id"],"variable":[{"key":"account_id"},{"key":"webhook_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"0e339463-1657-4a0f-90aa-4fc6629ec542","name":"The webhook does not exist in the account","originalRequest":{"method":"DELETE","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/webhooks/:webhook_id","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","webhooks",":webhook_id"],"variable":[{"key":"account_id"},{"key":"webhook_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"c98e5b48-a5ff-4b7e-9fdd-7224872365ae"}],"id":"c03b7223-88f5-4ab2-aff5-295547552787","_postman_id":"c03b7223-88f5-4ab2-aff5-295547552787","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"List all webhooks","id":"600b001d-dedf-4e29-8a6a-aaa104ac5eda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/webhooks","description":"<p>List all webhooks in the account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","webhooks"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"60204e12-792e-4290-85e8-aeebd5130122","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"7bc254f6-5b8e-4cf8-906d-06fe5f0c920c","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/webhooks","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","webhooks"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<number>\",\n    \"url\": \"<string>\",\n    \"subscriptions\": [\n      \"webwidget_triggered\",\n      \"webwidget_triggered\"\n    ],\n    \"account_id\": \"<number>\"\n  },\n  {\n    \"id\": \"<number>\",\n    \"url\": \"<string>\",\n    \"subscriptions\": [\n      \"conversation_created\",\n      \"contact_created\"\n    ],\n    \"account_id\": \"<number>\"\n  }\n]"},{"id":"5c688497-f3bc-45ca-9606-2266fbf5c30c","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/webhooks","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","webhooks"],"variable":[{"key":"account_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"600b001d-dedf-4e29-8a6a-aaa104ac5eda"},{"name":"Add a webhook","id":"7a09b7ee-5dc0-4419-a79d-b104c0822595","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"<string>\",\n  \"subscriptions\": [\n    \"message_created\",\n    \"conversation_status_changed\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/webhooks","description":"<p>Add a webhook subscription to the account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","accounts",":account_id","webhooks"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[{"id":"8118803d-1696-4c80-bebe-f5b49a39f29f","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"b71d533b-f4d6-4036-b204-afd58f4d5d4b","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"<string>\",\n  \"subscriptions\": [\n    \"message_created\",\n    \"conversation_status_changed\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/webhooks","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","webhooks"],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"url\": \"<string>\",\n  \"subscriptions\": [\n    \"conversation_created\",\n    \"conversation_status_changed\"\n  ],\n  \"account_id\": \"<number>\"\n}"},{"id":"2f1a0d14-c322-415e-a941-e6633850d375","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"<string>\",\n  \"subscriptions\": [\n    \"message_created\",\n    \"conversation_status_changed\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://chatapp.backendprod.com/api/v1/accounts/:account_id/webhooks","host":["https://chatapp.backendprod.com"],"path":["api","v1","accounts",":account_id","webhooks"],"variable":[{"key":"account_id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"7a09b7ee-5dc0-4419-a79d-b104c0822595"}],"id":"b60dffb2-cbf3-41aa-b022-a3ddd8831180","_postman_id":"b60dffb2-cbf3-41aa-b022-a3ddd8831180","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}}],"id":"9c47cfd2-06aa-45ca-8a33-165aff86dbe6","_postman_id":"9c47cfd2-06aa-45ca-8a33-165aff86dbe6","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}}],"id":"bd127582-8397-4a92-9dba-14ff360a5bdf","_postman_id":"bd127582-8397-4a92-9dba-14ff360a5bdf","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"profile","item":[{"name":"Fetch user profile","id":"7bc1b92d-03cd-491c-8818-3ea3cb23c68b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v1/profile","description":"<p>Get the user profile details</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v1","profile"],"host":["https://chatapp.backendprod.com"],"query":[],"variable":[]}},"response":[{"id":"1c17c15f-fb7d-4989-978d-574938fb1cf8","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":"https://chatapp.backendprod.com/api/v1/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<number>\",\n  \"uid\": \"<string>\",\n  \"name\": \"<string>\",\n  \"available_name\": \"<string>\",\n  \"display_name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"account_id\": \"<number>\",\n  \"role\": \"administrator\",\n  \"confirmed\": \"<boolean>\",\n  \"custom_attributes\": {},\n  \"accounts\": [\n    {\n      \"id\": \"<number>\",\n      \"name\": \"<string>\",\n      \"role\": \"administrator\"\n    },\n    {\n      \"id\": \"<number>\",\n      \"name\": \"<string>\",\n      \"role\": \"agent\"\n    }\n  ]\n}"},{"id":"5cca51e1-4327-4252-9a71-b0ed8691f992","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":"https://chatapp.backendprod.com/api/v1/profile"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"7bc1b92d-03cd-491c-8818-3ea3cb23c68b"}],"id":"04e03736-9007-46b7-a781-97b391f9ce68","_postman_id":"04e03736-9007-46b7-a781-97b391f9ce68","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}}],"id":"0449ea39-12a1-46ff-9311-d3e9eb461f38","_postman_id":"0449ea39-12a1-46ff-9311-d3e9eb461f38","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"v2","item":[{"name":"accounts","item":[{"name":"{account_id}","item":[{"name":"reports","item":[{"name":"summary","item":[{"name":"Get Account reports summary","id":"58c7019a-ca34-48c0-8216-524178bcbb9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v2/accounts/:account_id/reports/summary?type=account&id=<string>&since=<string>&until=<string>","description":"<p>Get Account reports summary for a specific type and date range</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v2","accounts",":account_id","reports","summary"],"host":["https://chatapp.backendprod.com"],"query":[{"description":{"content":"<p>(Required) Type of report</p>\n","type":"text/plain"},"key":"type","value":"account"},{"description":{"content":"<p>The Id of specific object in case of agent/inbox/label</p>\n","type":"text/plain"},"key":"id","value":"<string>"},{"description":{"content":"<p>The timestamp from where report should start.</p>\n","type":"text/plain"},"key":"since","value":"<string>"},{"description":{"content":"<p>The timestamp from where report should stop.</p>\n","type":"text/plain"},"key":"until","value":"<string>"}],"variable":[{"id":"a2efe56f-ba6c-456e-8186-a5a0e6fc65f1","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"5b329c0e-1e90-44df-ac3e-94c29a485734","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v2/accounts/:account_id/reports/summary?type=account&id=<string>&since=<string>&until=<string>","host":["https://chatapp.backendprod.com"],"path":["api","v2","accounts",":account_id","reports","summary"],"query":[{"key":"type","value":"account","description":"(Required) Type of report"},{"key":"id","value":"<string>","description":"The Id of specific object in case of agent/inbox/label"},{"key":"since","value":"<string>","description":"The timestamp from where report should start."},{"key":"until","value":"<string>","description":"The timestamp from where report should stop."}],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"avg_first_response_time\": \"<string>\",\n  \"avg_resolution_time\": \"<string>\",\n  \"conversations_count\": \"<number>\",\n  \"incoming_messages_count\": \"<number>\",\n  \"outgoing_messages_count\": \"<number>\",\n  \"resolutions_count\": \"<number>\",\n  \"previous\": {\n    \"avg_first_response_time\": \"<string>\",\n    \"avg_resolution_time\": \"<string>\",\n    \"conversations_count\": \"<number>\",\n    \"incoming_messages_count\": \"<number>\",\n    \"outgoing_messages_count\": \"<number>\",\n    \"resolutions_count\": \"<number>\"\n  }\n}"},{"id":"e1851263-ce41-4da3-a38f-1504f037a7ca","name":"Access denied","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v2/accounts/:account_id/reports/summary?type=account&id=<string>&since=<string>&until=<string>","host":["https://chatapp.backendprod.com"],"path":["api","v2","accounts",":account_id","reports","summary"],"query":[{"key":"type","value":"account","description":"(Required) Type of report"},{"key":"id","value":"<string>","description":"The Id of specific object in case of agent/inbox/label"},{"key":"since","value":"<string>","description":"The timestamp from where report should start."},{"key":"until","value":"<string>","description":"The timestamp from where report should stop."}],"variable":[{"key":"account_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"607f5b2e-f12e-4a63-9bb8-c47062ec8abf","name":"reports not found","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v2/accounts/:account_id/reports/summary?type=account&id=<string>&since=<string>&until=<string>","host":["https://chatapp.backendprod.com"],"path":["api","v2","accounts",":account_id","reports","summary"],"query":[{"key":"type","value":"account","description":"(Required) Type of report"},{"key":"id","value":"<string>","description":"The Id of specific object in case of agent/inbox/label"},{"key":"since","value":"<string>","description":"The timestamp from where report should start."},{"key":"until","value":"<string>","description":"The timestamp from where report should stop."}],"variable":[{"key":"account_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"58c7019a-ca34-48c0-8216-524178bcbb9d"}],"id":"8bd70fe6-e980-4307-b4a0-b268c087ab19","_postman_id":"8bd70fe6-e980-4307-b4a0-b268c087ab19","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"conversations","item":[{"name":"Agent Conversation Metrics","id":"eb557e4a-2df8-421c-80d1-ae3f5165b199","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v2/accounts/:account_id/reports/conversations/?type=agent&user_id=<string>","description":"<p>Get conversation metrics for Agent</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v2","accounts",":account_id","reports","conversations",""],"host":["https://chatapp.backendprod.com"],"query":[{"description":{"content":"<p>(Required) Type of report</p>\n","type":"text/plain"},"key":"type","value":"agent"},{"description":{"content":"<p>The numeric ID of the user</p>\n","type":"text/plain"},"key":"user_id","value":"<string>"}],"variable":[{"id":"07f64ae0-1e2c-4db0-86e8-523ce2573e0a","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"a1e5734e-3246-4c53-9335-25828c8521b9","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v2/accounts/:account_id/reports/conversations/?type=agent&user_id=<string>","host":["https://chatapp.backendprod.com"],"path":["api","v2","accounts",":account_id","reports","conversations",""],"query":[{"key":"type","value":"agent","description":"(Required) Type of report"},{"key":"user_id","value":"<string>","description":"The numeric ID of the user"}],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<number>\",\n    \"name\": \"<string>\",\n    \"email\": \"<string>\",\n    \"thumbnail\": \"<string>\",\n    \"availability\": \"<string>\",\n    \"metric\": {\n      \"open\": \"<number>\",\n      \"unattended\": \"<number>\"\n    }\n  },\n  {\n    \"id\": \"<number>\",\n    \"name\": \"<string>\",\n    \"email\": \"<string>\",\n    \"thumbnail\": \"<string>\",\n    \"availability\": \"<string>\",\n    \"metric\": {\n      \"open\": \"<number>\",\n      \"unattended\": \"<number>\"\n    }\n  }\n]"},{"id":"1182489f-d100-4eaf-9884-9ccc52825c6a","name":"Access denied","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v2/accounts/:account_id/reports/conversations/?type=agent&user_id=<string>","host":["https://chatapp.backendprod.com"],"path":["api","v2","accounts",":account_id","reports","conversations",""],"query":[{"key":"type","value":"agent","description":"(Required) Type of report"},{"key":"user_id","value":"<string>","description":"The numeric ID of the user"}],"variable":[{"key":"account_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"d7836c89-6497-4613-bc1e-c5769de96d9f","name":"reports not found","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v2/accounts/:account_id/reports/conversations/?type=agent&user_id=<string>","host":["https://chatapp.backendprod.com"],"path":["api","v2","accounts",":account_id","reports","conversations",""],"query":[{"key":"type","value":"agent","description":"(Required) Type of report"},{"key":"user_id","value":"<string>","description":"The numeric ID of the user"}],"variable":[{"key":"account_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"eb557e4a-2df8-421c-80d1-ae3f5165b199"}],"id":"30d9611e-195c-43e3-bf14-82d56f62db6b","_postman_id":"30d9611e-195c-43e3-bf14-82d56f62db6b","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}},{"name":"Get Account reports","id":"34e8ce3a-e4e0-4a6b-beba-505051109913","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://chatapp.backendprod.com/api/v2/accounts/:account_id/reports?metric=conversations_count&type=account&id=<string>&since=<string>&until=<string>","description":"<p>Get Account reports for a specific type, metric and date range</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}},"urlObject":{"path":["api","v2","accounts",":account_id","reports"],"host":["https://chatapp.backendprod.com"],"query":[{"description":{"content":"<p>(Required) The type of metric</p>\n","type":"text/plain"},"key":"metric","value":"conversations_count"},{"description":{"content":"<p>(Required) Type of report</p>\n","type":"text/plain"},"key":"type","value":"account"},{"description":{"content":"<p>The Id of specific object in case of agent/inbox/label</p>\n","type":"text/plain"},"key":"id","value":"<string>"},{"description":{"content":"<p>The timestamp from where report should start.</p>\n","type":"text/plain"},"key":"since","value":"<string>"},{"description":{"content":"<p>The timestamp from where report should stop.</p>\n","type":"text/plain"},"key":"until","value":"<string>"}],"variable":[{"id":"335c49bf-1d81-4ed0-945f-4c93641a1b66","description":{"content":"<p>(Required) The numeric ID of the account</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"account_id"}]}},"response":[{"id":"0b9111e4-a7ed-4afd-adf4-c327f72e44db","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v2/accounts/:account_id/reports?metric=conversations_count&type=account&id=<string>&since=<string>&until=<string>","host":["https://chatapp.backendprod.com"],"path":["api","v2","accounts",":account_id","reports"],"query":[{"key":"metric","value":"conversations_count","description":"(Required) The type of metric"},{"key":"type","value":"account","description":"(Required) Type of report"},{"key":"id","value":"<string>","description":"The Id of specific object in case of agent/inbox/label"},{"key":"since","value":"<string>","description":"The timestamp from where report should start."},{"key":"until","value":"<string>","description":"The timestamp from where report should stop."}],"variable":[{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"value\": \"<string>\",\n    \"timestamp\": \"<number>\"\n  },\n  {\n    \"value\": \"<string>\",\n    \"timestamp\": \"<number>\"\n  }\n]"},{"id":"a45fab37-ef95-4cf1-bcd5-2d3b707ebf6d","name":"Access denied","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v2/accounts/:account_id/reports?metric=conversations_count&type=account&id=<string>&since=<string>&until=<string>","host":["https://chatapp.backendprod.com"],"path":["api","v2","accounts",":account_id","reports"],"query":[{"key":"metric","value":"conversations_count","description":"(Required) The type of metric"},{"key":"type","value":"account","description":"(Required) Type of report"},{"key":"id","value":"<string>","description":"The Id of specific object in case of agent/inbox/label"},{"key":"since","value":"<string>","description":"The timestamp from where report should start."},{"key":"until","value":"<string>","description":"The timestamp from where report should stop."}],"variable":[{"key":"account_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"69f5e9bc-addf-43b3-9311-bb763293ab23","name":"reports not found","originalRequest":{"method":"GET","header":[{"key":"api_access_token","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"url":{"raw":"https://chatapp.backendprod.com/api/v2/accounts/:account_id/reports?metric=conversations_count&type=account&id=<string>&since=<string>&until=<string>","host":["https://chatapp.backendprod.com"],"path":["api","v2","accounts",":account_id","reports"],"query":[{"key":"metric","value":"conversations_count","description":"(Required) The type of metric"},{"key":"type","value":"account","description":"(Required) Type of report"},{"key":"id","value":"<string>","description":"The Id of specific object in case of agent/inbox/label"},{"key":"since","value":"<string>","description":"The timestamp from where report should start."},{"key":"until","value":"<string>","description":"The timestamp from where report should stop."}],"variable":[{"key":"account_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"34e8ce3a-e4e0-4a6b-beba-505051109913"}],"id":"2ebb377f-cc7e-4943-93de-fd5a32178e0f","_postman_id":"2ebb377f-cc7e-4943-93de-fd5a32178e0f","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}}],"id":"9bcfb61b-0d7f-4503-8d45-d8572926ff91","_postman_id":"9bcfb61b-0d7f-4503-8d45-d8572926ff91","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}}],"id":"57d1cbf7-a398-48f6-8904-aeff9ed76858","_postman_id":"57d1cbf7-a398-48f6-8904-aeff9ed76858","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}}],"id":"2ce5fa99-e590-4368-89c9-f5dd0a5e5247","_postman_id":"2ce5fa99-e590-4368-89c9-f5dd0a5e5247","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}}],"id":"fc2d9867-109b-4dc6-915c-4e26b94763fc","_postman_id":"fc2d9867-109b-4dc6-915c-4e26b94763fc","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"b3858e35-266d-4de4-abdc-054d3b0851c1","id":"b3858e35-266d-4de4-abdc-054d3b0851c1","name":"Chatapp","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_access_token"},{"key":"value","value":"{{apiKey}}"}]}},"event":[{"listen":"prerequest","script":{"id":"4aa18eaf-6b6c-414f-bd49-480f2502b95d","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"7213c7d2-592e-439a-b1df-bcabc6cbfe6e","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://chatapp.backendprod.com"}]}