{"info":{"_postman_id":"751cb9d0-04ee-407b-86d9-75e20a6b5f7c","name":"MULTICHANNEL PUBLIC API V2","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"8259884","collectionId":"751cb9d0-04ee-407b-86d9-75e20a6b5f7c","publishedId":"SzKMzMYz","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-02-12T04:37:02.000Z"},"item":[{"name":"Agent Managements","item":[{"name":"Get All Agents","id":"853e7b6f-cec3-48ff-b964-065f61aea5f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/admin/agents?cursor_before=&cursor_after=&limit&search&scope","description":"<p>Sample Response </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"agents\": [\n            {\n                \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/topa-kxk1fot1mqxboyip/image/upload/kVF9AoINBd/file_8.jpg\",\n                \"email\": \"apiepsatu9@mail.com\",\n                \"force_offline\": false,\n                \"id\": 66,\n                \"is_available\": false,\n                \"last_login\": null,\n                \"name\": \"apiepsatudua\",\n                \"sdk_email\": \"hQMif_apiepsatu9@mail.com\",\n                \"sdk_key\": \"9f-a7b9-15c8c7ab\",\n                \"type\": 2,\n                \"type_as_string\": \"agent\",\n                \"user_channels\": [\n                    {\n                        \"id\": 14,\n                        \"name\": \"wa\"\n                    }\n                ],\n                \"user_roles\": [\n                    {\n                        \"id\": 1,\n                        \"name\": \"General\"\n                    }\n                ]\n            }\n        ],\n        \"meta\": {\n            \"after\": \"g2wAAAACdAAAAAlkAApfX3N0cnVjdF9fZAAURWxpeGlyLk5haXZlRGF0ZVRpbWVkAAhjYWxlbmRhcmQAE0VsaXhpci5DYWxlbmRhci5JU09kAANkYXlhEmQABGhvdXJhBmQAC21pY3Jvc2Vjb25kaAJhAGEAZAAGbWludXRlYSVkAAVtb250aGEKZAAGc2Vjb25kYQFkAAR5ZWFyYgAAB-NkAAVmYWxzZWo=\",\n            \"before\": null,\n            \"per_page\": 1,\n            \"total_count\": 19\n        }\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","admin","agents"],"host":["{{BaseUrl}}"],"query":[{"description":{"content":"<p>optional</p>\n","type":"text/plain"},"key":"cursor_before","value":""},{"description":{"content":"<p>optional</p>\n","type":"text/plain"},"key":"cursor_after","value":""},{"description":{"content":"<p>optional|default:10</p>\n","type":"text/plain"},"key":"limit","value":null},{"key":"search","value":null},{"description":{"content":"<p>either <code>division</code>, <code>name</code>, or <code>email</code>, or default</p>\n","type":"text/plain"},"key":"scope","value":null}],"variable":[]}},"response":[],"_postman_id":"853e7b6f-cec3-48ff-b964-065f61aea5f0"},{"name":"Get Agents by Division","id":"0d2e28e0-98eb-462e-9753-8ed499fda3ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/admin/agents/by_division?page=1&limit=10&division_ids[]=438&is_available=true&sort=desc","description":"<p>Sample Response </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [\n        {\n            \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/20.png\",\n            \"current_customer_count\": 0,\n            \"email\": \"yeye@mail.com\",\n            \"force_offline\": false,\n            \"id\": 1148,\n            \"is_available\": true,\n            \"last_login\": \"2020-03-17T09:24:41Z\",\n            \"name\": \"&lt;H1&gt;tralala&lt;/H1&gt;\",\n            \"sdk_email\": \"d8x3j_yeye@mail.com\",\n            \"sdk_key\": \"a4-a8ba-ef988d58\",\n            \"type\": 2,\n            \"type_as_string\": \"agent\",\n            \"user_channels\": [],\n            \"user_roles\": [\n                {\n                    \"id\": 122,\n                    \"name\": \"General\"\n                },\n                {\n                    \"id\": 133,\n                    \"name\": \"Marketing\"\n                }\n            ]\n        }\n    ],\n   \"meta\": {\n        \"limit\": 10,\n        \"page\": 1,\n        \"total\": 1,\n        \"total_page\": 1\n    }\n}\n</code></pre>\n","urlObject":{"path":["api","v2","admin","agents","by_division"],"host":["{{BaseUrl}}"],"query":[{"description":{"content":"<p>optional, default: 1</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>optional, max: 100, default: 10</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>array of division_id, can be multiple with rule AND / &amp;&amp;</p>\n","type":"text/plain"},"key":"division_ids[]","value":"438"},{"disabled":true,"key":"division_ids[]","value":"530"},{"description":{"content":"<p>online availability filter, default all, can be true of false</p>\n","type":"text/plain"},"key":"is_available","value":"true"},{"description":{"content":"<p>default asc (less customer count) can be desc </p>\n","type":"text/plain"},"key":"sort","value":"desc"}],"variable":[]}},"response":[],"_postman_id":"0d2e28e0-98eb-462e-9753-8ed499fda3ed"},{"name":"Create Agent","id":"b56fdd3a-2030-4314-94c5-3c2620aa8b14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"apiepsatu9@mail.com\",\n\t\"name\": \"apiepsatu\",\n\t\"password\": \"password\",\n\t\"channels\": [\n\t\t{\n\t\t\t\"channel_id\": 14,\n\t\t\t\"source\": \"wa\"\n\t\t}\n\t],\n\t\"is_supervisor\": false,\n\t\"role_ids\": [\n\t\t1\n\t],\n\t\"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/topa-kxk1fot1mqxboyip/image/upload/kVF9AoINBd/file_8.jpg\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BaseUrl}}/api/v2/admin/create_agent","description":"<h2 id=\"sample-request\">Sample Request</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"email\": \"apiepsatu2@mail.com\",\n    \"name\": \"apiepsatu\",\n    \"password\": \"password\",\n    \"channels\": [\n        {\n            \"channel_id\": 1,\n            \"source\": \"wa\"\n        }\n    ],\n    \"is_supervisor\": false,\n    \"role_ids\": [\n        1\n    ],\n    \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/topa-kxk1fot1mqxboyip/image/upload/kVF9AoINBd/file_8.jpg\"\n}\n</code></pre>\n<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"agent\": {\n            \"id\": 61,\n            \"name\": \"apiepsatu\",\n            \"user_channels\": [\n                {\n                    \"channel_id\": 14,\n                    \"source\": \"wa\"\n                }\n            ],\n            \"email\": \"apiepsatu4@mail.com\",\n            \"is_available\": false,\n            \"sdk_email\": \"KTM0d_apiepsatu4@mail.com\",\n            \"sdk_key\": \"45-ac1d-b8523bed\",\n            \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/topa-kxk1fot1mqxboyip/image/upload/kVF9AoINBd/file_8.jpg\",\n            \"is_verified\": null,\n            \"force_offline\": null,\n            \"last_login\": null,\n            \"created_at\": \"2019-10-17T09:19:10\",\n            \"updated_at\": \"2019-10-17T09:19:10\",\n            \"user_roles\": [\n                {\n                    \"id\": 1,\n                    \"name\": \"General\"\n                }\n            ]\n        }\n    }\n}\n</code></pre>\n","urlObject":{"path":["api","v2","admin","create_agent"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b56fdd3a-2030-4314-94c5-3c2620aa8b14"},{"name":"Update Agent","id":"d9b28293-2ec2-4efc-b9cf-f660eb9976a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"apiepsatu9@mail.com\",\n\t\"name\": \"apiepsatudua\",\n\t\"password\": \"password\",\n\t\"channels\": [\n\t\t{\n\t\t\t\"channel_id\": 14,\n\t\t\t\"source\": \"wa\"\n\t\t}\n\t],\n\t\"is_supervisor\": false,\n\t\"role_ids\": [\n\t\t1\n\t],\n\t\"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/topa-kxk1fot1mqxboyip/image/upload/kVF9AoINBd/file_8.jpg\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BaseUrl}}/api/v2/admin/agent/66/update","description":"<h2 id=\"sample-request\">Sample Request</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"email\": \"apiepsatu9@mail.com\",\n    \"name\": \"apiepsatudua\",\n    \"password\": \"password\",\n    \"channels\": [\n        {\n            \"channel_id\": 14,\n            \"source\": \"wa\"\n        }\n    ],\n    \"is_supervisor\": true,\n    \"role_ids\": [\n        1\n    ],\n    \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/topa-kxk1fot1mqxboyip/image/upload/kVF9AoINBd/file_8.jpg\"\n}\n</code></pre>\n<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"agent\": {\n            \"id\": 66,\n            \"name\": \"apiepsatudua\",\n            \"user_channels\": [\n                {\n                    \"channel_id\": 14,\n                    \"source\": \"wa\"\n                }\n            ],\n            \"email\": \"apiepsatu9@mail.com\",\n            \"is_available\": false,\n            \"sdk_email\": \"hQMif_apiepsatu9@mail.com\",\n            \"sdk_key\": \"9f-a7b9-15c8c7ab\",\n            \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/topa-kxk1fot1mqxboyip/image/upload/kVF9AoINBd/file_8.jpg\",\n            \"is_verified\": false,\n            \"force_offline\": false,\n            \"last_login\": null,\n            \"created_at\": \"2019-10-18T06:37:01\",\n            \"updated_at\": \"2019-10-18T09:08:06\",\n            \"user_roles\": [\n                {\n                    \"id\": 1,\n                    \"name\": \"General\"\n                }\n            ]\n        }\n    }\n}\n</code></pre>\n","urlObject":{"path":["api","v2","admin","agent","66","update"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d9b28293-2ec2-4efc-b9cf-f660eb9976a5"},{"name":"Delete Agent","id":"35bb74e8-b276-4e65-a391-26f740c61f64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v1/admin/agent/{{AgentId}}/delete","description":"<h2 id=\"sample-request\">Sample Request</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"email\": \"apiepsatu9@mail.com\",\n    \"name\": \"apiepsatudua\",\n    \"password\": \"password\",\n    \"channels\": [\n        {\n            \"channel_id\": 14,\n            \"source\": \"wa\"\n        }\n    ],\n    \"is_supervisor\": true,\n    \"role_ids\": [\n        1\n    ],\n    \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/topa-kxk1fot1mqxboyip/image/upload/kVF9AoINBd/file_8.jpg\"\n}\n</code></pre>\n<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"agent\": {\n            \"id\": 66,\n            \"name\": \"apiepsatudua\",\n            \"user_channels\": [\n                {\n                    \"channel_id\": 14,\n                    \"source\": \"wa\"\n                }\n            ],\n            \"email\": \"apiepsatu9@mail.com\",\n            \"is_available\": false,\n            \"sdk_email\": \"hQMif_apiepsatu9@mail.com\",\n            \"sdk_key\": \"9f-a7b9-15c8c7ab\",\n            \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/topa-kxk1fot1mqxboyip/image/upload/kVF9AoINBd/file_8.jpg\",\n            \"is_verified\": false,\n            \"force_offline\": false,\n            \"last_login\": null,\n            \"created_at\": \"2019-10-18T06:37:01\",\n            \"updated_at\": \"2019-10-18T09:08:06\",\n            \"user_roles\": [\n                {\n                    \"id\": 1,\n                    \"name\": \"General\"\n                }\n            ]\n        }\n    }\n}\n</code></pre>\n","urlObject":{"path":["api","v1","admin","agent","{{AgentId}}","delete"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"35bb74e8-b276-4e65-a391-26f740c61f64"},{"name":"Get Agent","id":"01e6665a-7f7f-4493-9061-f0bb6de3d2a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/admin/agent/6x","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"agent\": {\n            \"id\": 6x,\n            \"name\": \"apiepsatudua\",\n            \"user_channels\": [\n                {\n                    \"channel_id\": 14,\n                    \"source\": \"wa\"\n                }\n            ],\n            \"email\": \"apiepsatu9@mail.com\",\n            \"is_available\": false,\n            \"sdk_email\": \"hQMif_apiepsatu9@mail.com\",\n            \"sdk_key\": \"9f-a7b9-15c8c7ab\",\n            \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/topa-kxk1fot1mqxboyip/image/upload/kVF9AoINBd/file_8.jpg\",\n            \"is_verified\": false,\n            \"force_offline\": false,\n            \"last_login\": null,\n            \"created_at\": \"2019-10-18T06:37:01\",\n            \"updated_at\": \"2019-10-18T09:08:06\",\n            \"user_roles\": [\n                {\n                    \"id\": 1,\n                    \"name\": \"General\"\n                }\n            ]\n        }\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["api","v2","admin","agent","6x"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"01e6665a-7f7f-4493-9061-f0bb6de3d2a0"},{"name":"User Channel","id":"7d08f9cf-9a11-47f8-bf8d-f1442527123b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/admin/agent/27/channels?channel","urlObject":{"path":["api","v2","admin","agent","27","channels"],"host":["{{BaseUrl}}"],"query":[{"key":"channel","value":null}],"variable":[]}},"response":[],"_postman_id":"7d08f9cf-9a11-47f8-bf8d-f1442527123b"}],"id":"15d48c2f-db65-4c4e-b977-cc0b8d270924","_postman_id":"15d48c2f-db65-4c4e-b977-cc0b8d270924","description":""},{"name":"Channels","item":[{"name":"Line","item":[{"name":"Create new Line Channel","id":"14604539-8a02-49d2-83bd-0d9e7ea38446","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"access_token","value":"lksajd12093801","type":"text"},{"key":"secret_key","value":"aljskla2109082","type":"text"},{"key":"name","value":"line33","type":"text"},{"key":"badge_url","value":"https://www.gambar.com","type":"text"}]},"url":"{{BaseUrl}}/api/v2/line/connect","description":"<p>Sample Response </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"line_channel\": {\n            \"access_token\": \"lksajd12093801\",\n            \"badge_url\": \"https://www.gambar.com\",\n            \"id\": 9,\n            \"is_active\": true,\n            \"name\": \"line33\",\n            \"secret_key\": \"aljskla2109082\",\n            \"webhook_url\": \"https://multichannel.qiscus.com/webhook/line/9\"\n        }\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","line","connect"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"14604539-8a02-49d2-83bd-0d9e7ea38446"},{"name":"Get Channel Line","id":"fd48261d-a2d3-49bf-b878-4b640dc65b29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BaseUrl}}/api/v2/line/2","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"line_channel\": {\n            \"access_token\": \"lksajd12093801\",\n            \"badge_url\": \"https://www.gambar.com\",\n            \"id\": 9,\n            \"is_active\": true,\n            \"name\": \"line33\",\n            \"secret_key\": \"aljskla2109082\",\n            \"webhook_url\": \"https://multichannel.qiscus.com/webhook/line/9\"\n        }\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","line","2"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd48261d-a2d3-49bf-b878-4b640dc65b29"},{"name":"Update Line Channel","id":"99367ffb-83b5-4861-baff-9f4afe376ff2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"access_token","value":"lksajd12093801","type":"text"},{"key":"secret_key","value":"aljskla2109082","type":"text"},{"key":"name","value":"line23","type":"text"},{"key":"badge_url","value":"https://www.gambar1.com","type":"text"},{"key":"is_active","value":"","description":"<p>optional|boolean</p>\n","type":"text"}]},"url":"{{BaseUrl}}/api/v2/line/connect/2/update","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"line_channel\": {\n            \"access_token\": \"lksajd12093801\",\n            \"badge_url\": \"https://www.gambar.com\",\n            \"id\": 9,\n            \"is_active\": true,\n            \"name\": \"line33\",\n            \"secret_key\": \"aljskla2109082\",\n            \"webhook_url\": \"https://multichannel.qiscus.com/webhook/line/9\"\n        }\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","line","connect","2","update"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"99367ffb-83b5-4861-baff-9f4afe376ff2"},{"name":"Delete line channel","id":"ffeb9666-1cf1-44e9-98a8-0a19c1df3832","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BaseUrl}}/api/v2/line/connect/12/delete","urlObject":{"path":["api","v2","line","connect","12","delete"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ffeb9666-1cf1-44e9-98a8-0a19c1df3832"}],"id":"a042778e-b6bf-45e6-84df-c888fa473cc5","_postman_id":"a042778e-b6bf-45e6-84df-c888fa473cc5","description":""},{"name":"Facebook","item":[{"name":"Create new fb channel","id":"a014c685-faa0-4f16-8507-8597424751d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"lksajd12093801","type":"text"},{"key":"page_token","value":"aljskla2109082","type":"text"},{"key":"name","value":"line33","type":"text"},{"key":"badge_url","value":"https://www.gambar.com","type":"text"},{"key":"page_id","value":"2103213","type":"text"}]},"url":"{{BaseUrl}}/api/v2/fb/connect","description":"<p>Sample Response </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"fb_channel\": {\n            \"badge_url\": \"https://www.gambar3.com\",\n            \"id\": 2,\n            \"is_active\": false,\n            \"name\": null,\n            \"page_id\": \"1031572103650792\"\n        }\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","fb","connect"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a014c685-faa0-4f16-8507-8597424751d9"},{"name":"Update fb channel","id":"ea349be6-6bc8-4df3-b2a2-c193f39e27da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"badge_url","value":"https://www.gambar.com","type":"text"},{"key":"is_active","value":"","description":"<p>boolean</p>\n","type":"text"}]},"url":"{{BaseUrl}}/api/v2/fb/connect","description":"<p>Sample Response </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"fb_channel\": {\n            \"badge_url\": \"https://www.gambar3.com\",\n            \"id\": 2,\n            \"is_active\": false,\n            \"name\": null,\n            \"page_id\": \"1031572103650792\"\n        }\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","fb","connect"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea349be6-6bc8-4df3-b2a2-c193f39e27da"},{"name":"Get fb channel","id":"4e271c3c-6f03-48d6-9bdd-37bcce8dfc5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BaseUrl}}/api/v2/fb/2","description":"<p>Sample Response </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"fb_channel\": {\n            \"badge_url\": \"https://www.gambar3.com\",\n            \"id\": 2,\n            \"is_active\": false,\n            \"name\": null,\n            \"page_id\": \"1031572103650792\"\n        }\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","fb","2"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4e271c3c-6f03-48d6-9bdd-37bcce8dfc5b"},{"name":"Delete fb channel","id":"9fc225b1-02be-4178-bf94-a978c9ffdd70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BaseUrl}}/api/v2/fb/connect/12/delete","urlObject":{"path":["api","v2","fb","connect","12","delete"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9fc225b1-02be-4178-bf94-a978c9ffdd70"},{"name":"Reconnect fb","id":"ec9daa37-a984-48a7-9e83-5d1f65419f4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"fb_user_token","value":"{{FbUserToken}}","type":"text"},{"key":"channel_id","value":"{{ChannelID}}","type":"text"}]},"url":"https://multichannel.qiscus.com/api/v2/fb/reconnect","urlObject":{"protocol":"https","path":["api","v2","fb","reconnect"],"host":["multichannel","qiscus","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ec9daa37-a984-48a7-9e83-5d1f65419f4c"}],"id":"4cae44ab-d6d6-45f7-b32c-307bad33abf5","_postman_id":"4cae44ab-d6d6-45f7-b32c-307bad33abf5","description":""},{"name":"Whatsapp","item":[{"name":"Create new wa channel","id":"d3d6750d-67a6-4588-b9b2-077252f3120e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"wa1","description":"<p>optional</p>\n","type":"text"},{"key":"encoded_token","value":"YWRtaW46QmlaWlpuM1QyMDE5LiE/QA==","description":"<p>required</p>\n","type":"text"},{"key":"is_ssl_enabled","value":"false","description":"<p>required|boolean</p>\n","type":"text"},{"key":"badge_url","value":"","description":"<p>optional|url</p>\n","type":"text"},{"key":"platform","value":"default","description":"<p>required|enum(kata, default) | default: \"default\"</p>\n","type":"text"},{"key":"base_url","value":"https://149.129.253.28:7501","description":"<p>required|will be overriden to \"whatsapp.kata.ai\" if platform is kata</p>\n","type":"text"}]},"url":"{{BaseUrl}}/api/v2/wa/connect","description":"<p>Sample Response </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"wa_channel\": {\n            \"badge_url\": null,\n            \"encoded_token\": \"YWRtaW46QmlaWlpuM1QyMDE5LiE/QA==\",\n            \"id\": 24,\n            \"is_active\": true,\n            \"is_ssl_enabled\": false,\n            \"name\": \"wa1\",\n            \"platform\": \"default\"\n        }\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","wa","connect"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d3d6750d-67a6-4588-b9b2-077252f3120e"},{"name":"Update wa channel","id":"d7841a2e-e9cb-422b-a8cf-c65f50af3c55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"wa1","description":"<p>optional</p>\n","type":"text"},{"key":"is_ssl_enabled","value":"false","description":"<p>required|boolean</p>\n","type":"text"},{"key":"badge_url","value":"","description":"<p>optional|url</p>\n","type":"text"},{"key":"is_active","value":"false","description":"<p>optional|boolean</p>\n","type":"text"},{"key":"read_enabled","value":"","description":"<p>optional|boolean</p>\n","type":"text"}]},"url":"{{BaseUrl}}/api/v2/wa/connect/24/update","description":"<p>Sample Response </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"fb_channel\": {\n            \"badge_url\": \"https://www.gambar3.com\",\n            \"id\": 2,\n            \"is_active\": false,\n            \"name\": null,\n            \"page_id\": \"1031572103650792\"\n        }\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","wa","connect","24","update"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d7841a2e-e9cb-422b-a8cf-c65f50af3c55"},{"name":"Get wa channel","id":"df5f0620-8263-414d-afa9-9de85d66c143","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BaseUrl}}/api/v2/wa/24","description":"<p>Sample Response </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"fb_channel\": {\n            \"badge_url\": \"https://www.gambar3.com\",\n            \"id\": 2,\n            \"is_active\": false,\n            \"name\": null,\n            \"page_id\": \"1031572103650792\"\n        }\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","wa","24"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"df5f0620-8263-414d-afa9-9de85d66c143"},{"name":"Delete wa channel","id":"405926a8-331e-43e8-a6ea-e392d4a3bcd8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BaseUrl}}/api/v2/wa/connect/24/delete","urlObject":{"path":["api","v2","wa","connect","24","delete"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"405926a8-331e-43e8-a6ea-e392d4a3bcd8"}],"id":"a8e5aff3-5448-4772-a66a-10f05c0f7361","_postman_id":"a8e5aff3-5448-4772-a66a-10f05c0f7361","description":""},{"name":"Telegram","item":[{"name":"Create new telegram","id":"396eccec-b292-491c-8a5e-7e0b15a6e27e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"badge_url","value":"","description":"<p>optional|url</p>\n","type":"text"},{"key":"bot_token","value":"","description":"<p>required</p>\n","type":"text"}]},"url":"{{BaseUrl}}/api/v2/telegram/connect","description":"<p>Sample Response </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"wa_channel\": {\n            \"badge_url\": null,\n            \"encoded_token\": \"YWRtaW46QmlaWlpuM1QyMDE5LiE/QA==\",\n            \"id\": 24,\n            \"is_active\": true,\n            \"is_ssl_enabled\": false,\n            \"name\": \"wa1\",\n            \"platform\": \"default\"\n        }\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","telegram","connect"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"396eccec-b292-491c-8a5e-7e0b15a6e27e"},{"name":"Update telegram channel","id":"e27fc053-62a4-45da-91c4-3a3110e08b4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"{{AdminToken}}"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"wa1","description":"<p>optional</p>\n","type":"text"},{"key":"is_ssl_enabled","value":"false","description":"<p>required|boolean</p>\n","type":"text"},{"key":"badge_url","value":"","description":"<p>optional|url</p>\n","type":"text"},{"key":"is_active","value":"false","description":"<p>optional|boolean</p>\n","type":"text"}]},"url":"{{BaseUrl}}/api/v2/wa/connect/24/update","description":"<p>Sample Response </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"telegram_channel\": {\n            \"badge_url\": true,\n            \"bot_token\": \"728155407:AAEBaAIu0XRpqCowNR4ckSPk8JG6o-gCdQ4\",\n            \"id\": 33,\n            \"username\": \"moderatobot\",\n            \"webhook_url\": \"https://multichannel.qiscus.com/webhook/telegram/33\"\n        }\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","wa","connect","24","update"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e27fc053-62a4-45da-91c4-3a3110e08b4f"},{"name":"Get telegram channel","id":"bc784e66-8351-4a27-916b-4b0732a1eb8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BaseUrl}}/api/v2/telegram/33","description":"<p>Sample Response </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"telegram_channel\": {\n            \"badge_url\": true,\n            \"bot_token\": \"728155407:AAEBaAIu0XRpqCowNR4ckSPk8JG6o-gCdQ4\",\n            \"id\": 33,\n            \"username\": \"moderatobot\",\n            \"webhook_url\": \"https://multichannel.qiscus.com/webhook/telegram/33\"\n        }\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","telegram","33"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bc784e66-8351-4a27-916b-4b0732a1eb8f"},{"name":"Delete telegram channel","id":"83ff2bbb-856f-4842-b059-d5cd5b29ad26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BaseUrl}}/api/v2/telegram/connect/24/delete","urlObject":{"path":["api","v2","telegram","connect","24","delete"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"83ff2bbb-856f-4842-b059-d5cd5b29ad26"}],"id":"36b51e02-5dcb-435d-9cd2-5c22c1444a27","_postman_id":"36b51e02-5dcb-435d-9cd2-5c22c1444a27","description":""},{"name":"Custom Channel","item":[{"name":"Send Message Text","id":"24779cd7-9e65-44ea-9e08-94feb7486f5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"identifier_key\": \"paijem\",\n\t\"user_id\": \"johndoe@gmail.com\", \n\t\"name\": \"John Doe\",\n\t\"message\": \"Hi good morning\",\n\t\"type\": \"text\",\n    \"avatar\": \"https://your-avatar-url\"\n}"},"url":"{{BaseUrl}}/{{AppCode}}/api/v2/custom_channel/send","description":"<p>Sample Response </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"choosen_agent\": null,\n        \"room_id\": \"2270645\",\n        \"message\": {\n            \"message\": \"Hi good morning\",\n            \"payload\": {},\n            \"timestamp\": \"2019-04-23T04:03:59Z\",\n            \"type\": \"text\",\n            \"user\": {\n                \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/kiwari-prod/image/upload/wMWsDZP6ta/1516689726-ic_qiscus_client.png\",\n                \"extras\": {},\n                \"user_id\": \"johndoe@gmail.com\",\n                \"username\": \"John Doe\"\n            }\n        }\n    }\n}\n</code></pre>\n","urlObject":{"path":["{{AppCode}}","api","v2","custom_channel","send"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"24779cd7-9e65-44ea-9e08-94feb7486f5a"},{"name":"Send Message Attachment","id":"dbc6f4b0-b703-4340-9912-9d94d3ca67f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"identifier_key\": \"paijem\",\n\t\"user_id\": \"johndoe@gmail.com\", \n\t\"name\": \"John Doe\",\n\t\"message\": \"Hi good morning\",\n\t\"type\": \"file_attachment\",\n\t\"payload\": {\n\t  \"url\": \"https://www.solopos.com/assets/images/solopos.jpg\",\n\t  \"caption\": \"Ini gambar siapa?\"\n\t}\n}"},"url":"{{BaseUrl}}/{{AppCode}}/api/v2/custom_channel/send","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"choosen_agent\": null,\n        \"room_id\": \"2270645\",\n        \"message\": {\n            \"message\": \"[file] https://www.solopos.com/assets/images/solopos.jpg [/file]\",\n            \"payload\": {\n                \"url\": \"https://www.solopos.com/assets/images/solopos.jpg\",\n                \"caption\": \"Ini gambar siapa?\",\n                \"file_name\": \"\",\n                \"size\": 0,\n                \"pages\": 1,\n                \"encryption_key\": \"\"\n            },\n            \"timestamp\": \"2019-04-26T07:48:45Z\",\n            \"type\": \"file_attachment\",\n            \"user\": {\n                \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/kiwari-prod/image/upload/wMWsDZP6ta/1516689726-ic_qiscus_client.png\",\n                \"extras\": {},\n                \"user_id\": \"johndoe@gmail.com\",\n                \"username\": \"John Doe\"\n            }\n        }\n    }\n}\n</code></pre>\n","urlObject":{"path":["{{AppCode}}","api","v2","custom_channel","send"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dbc6f4b0-b703-4340-9912-9d94d3ca67f2"},{"name":"Send Message Button","id":"7dc436e8-7b1a-40c4-ab13-2536d99c5555","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"identifier_key\": \"paijem\",\n\t\"user_id\": \"johndoe@gmail.com\", \n\t\"name\": \"John Doe\",\n\t\"message\": \"Hi good morning\",\n\t\"type\": \"buttons\",\n\t\"payload\": {\n\t    \"text\": \"silahkan pencet\",\n\t    \"buttons\": [\n\t        {\n\t            \"label\": \"button1\",\n\t            \"type\": \"postback\",\n\t            \"payload\": {\n\t                \"url\": \"http://somewhere.com/button1\",\n\t                \"method\": \"get\",\n\t                \"payload\": null\n\t            }\n\t        },\n\t        {\n\t            \"label\": \"button2\",\n\t            \"type\": \"link\",\n\t            \"payload\": {\n\t                \"url\": \"http://somewhere.com/button2?id=123\"\n\t            }\n\t        }\n\t\t]\n\t}\n}"},"url":"{{BaseUrl}}/{{AppCode}}/api/v2/custom_channel/send","description":"<h2 id=\"sample-response\">Sample Response </h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"choosen_agent\": null,\n        \"room_id\": \"2270645\",\n        \"message\": {\n            \"message\": \"Hi good morning\",\n            \"payload\": {\n                \"text\": \"silahkan pencet\",\n                \"buttons\": [\n                    {\n                        \"label\": \"button1\",\n                        \"postback_text\": \"\",\n                        \"type\": \"postback\",\n                        \"payload\": {\n                            \"url\": \"http://somewhere.com/button1\",\n                            \"method\": \"get\",\n                            \"payload\": null\n                        }\n                    },\n                    {\n                        \"label\": \"button2\",\n                        \"postback_text\": \"\",\n                        \"type\": \"link\",\n                        \"payload\": {\n                            \"url\": \"http://somewhere.com/button2?id=123\",\n                            \"method\": \"\",\n                            \"payload\": null\n                        }\n                    }\n                ]\n            },\n            \"timestamp\": \"2019-04-26T07:58:40Z\",\n            \"type\": \"buttons\",\n            \"user\": {\n                \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/kiwari-prod/image/upload/wMWsDZP6ta/1516689726-ic_qiscus_client.png\",\n                \"extras\": {},\n                \"user_id\": \"johndoe@gmail.com\",\n                \"username\": \"John Doe\"\n            }\n        }\n    }\n}\n</code></pre>\n","urlObject":{"path":["{{AppCode}}","api","v2","custom_channel","send"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7dc436e8-7b1a-40c4-ab13-2536d99c5555"},{"name":"Send Mesage Carousel","id":"74a4d38c-de9e-4765-8295-75b101f7e022","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"identifier_key\": \"paijem\",\n\t\"user_id\": \"johndoe@gmail.com\", \n\t\"name\": \"John Doe\",\n\t\"message\": \"Hi good morning\",\n\t\"type\": \"carousel\",\n\t\"payload\": {\n\t\t\"cards\": [\n\t\t\t{\n\t\t\t\t\"image\": \"http://url.com/gambar.jpg\",\n\t            \"title\": \"Atasan Blouse Tunik Wanita Baju Muslim Worie Longtop\",\n\t            \"description\": \"Oleh sippnshop\\n96% (666 feedback)\\nRp 49.000.00,-\\nBUY 2 GET 1 FREE!!!\",\n\t            \"default_action\": {\n\t                \"type\": \"postback\",\n\t                \"postback_text\": \"Load more\",\n\t                \"payload\": {\n\t                    \"url\": \"http://url.com/baju?id=123&track_from_chat_room=123\",\n\t                    \"method\": \"get\",\n\t                    \"payload\": null\n\t                }\n\t            },\n\t            \"buttons\": [\n\t                {\n\t                    \"label\": \"button1\",\n\t                    \"type\": \"postback\",\n\t                    \"postback_text\": \"Load more\",\n\t                    \"payload\": {\n\t                        \"url\": \"http://somewhere.com/button1\",\n\t                        \"method\": \"get\",\n\t                        \"payload\": null\n\t                    }\n\t                },\n\t                {\n\t                    \"label\": \"button2\",\n\t                    \"type\": \"link\",\n\t                    \"payload\": {\n\t                        \"method\": \"get\", \n\t                        \"url\": \"http://somewhere.com/button2?id=123\"\n\t                    }\n\t                }\n\t            ]\n\t\t\t}\n\t\t]\n\t}\n}"},"url":"{{BaseUrl}}/{{AppCode}}/api/v2/custom_channel/send","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"choosen_agent\": null,\n        \"room_id\": \"2270645\",\n        \"message\": {\n            \"message\": \"Hi good morning\",\n            \"payload\": {\n                \"cards\": [\n                    {\n                        \"image\": \"http://url.com/gambar.jpg\",\n                        \"title\": \"Atasan Blouse Tunik Wanita Baju Muslim Worie Longtop\",\n                        \"description\": \"Oleh sippnshop\\n96% (666 feedback)\\nRp 49.000.00,-\\nBUY 2 GET 1 FREE!!!\",\n                        \"default_action\": {\n                            \"type\": \"postback\",\n                            \"postback_text\": \"Load more\",\n                            \"payload\": {\n                                \"url\": \"http://url.com/baju?id=123&amp;track_from_chat_room=123\",\n                                \"method\": \"get\",\n                                \"payload\": null\n                            }\n                        },\n                        \"buttons\": [\n                            {\n                                \"label\": \"button1\",\n                                \"postback_text\": \"Load more\",\n                                \"type\": \"postback\",\n                                \"payload\": {\n                                    \"url\": \"http://somewhere.com/button1\",\n                                    \"method\": \"get\",\n                                    \"payload\": null\n                                }\n                            },\n                            {\n                                \"label\": \"button2\",\n                                \"postback_text\": \"\",\n                                \"type\": \"link\",\n                                \"payload\": {\n                                    \"url\": \"http://somewhere.com/button2?id=123\",\n                                    \"method\": \"get\",\n                                    \"payload\": null\n                                }\n                            }\n                        ]\n                    }\n                ]\n            },\n            \"timestamp\": \"2019-04-26T08:10:25Z\",\n            \"type\": \"carousel\",\n            \"user\": {\n                \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/kiwari-prod/image/upload/wMWsDZP6ta/1516689726-ic_qiscus_client.png\",\n                \"extras\": {},\n                \"user_id\": \"johndoe@gmail.com\",\n                \"username\": \"John Doe\"\n            }\n        }\n    }\n}\n</code></pre>\n","urlObject":{"path":["{{AppCode}}","api","v2","custom_channel","send"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"74a4d38c-de9e-4765-8295-75b101f7e022"}],"id":"6188f11a-cf54-4932-b638-2b503fa46cda","_postman_id":"6188f11a-cf54-4932-b638-2b503fa46cda","description":""},{"name":"Get all channels","id":"df5eaa79-37a8-4457-a369-2a81844bf83c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/channels","description":"<p>Sample Response </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"fb_channels\": [\n            {\n                \"id\": 2,\n                \"is_active\": true,\n                \"profile_name\": null,\n                \"page_id\": \"1031572103650792\",\n                \"badge_url\": null\n            }\n        ],\n        \"line_channels\": [\n            {\n                \"id\": 1,\n                \"is_active\": true,\n                \"access_token\": \"Pp/jH4qjs7Uhn+2xuwMSeSdt86ExEPnVyAdQczXdto4/xePBz/DprwdzVlfv6BWqaD1slHbf+9QcCDGeyWzQjzojBzUlcrZyjtu5RH+y3N0aRxoYsbsQFQwaHTh+ViL+KfQPHz2SPnfrujA6D4KItQdB04t89/1O/w1cDnyilFU=\",\n                \"secret_key\": \"325c95c18e4bbec44f49924d28fce889\",\n                \"badge_url\": null,\n                \"name\": null\n            },\n            {\n                \"id\": 2,\n                \"is_active\": true,\n                \"access_token\": \"lksajd12093801\",\n                \"secret_key\": \"aljskla2109082\",\n                \"badge_url\": \"https://www.gambar.com\",\n                \"name\": \"line1\"\n            },\n            {\n                \"id\": 3,\n                \"is_active\": true,\n                \"access_token\": \"lksajd12093801\",\n                \"secret_key\": \"aljskla2109082\",\n                \"badge_url\": \"https://www.gambar2.com\",\n                \"name\": \"line1\"\n            },\n            {\n                \"id\": 4,\n                \"is_active\": true,\n                \"access_token\": \"lksajd12093801\",\n                \"secret_key\": \"aljskla2109082\",\n                \"badge_url\": \"https://www.gambar3.com\",\n                \"name\": \"line1\"\n            },\n            {\n                \"id\": 5,\n                \"is_active\": true,\n                \"access_token\": \"lksajd12093801\",\n                \"secret_key\": \"aljskla2109082\",\n                \"badge_url\": null,\n                \"name\": \"line1\"\n            },\n            {\n                \"id\": 6,\n                \"is_active\": true,\n                \"access_token\": \"lksajd12093801\",\n                \"secret_key\": \"aljskla2109082\",\n                \"badge_url\": \"https://www.gambar3.com\",\n                \"name\": \"line1\"\n            },\n            {\n                \"id\": 7,\n                \"is_active\": true,\n                \"access_token\": \"lksajd12093801\",\n                \"secret_key\": \"aljskla2109082\",\n                \"badge_url\": \"https://www.gambar3.com\",\n                \"name\": null\n            },\n            {\n                \"id\": 8,\n                \"is_active\": true,\n                \"access_token\": \"lksajd12093801\",\n                \"secret_key\": \"aljskla2109082\",\n                \"badge_url\": \"https://www.gambar3.com\",\n                \"name\": \"line1\"\n            }\n        ],\n        \"qiscus_channels\": [\n            {\n                \"id\": 1,\n                \"is_active\": true,\n                \"app_code\": \"keex-qsh9hh68ejle4cmn\",\n                \"secret_key\": \"a436f07e29623490476321488c2e707a\"\n            }\n        ],\n        \"telegram_channels\": [\n            {\n                \"id\": 33,\n                \"is_active\": true,\n                \"name\": \"moderatobot\",\n                \"username\": \"moderatobot\",\n                \"bot_token\": \"728155407:AAEBaAIu0XRpqCowNR4ckSPk8JG6o-gCdQ4\",\n                \"badge_url\": null\n            }\n        ],\n        \"wa_channels\": [\n            {\n                \"id\": 14,\n                \"is_active\": true,\n                \"base_url\": \"https://whatsapp.kata.ai\",\n                \"base64_user_credential\": \"\",\n                \"is_ssl_enabled\": false,\n                \"badge_url\": null,\n                \"name\": null\n            },\n            {\n                \"id\": 13,\n                \"is_active\": true,\n                \"base_url\": \"https://149.129.253.28:7501\",\n                \"base64_user_credential\": \"YWRtaW46QmlaWlpuM1QyMDE5LiE/QA==\",\n                \"is_ssl_enabled\": false,\n                \"badge_url\": null,\n                \"name\": null\n            }\n        ]\n    }\n}\n</code></pre>\n","urlObject":{"path":["api","v2","channels"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"df5eaa79-37a8-4457-a369-2a81844bf83c"}],"id":"fa4290c8-4e48-41c3-a44d-0c34a1560e2d","_postman_id":"fa4290c8-4e48-41c3-a44d-0c34a1560e2d","description":""},{"name":"Services","item":[{"name":"Admin / other agents","id":"8f4fd6ce-931b-4fc6-9deb-554fbebe2c6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/admin/service/other_agents?room_id=&limit=&cursor_after=&cursor_before=&search","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"agents\": [\n            {\n                \"avatar_url\": null,\n                \"email\": \"budakduit@mail.com\",\n                \"force_offline\": false,\n                \"id\": 38,\n                \"is_available\": false,\n                \"last_login\": null,\n                \"name\": \"budak\",\n                \"sdk_email\": \"28ap__budakduit@mail.com\",\n                \"sdk_key\": \"d0-a690-9ecdc0e8\",\n                \"type\": 2,\n                \"type_as_string\": \"agent\",\n                \"user_channels\": [],\n                \"user_roles\": []\n            },\n            {\n                \"avatar_url\": \"\",\n                \"email\": \"(x)[1563172826]sigitk@gmail.com\",\n                \"force_offline\": false,\n                \"id\": 32,\n                \"is_available\": false,\n                \"last_login\": null,\n                \"name\": \"sigit\",\n                \"sdk_email\": \"ogFiJ_sigitk@gmail.com\",\n                \"sdk_key\": \"Qyni4\",\n                \"type\": 2,\n                \"type_as_string\": \"agent\",\n                \"user_channels\": [],\n                \"user_roles\": []\n            },\n            {\n                \"avatar_url\": \"\",\n                \"email\": \"sigitk@gmail.com\",\n                \"force_offline\": false,\n                \"id\": 33,\n                \"is_available\": false,\n                \"last_login\": \"2019-10-21T10:22:29Z\",\n                \"name\": \"sigitk@gmail.com\",\n                \"sdk_email\": \"ogFiJ_sigitk@gmail.com\",\n                \"sdk_key\": \"XJ4SL\",\n                \"type\": 2,\n                \"type_as_string\": \"agent\",\n                \"user_channels\": [],\n                \"user_roles\": []\n            },\n            {\n                \"avatar_url\": \"\",\n                \"email\": \"pesek@mail.com\",\n                \"force_offline\": false,\n                \"id\": 27,\n                \"is_available\": true,\n                \"last_login\": \"2019-07-25T03:51:55Z\",\n                \"name\": \"hidung pesek\",\n                \"sdk_email\": \"j8GRA_pesek@mail.com\",\n                \"sdk_key\": \"NYsjw\",\n                \"type\": 2,\n                \"type_as_string\": \"agent\",\n                \"user_channels\": [],\n                \"user_roles\": []\n            },\n            {\n                \"avatar_url\": \"\",\n                \"email\": \"kaumduafa@gmail.com\",\n                \"force_offline\": true,\n                \"id\": 9,\n                \"is_available\": false,\n                \"last_login\": \"2019-10-21T12:16:09Z\",\n                \"name\": \"kaumduafa\",\n                \"sdk_email\": \"uwrVk_kaumduafa@gmail.com\",\n                \"sdk_key\": \"UADfm9id\",\n                \"type\": 2,\n                \"type_as_string\": \"agent\",\n                \"user_channels\": [],\n                \"user_roles\": []\n            },\n            {\n                \"avatar_url\": null,\n                \"email\": \"budakduit50@mail.com\",\n                \"force_offline\": false,\n                \"id\": 50,\n                \"is_available\": false,\n                \"last_login\": null,\n                \"name\": \"budak\",\n                \"sdk_email\": \"sLBQG_budakduit50@mail.com\",\n                \"sdk_key\": \"98-a887-812f3828\",\n                \"type\": 2,\n                \"type_as_string\": \"agent\",\n                \"user_channels\": [],\n                \"user_roles\": []\n            },\n            {\n                \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/topa-kxk1fot1mqxboyip/image/upload/kVF9AoINBd/file_8.jpg\",\n                \"email\": \"apiepsatu@mail.com\",\n                \"force_offline\": false,\n                \"id\": 53,\n                \"is_available\": false,\n                \"last_login\": null,\n                \"name\": \"apiepsatu\",\n                \"sdk_email\": \"FHNuV_apiepsatu@mail.com\",\n                \"sdk_key\": \"dd-8239-f80d1cce\",\n                \"type\": 2,\n                \"type_as_string\": \"agent\",\n                \"user_channels\": [],\n                \"user_roles\": []\n            },\n            {\n                \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/topa-kxk1fot1mqxboyip/image/upload/kVF9AoINBd/file_8.jpg\",\n                \"email\": \"apiepsatu1@mail.com\",\n                \"force_offline\": false,\n                \"id\": 54,\n                \"is_available\": false,\n                \"last_login\": null,\n                \"name\": \"apiepsatu\",\n                \"sdk_email\": \"QQiMW_apiepsatu1@mail.com\",\n                \"sdk_key\": \"7b-81cf-09b82c3a\",\n                \"type\": 2,\n                \"type_as_string\": \"agent\",\n                \"user_channels\": [],\n                \"user_roles\": []\n            },\n            {\n                \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/topa-kxk1fot1mqxboyip/image/upload/kVF9AoINBd/file_8.jpg\",\n                \"email\": \"apiepsatu2@mail.com\",\n                \"force_offline\": false,\n                \"id\": 55,\n                \"is_available\": false,\n                \"last_login\": null,\n                \"name\": \"apiepsatu\",\n                \"sdk_email\": \"59a6e_apiepsatu2@mail.com\",\n                \"sdk_key\": \"bc-bd39-6c4ecc05\",\n                \"type\": 2,\n                \"type_as_string\": \"agent\",\n                \"user_channels\": [],\n                \"user_roles\": []\n            },\n            {\n                \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/topa-kxk1fot1mqxboyip/image/upload/kVF9AoINBd/file_8.jpg\",\n                \"email\": \"apiepsatu3@mail.com\",\n                \"force_offline\": false,\n                \"id\": 56,\n                \"is_available\": false,\n                \"last_login\": null,\n                \"name\": \"apiepsatu\",\n                \"sdk_email\": \"ATUcH_apiepsatu3@mail.com\",\n                \"sdk_key\": \"a5-8eb1-12fb09d2\",\n                \"type\": 2,\n                \"type_as_string\": \"agent\",\n                \"user_channels\": [],\n                \"user_roles\": []\n            }\n        ]\n    },\n    \"meta\": {\n        \"after\": \"g2wAAAABbQAAAAlhcGllcHNhdHVq\",\n        \"before\": null,\n        \"per_page\": 10,\n        \"total_count\": 16\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","admin","service","other_agents"],"host":["{{BaseUrl}}"],"query":[{"description":{"content":"<p>required</p>\n","type":"text/plain"},"key":"room_id","value":""},{"key":"limit","value":""},{"key":"cursor_after","value":""},{"key":"cursor_before","value":""},{"key":"search","value":null}],"variable":[]}},"response":[],"_postman_id":"8f4fd6ce-931b-4fc6-9deb-554fbebe2c6b"},{"name":"Agent / other agents","id":"fb3b287b-ddeb-422b-823e-b4935c4f849f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/agent/service/other_agents?cursor_after=&cursor_before&room_id&limit","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"agents\": [\n            {\n                \"avatar_url\": null,\n                \"email\": \"budakduit@mail.com\",\n                \"force_offline\": false,\n                \"id\": 38,\n                \"is_available\": false,\n                \"last_login\": null,\n                \"name\": \"budak\",\n                \"sdk_email\": \"28ap__budakduit@mail.com\",\n                \"sdk_key\": \"d0-a690-9ecdc0e8\",\n                \"type\": 2,\n                \"type_as_string\": \"agent\",\n                \"user_channels\": [],\n                \"user_roles\": []\n            },\n            {\n                \"avatar_url\": \"\",\n                \"email\": \"(x)[1563172826]sigitk@gmail.com\",\n                \"force_offline\": false,\n                \"id\": 32,\n                \"is_available\": false,\n                \"last_login\": null,\n                \"name\": \"sigit\",\n                \"sdk_email\": \"ogFiJ_sigitk@gmail.com\",\n                \"sdk_key\": \"Qyni4\",\n                \"type\": 2,\n                \"type_as_string\": \"agent\",\n                \"user_channels\": [],\n                \"user_roles\": []\n            },\n            {\n                \"avatar_url\": \"\",\n                \"email\": \"sigitk@gmail.com\",\n                \"force_offline\": false,\n                \"id\": 33,\n                \"is_available\": false,\n                \"last_login\": \"2019-10-21T10:22:29Z\",\n                \"name\": \"sigitk@gmail.com\",\n                \"sdk_email\": \"ogFiJ_sigitk@gmail.com\",\n                \"sdk_key\": \"XJ4SL\",\n                \"type\": 2,\n                \"type_as_string\": \"agent\",\n                \"user_channels\": [],\n                \"user_roles\": []\n            },\n            {\n                \"avatar_url\": \"\",\n                \"email\": \"pesek@mail.com\",\n                \"force_offline\": false,\n                \"id\": 27,\n                \"is_available\": true,\n                \"last_login\": \"2019-07-25T03:51:55Z\",\n                \"name\": \"hidung pesek\",\n                \"sdk_email\": \"j8GRA_pesek@mail.com\",\n                \"sdk_key\": \"NYsjw\",\n                \"type\": 2,\n                \"type_as_string\": \"agent\",\n                \"user_channels\": [],\n                \"user_roles\": []\n            },\n            {\n                \"avatar_url\": \"\",\n                \"email\": \"kaumduafa@gmail.com\",\n                \"force_offline\": true,\n                \"id\": 9,\n                \"is_available\": false,\n                \"last_login\": \"2019-10-21T12:16:09Z\",\n                \"name\": \"kaumduafa\",\n                \"sdk_email\": \"uwrVk_kaumduafa@gmail.com\",\n                \"sdk_key\": \"UADfm9id\",\n                \"type\": 2,\n                \"type_as_string\": \"agent\",\n                \"user_channels\": [],\n                \"user_roles\": []\n            },\n            {\n                \"avatar_url\": null,\n                \"email\": \"budakduit50@mail.com\",\n                \"force_offline\": false,\n                \"id\": 50,\n                \"is_available\": false,\n                \"last_login\": null,\n                \"name\": \"budak\",\n                \"sdk_email\": \"sLBQG_budakduit50@mail.com\",\n                \"sdk_key\": \"98-a887-812f3828\",\n                \"type\": 2,\n                \"type_as_string\": \"agent\",\n                \"user_channels\": [],\n                \"user_roles\": []\n            },\n            {\n                \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/topa-kxk1fot1mqxboyip/image/upload/kVF9AoINBd/file_8.jpg\",\n                \"email\": \"apiepsatu@mail.com\",\n                \"force_offline\": false,\n                \"id\": 53,\n                \"is_available\": false,\n                \"last_login\": null,\n                \"name\": \"apiepsatu\",\n                \"sdk_email\": \"FHNuV_apiepsatu@mail.com\",\n                \"sdk_key\": \"dd-8239-f80d1cce\",\n                \"type\": 2,\n                \"type_as_string\": \"agent\",\n                \"user_channels\": [],\n                \"user_roles\": []\n            },\n            {\n                \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/topa-kxk1fot1mqxboyip/image/upload/kVF9AoINBd/file_8.jpg\",\n                \"email\": \"apiepsatu1@mail.com\",\n                \"force_offline\": false,\n                \"id\": 54,\n                \"is_available\": false,\n                \"last_login\": null,\n                \"name\": \"apiepsatu\",\n                \"sdk_email\": \"QQiMW_apiepsatu1@mail.com\",\n                \"sdk_key\": \"7b-81cf-09b82c3a\",\n                \"type\": 2,\n                \"type_as_string\": \"agent\",\n                \"user_channels\": [],\n                \"user_roles\": []\n            },\n            {\n                \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/topa-kxk1fot1mqxboyip/image/upload/kVF9AoINBd/file_8.jpg\",\n                \"email\": \"apiepsatu2@mail.com\",\n                \"force_offline\": false,\n                \"id\": 55,\n                \"is_available\": false,\n                \"last_login\": null,\n                \"name\": \"apiepsatu\",\n                \"sdk_email\": \"59a6e_apiepsatu2@mail.com\",\n                \"sdk_key\": \"bc-bd39-6c4ecc05\",\n                \"type\": 2,\n                \"type_as_string\": \"agent\",\n                \"user_channels\": [],\n                \"user_roles\": []\n            },\n            {\n                \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/topa-kxk1fot1mqxboyip/image/upload/kVF9AoINBd/file_8.jpg\",\n                \"email\": \"apiepsatu3@mail.com\",\n                \"force_offline\": false,\n                \"id\": 56,\n                \"is_available\": false,\n                \"last_login\": null,\n                \"name\": \"apiepsatu\",\n                \"sdk_email\": \"ATUcH_apiepsatu3@mail.com\",\n                \"sdk_key\": \"a5-8eb1-12fb09d2\",\n                \"type\": 2,\n                \"type_as_string\": \"agent\",\n                \"user_channels\": [],\n                \"user_roles\": []\n            }\n        ]\n    },\n    \"meta\": {\n        \"after\": \"g2wAAAABbQAAAAlhcGllcHNhdHVq\",\n        \"before\": null,\n        \"per_page\": 10,\n        \"total_count\": 16\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","agent","service","other_agents"],"host":["{{BaseUrl}}"],"query":[{"key":"cursor_after","value":""},{"key":"cursor_before","value":null},{"description":{"content":"<p>optional</p>\n","type":"text/plain"},"key":"room_id","value":null},{"key":"limit","value":null}],"variable":[]}},"response":[],"_postman_id":"fb3b287b-ddeb-422b-823e-b4935c4f849f"},{"name":"Admin / available agents","id":"24ac0db1-9284-446a-b3f9-2c1118feca12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/admin/service/available_agents?room_id=4862411&limit=&cursor_after=&cursor_before&is_available_in_room=","urlObject":{"path":["api","v2","admin","service","available_agents"],"host":["{{BaseUrl}}"],"query":[{"description":{"content":"<p>required</p>\n","type":"text/plain"},"key":"room_id","value":"4862411"},{"key":"limit","value":""},{"key":"cursor_after","value":""},{"key":"cursor_before","value":null},{"key":"is_available_in_room","value":""}],"variable":[]}},"response":[],"_postman_id":"24ac0db1-9284-446a-b3f9-2c1118feca12"},{"name":"Agent / available agents","id":"e3985d69-6dcb-402b-88c1-7a12edd2bff4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/agent/service/available_agents?room_id=&limit=&cursor_after=&cursor_before&is_available_in_room=","urlObject":{"path":["api","v2","agent","service","available_agents"],"host":["{{BaseUrl}}"],"query":[{"description":{"content":"<p>required</p>\n","type":"text/plain"},"key":"room_id","value":""},{"key":"limit","value":""},{"key":"cursor_after","value":""},{"key":"cursor_before","value":null},{"key":"is_available_in_room","value":""}],"variable":[]}},"response":[],"_postman_id":"e3985d69-6dcb-402b-88c1-7a12edd2bff4"},{"name":"Agent / Get Total Unserved","id":"a059f89d-ca0c-42ab-a30d-a30f27f0019e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{adminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/agent/service/total_unserved","urlObject":{"path":["api","v2","agent","service","total_unserved"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a059f89d-ca0c-42ab-a30d-a30f27f0019e"},{"name":"Agent / Takeover Unserved","id":"f874c3da-b09a-496e-b3a2-6e84f4018b57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{Token}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/agent/service/takeover_unserved","urlObject":{"path":["api","v2","agent","service","takeover_unserved"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f874c3da-b09a-496e-b3a2-6e84f4018b57"},{"name":"Agent / Add Agent","id":"51f568b5-3897-4f44-a272-800c80debb9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AgentToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"room_id\": \"11111111\",\n    \"agent_id\": 32323\n}","options":{"raw":{"language":"json"}}},"url":"{{BaseUrl}}/api/v2/agent/service/add_agent","urlObject":{"path":["api","v2","agent","service","add_agent"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"51f568b5-3897-4f44-a272-800c80debb9c"},{"name":"available bulk agents","id":"96ee48b6-3ab1-4a31-b293-1d8357609afc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AgentToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/agent/service/bulk/agents","urlObject":{"path":["api","v2","agent","service","bulk","agents"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"96ee48b6-3ab1-4a31-b293-1d8357609afc"}],"id":"bcb41db3-77a5-4e65-bb4f-c33ab56c6e22","_postman_id":"bcb41db3-77a5-4e65-bb4f-c33ab56c6e22","description":""},{"name":"Rooms","item":[{"name":"Tags","item":[{"name":"Create Tag","id":"02885b07-8cfb-4e48-a122-6d586ee65e07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Qiscus-App-Id","value":"{{AppCode}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"tag","value":"Potential Customers","type":"text"}]},"url":"{{BaseUrl}}/api/v2/room_tags/{{room_id}}","description":"<p><code>accessibility: all</code></p>\n<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"app_id\": 1203xx,\n        \"created_at\": \"2024-09-10T03:58:27\",\n        \"id\": 3445xx,\n        \"name\": \"Potential Customers\",\n        \"updated_at\": \"2024-09-10T03:58:27\"\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["api","v2","room_tags","{{room_id}}"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"43684e40-8d5d-4189-b692-0bfbbdce7b3c","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Qiscus-App-Id","value":"{{AppCode}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","type":"text","value":"review","disabled":true},{"key":"tag","value":"Potential Customers","type":"text"}]},"url":"{{BaseUrl}}/api/v2/room_tags/{{room_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 10 Sep 2024 03:58:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"access-control-allow-methods","value":"POST, HEAD, GET, OPTIONS, DELETE, PUT, PATCH"},{"key":"access-control-allow-origin","value":"*"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"F_PF7d6cCetz5JoAlwbR"},{"key":"strict-transport-security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"referrer-policy","value":"same-origin"},{"key":"permissions-policy","value":"geolocation=(),fullscreen=(self)"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=RTecTfHUf3h13%2Fz9KoB12mL4BhTDeEE1E5Vm3Lpc6EAiyoe%2F22okKMXl6%2BpWlqitEm4D0LA4iXWVi22ImEnp2kvaqdOx8twuM40ZI69rc1QjpFZkEBHb4yC4btUVQ9wb3vvL0%2BB0uh4%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8c0c7feea926471b-SIN"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"app_id\": 1203xx,\n        \"created_at\": \"2024-09-10T03:58:27\",\n        \"id\": 3445xx,\n        \"name\": \"Potential Customers\",\n        \"updated_at\": \"2024-09-10T03:58:27\"\n    }\n}"}],"_postman_id":"02885b07-8cfb-4e48-a122-6d586ee65e07"},{"name":"Get Tags","id":"738456db-78b8-4bd4-b501-1eb0950f3642","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{AdminToken}}"},{"key":"Qiscus-App-Id","type":"text","value":"{{AppCode}}"}],"url":"{{BaseUrl}}/api/v2/room_tags/{{room_id}}","description":"<p><code>accessibility: admin|user-defined</code></p>\n<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [\n        {\n            \"id\": 19,\n            \"name\": \"singapura\"\n        },\n        {\n            \"id\": 20,\n            \"name\": \"vietnam\"\n        }\n    ]\n}\n</code></pre>\n","urlObject":{"path":["api","v2","room_tags","{{room_id}}"],"host":["{{BaseUrl}}"],"query":[{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[],"_postman_id":"738456db-78b8-4bd4-b501-1eb0950f3642"},{"name":"Delete Room Tag","id":"67baaea5-5be4-4beb-bc02-b1012aad63c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","type":"text","value":"{{AdminToken}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Qiscus-App-Id","type":"text","value":"{{AppCode}}"}],"url":"{{BaseUrl}}/api/v2/room_tags/{{room_id}}/{{tag_id}}","description":"<p><code>accessibility: admin|user-defined</code></p>\n<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": \"Data has been deleted\"\n}\n</code></pre>\n","urlObject":{"path":["api","v2","room_tags","{{room_id}}","{{tag_id}}"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"67baaea5-5be4-4beb-bc02-b1012aad63c1"}],"id":"ca252048-be30-447b-ad8a-422bd23a5f33","_postman_id":"ca252048-be30-447b-ad8a-422bd23a5f33","description":""},{"name":"Customer Rooms","id":"29525162-3c7a-4e1b-ad1b-8b87cd04a68e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{Token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"channels\": [\n\t\t{\"channel_id\": 23, \"source\": \"wa\"},\n\t\t{\"channel_id\": 1, \"source\": \"qiscus\"}\n\t],\n\t\"serve_status\": \"unserved\",\n\t\"status\": \"expired\",\n\t\"is_handled_by_bot\": true,\n\t\"name\": \"\",\n\t\"limit\": 1,\n\t\"order\": \"desc\",\n\t\"cursor_after\": \"$CURSOR_AFTER_VALUE\",\n\t\"cursor_before\": \"$CURSOR_BEFORE_VALUE\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BaseUrl}}/api/v2/customer_rooms","description":"<h2 id=\"field-info\">Field Info</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>type</th>\n<th>info</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>channels</td>\n<td>channel</td>\n<td>ie: {\"channel_id\": 2, \"source\": \"wa\"}</td>\n</tr>\n<tr>\n<td>*channel.source</td>\n<td>enum</td>\n<td>acceptable value : \"wa\", \"telegram\", \"qiscus\", \"line\",\"fb\"</td>\n</tr>\n<tr>\n<td>status</td>\n<td>enum</td>\n<td>acceptable value: \"resolved\", \"unresolved\", \"almost_expired\", \"expired\"</td>\n</tr>\n<tr>\n<td>serve_status</td>\n<td>enum</td>\n<td>acceptable value: \"served\", \"unserved\"</td>\n</tr>\n<tr>\n<td>is_handled_by_bot</td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>search room by name</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>integer</td>\n<td>limit room loaded</td>\n</tr>\n<tr>\n<td>order</td>\n<td>enum</td>\n<td>acceptable value: \"asc\", \"desc\"</td>\n</tr>\n<tr>\n<td>cursor_after</td>\n<td>string</td>\n<td>cursor to fetch next page</td>\n</tr>\n<tr>\n<td>cursor_before</td>\n<td>string</td>\n<td>cursor to fetch previous page</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"customer_rooms\": [\n            {\n                \"channel_id\": 23,\n                \"id\": 315,\n                \"is_handled_by_bot\": true,\n                \"is_resolved\": true,\n                \"is_waiting\": false,\n                \"last_comment_text\": \"qwe\",\n                \"last_comment_timestamp\": \"2020-01-06 02:37:48\",\n                \"name\": \"932186238\",\n                \"phone_number\": null,\n                \"room_badge\": null,\n                \"room_id\": \"7700975\",\n                \"source\": \"wa\",\n                \"user_avatar_url\": \"https://image.flaticon.com/icons/svg/145/145867.svg\",\n                \"user_id\": \"932186238\"\n            }\n        ]\n    },\n    \"meta\": {\n        \"current_total\": 1,\n        \"cursor_after\": \"2020-01-06 02:37:48\",\n        \"cursor_before\": \"2020-01-06 02:37:48\"\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","customer_rooms"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"29525162-3c7a-4e1b-ad1b-8b87cd04a68e"},{"name":"Get Room By Room Id","id":"a4f1a6b9-340c-4cfd-a2d3-bf4e5c0bf5f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{Token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/customer_rooms/{{RoomId}}","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"customer_room\": {\n            \"channel_id\": 1,\n            \"id\": 127,\n            \"is_handled_by_bot\": true,\n            \"is_resolved\": true,\n            \"is_waiting\": false,\n            \"last_comment_text\": null,\n            \"last_comment_timestamp\": \"2019-11-19 00:00:00\",\n            \"last_customer_timestamp\": null,\n            \"name\": \"nibba4\",\n            \"room_badge\": null,\n            \"room_id\": \"3320049\",\n            \"source\": \"qiscus\",\n            \"user_avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/kiwari-prod/image/upload/wMWsDZP6ta/1516689726-ic_qiscus_client.png\",\n            \"user_id\": \"932186238\"\n        }\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","customer_rooms","{{RoomId}}"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a4f1a6b9-340c-4cfd-a2d3-bf4e5c0bf5f1"},{"name":"Get Latest Room","id":"1d52e53c-7aaa-4d8e-ab95-96a6f45c00f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{Token}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{BaseUrl}}/api/v2/rooms/latest?channel_id=1&source=wa&user_id=6285645553344&resolved=false","description":"<p>Get latest customer room</p>\n<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"customer_room\": {\n            \"channel_id\": 1,\n            \"id\": 127,\n            \"is_handled_by_bot\": true,\n            \"is_resolved\": true,\n            \"is_waiting\": false,\n            \"last_comment_text\": null,\n            \"last_comment_timestamp\": \"2019-11-19 00:00:00\",\n            \"last_customer_timestamp\": null,\n            \"name\": \"nibba4\",\n            \"room_badge\": null,\n            \"room_id\": \"3320049\",\n            \"source\": \"qiscus\",\n            \"user_avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/kiwari-prod/image/upload/wMWsDZP6ta/1516689726-ic_qiscus_client.png\",\n            \"user_id\": \"932186238\"\n        }\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","rooms","latest"],"host":["{{BaseUrl}}"],"query":[{"description":{"content":"<p>id of channel</p>\n","type":"text/plain"},"key":"channel_id","value":"1"},{"description":{"content":"<p>type of channel either 'wa', 'fb', 'telegram', 'line', 'qiscus' or custom channel identifier key</p>\n","type":"text/plain"},"key":"source","value":"wa"},{"description":{"content":"<p>customer unique identifier</p>\n","type":"text/plain"},"key":"user_id","value":"6285645553344"},{"description":{"content":"<p>optional, default false(means only return unresolved room), if true will include resolved room </p>\n","type":"text/plain"},"key":"resolved","value":"false"}],"variable":[]}},"response":[],"_postman_id":"1d52e53c-7aaa-4d8e-ab95-96a6f45c00f2"},{"name":"Customer Rooms Filter by Tag IDs","id":"91f49488-6262-4878-92bd-cc24ca184fc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{Token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"tag_ids\": [120, 133],\n\t\"limit\": 1,\n\t\"order\": \"desc\",\n\t\"cursor_after\": \"$CURSOR_AFTER_VALUE\",\n\t\"cursor_before\": \"$CURSOR_BEFORE_VALUE\"\n}"},"url":"{{BaseUrl}}/api/v2/customer_rooms","description":"<h2 id=\"field-info\">Field Info</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>type</th>\n<th>info</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>tag_ids</td>\n<td>array</td>\n<td>ie: [1, 2]</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>integer</td>\n<td>limit room loaded</td>\n</tr>\n<tr>\n<td>order</td>\n<td>enum</td>\n<td>acceptable value: \"asc\", \"desc\"</td>\n</tr>\n<tr>\n<td>cursor_after</td>\n<td>string</td>\n<td>cursor to fetch next page</td>\n</tr>\n<tr>\n<td>cursor_before</td>\n<td>string</td>\n<td>cursor to fetch previous page</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"customer_rooms\": [\n            {\n                \"channel_id\": 23,\n                \"id\": 315,\n                \"is_handled_by_bot\": true,\n                \"is_resolved\": true,\n                \"is_waiting\": false,\n                \"last_comment_text\": \"qwe\",\n                \"last_comment_timestamp\": \"2020-01-06 02:37:48\",\n                \"name\": \"932186238\",\n                \"phone_number\": null,\n                \"room_badge\": null,\n                \"room_id\": \"7700975\",\n                \"source\": \"wa\",\n                \"user_avatar_url\": \"https://image.flaticon.com/icons/svg/145/145867.svg\",\n                \"user_id\": \"932186238\"\n            }\n        ]\n    },\n    \"meta\": {\n        \"current_total\": 1,\n        \"cursor_after\": \"2020-01-06 02:37:48\",\n        \"cursor_before\": \"2020-01-06 02:37:48\"\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","customer_rooms"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"91f49488-6262-4878-92bd-cc24ca184fc6"},{"name":"Get Room Broadcast Histories","id":"a4cc7745-7bfc-4594-85f9-c0f8293612c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/customer_rooms/{{RoomId}}/broadcast_history","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"broadcast_logs\": [\n            {\n                \"customer_name\": \"aulia\",\n                \"id\": 315,\n                \"message\": \"Hi 1 .We're sorry that We wasn't able to respond to your concerns yesterday but We're happy to assist you now. If you’d like to continue this discussion, please reply with ‘yes’\",\n                \"message_id\": \"gBGHYoUyZyWUbwIJlZz7bD-V59cl\",\n                \"notes\": null,\n                \"params\": \"[\\\"1\\\",\\\"2\\\",\\\"3\\\",\\\"4\\\",\\\"5\\\"]\",\n                \"phone_number\": \"85326725946\",\n                \"sent_at\": \"2019-12-27T10:28:34Z\",\n                \"status\": 4,\n                \"template_name\": \"followup_message\"\n            }\n        ]\n    },\n    \"meta\": {\n        \"limit\": 10,\n        \"page\": 1,\n        \"total\": 1,\n        \"total_page\": 1\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","customer_rooms","{{RoomId}}","broadcast_history"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a4cc7745-7bfc-4594-85f9-c0f8293612c7"}],"id":"a7f88de9-8ab6-401e-8d3b-78804f9b2589","_postman_id":"a7f88de9-8ab6-401e-8d3b-78804f9b2589","description":""},{"name":"HSM & WA Broadcast","item":[{"name":"Template [Admin]","item":[{"name":"List Broadcast Template","id":"c684e8a8-f1ed-4fda-8200-e9fe7672c599","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/admin/hsm?page=1&limit=10&approved","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"hsm_quota\": 1000,\n        \"hsm_templates\": [\n            {\n                \"category\": \"shopp\",\n                \"channel_id\": 13,\n                \"channel_name\": \"a\",\n                \"id\": 2,\n                \"name\": \"template_c\",\n                \"namespace\": \"hthth\",\n                \"type\": 2,\n                \"hsm_details\": [\n                    {\n                        \"id\": 2,\n                        \"approval_status\": 0,\n                        \"content\": \"abcde fghij {1}\",\n                        \"language\": \"en\",\n                        \"number_of_arguments\": 1,\n                        \"rejection_reason\": null,\n                        \"tested\": true\n                    },\n                    {\n                        \"id\": 4,\n                        \"approval_status\": 0,\n                        \"content\": \"abcde fghij {1}\",\n                        \"language\": \"id\",\n                        \"number_of_arguments\": 1,\n                        \"rejection_reason\": null,\n                        \"tested\": true\n                    }\n                ]\n            },\n            {\n                \"category\": \"shopp\",\n                \"channel_id\": 13,\n                \"channel_name\": \"a\",\n                \"id\": 3,\n                \"name\": \"template_c\",\n                \"namespace\": \"hthth\",\n                \"type\": 2,\n                \"hsm_details\": [\n                    {\n                        \"id\": 5,\n                        \"approval_status\": 0,\n                        \"content\": \"abcde fghij {1}\",\n                        \"language\": \"en\",\n                        \"number_of_arguments\": 1,\n                        \"rejection_reason\": null,\n                        \"tested\": true\n                    },\n                    {\n                        \"id\": 6,\n                        \"approval_status\": 0,\n                        \"content\": \"abcde fghij {1}\",\n                        \"language\": \"id\",\n                        \"number_of_arguments\": 1,\n                        \"rejection_reason\": null,\n                        \"tested\": true\n                    }\n                ]\n            }\n        ]\n    },\n    \"meta\": {\n        \"limit\": 10,\n        \"page\": 1,\n        \"total_page\": 1\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","admin","hsm"],"host":["{{BaseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"description":{"content":"<p>boolean, optional</p>\n","type":"text/plain"},"key":"approved","value":null}],"variable":[]}},"response":[],"_postman_id":"c684e8a8-f1ed-4fda-8200-e9fe7672c599"},{"name":"Broadcast Template Detail","id":"eea7b31c-f2ed-46fc-bddc-c4e9466349da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/admin/hsm/show/{{HsmID}}","urlObject":{"path":["api","v2","admin","hsm","show","{{HsmID}}"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"eea7b31c-f2ed-46fc-bddc-c4e9466349da"},{"name":"[DEPRECATED] Create Broadcast Template","id":"ef213209-6aeb-436b-b117-1ca438d139f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"have_template\": false,\n    \"channel_id\": {{ChannelID}},\n    \"name\": \"name\",\n    \"category\": \"notification\",\n    \"hsm_details\": [\n        {\n            \"content\": \"Content {{1}} {{2}} {{3}}\",\n            \"language\": \"en\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{BaseUrl}}/api/v2/admin/hsm/create","urlObject":{"path":["api","v2","admin","hsm","create"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef213209-6aeb-436b-b117-1ca438d139f8"},{"name":"[DEPRECATED] Create MMT Broadcast Template","id":"509d337a-0a2a-4e9f-a60c-ecf352a15240","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"have_template\": false,\n    \"channel_id\": {{ChannelID}},\n    \"name\": \"name\",\n    \"category\": \"notification\",\n    \"header_type\": \"image\",\n    \"header_default_value\": {\n        \"type\": \"image\",\n        \"image\": {\n            \"link\": \"https://google.com/icon.png\"\n        }\n    },\n    \"hsm_details\": [\n        {\n            \"content\": \"Content {{1}} {{2}} {{3}}\",\n            \"language\": \"en\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{BaseUrl}}/api/v2/admin/hsm/create","urlObject":{"path":["api","v2","admin","hsm","create"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"509d337a-0a2a-4e9f-a60c-ecf352a15240"},{"name":"[DEPRECATED] Update Broadcast Template","id":"83a73081-4e42-41a2-a044-354fe24c608b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"hsm_details\": [\n        {\n            \"content\": \"Content {{1}} {{2}} {{3}}\",\n            \"language\": \"my\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{BaseUrl}}/api/v2/admin/hsm/update/{{HsmID}}","urlObject":{"path":["api","v2","admin","hsm","update","{{HsmID}}"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"83a73081-4e42-41a2-a044-354fe24c608b"},{"name":"Delete Broadcast Template","id":"850ad374-3ca5-4643-bb5d-9c20f48eb47d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/admin/hsm/delete/{{HsmID}}","urlObject":{"path":["api","v2","admin","hsm","delete","{{HsmID}}"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"850ad374-3ca5-4643-bb5d-9c20f48eb47d"},{"name":"Get HSM 24 Template","id":"10b8852f-ebe2-4fed-8d0f-5fe2308b8fd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/admin/hsm_24?channel_id={{ChannelID}}&approved=true","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"enabled\": true,\n        \"hsm_quota\": 1000,\n        \"hsm_template\": {\n            \"category\": \"shopp\",\n            \"channel_id\": 13,\n            \"channel_name\": \"a\",\n            \"id\": 2,\n            \"name\": \"template_c\",\n            \"namespace\": \"hthth\",\n            \"type\": 1,\n            \"hsm_details\": [\n                {\n                    \"id\": 2,\n                    \"approval_status\": 0,\n                    \"content\": \"abcde fghij {1}\",\n                    \"language\": \"en\",\n                    \"number_of_arguments\": 1,\n                    \"rejection_reason\": null,\n                    \"tested\": true\n                },\n                {\n                    \"id\": 4,\n                    \"approval_status\": 0,\n                    \"content\": \"abcde fghij {1}\",\n                    \"language\": \"id\",\n                    \"number_of_arguments\": 1,\n                    \"rejection_reason\": null,\n                    \"tested\": true\n                }\n            ]\n        }\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","admin","hsm_24"],"host":["{{BaseUrl}}"],"query":[{"key":"channel_id","value":"{{ChannelID}}"},{"key":"approved","value":"true"}],"variable":[]}},"response":[],"_postman_id":"10b8852f-ebe2-4fed-8d0f-5fe2308b8fd2"},{"name":"Create HSM 24 Template","id":"257a1a61-b6b2-4ca9-90e0-f461a407613b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"have_template\": false,\n    \"channel_id\": {{ChannelID}},\n    \"name\": \"name\",\n    \"category\": \"notification\",\n    \"hsm_details\": [\n        {\n            \"content\": \"Content {{1}} {{2}} {{3}}\",\n            \"language\": \"en\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{BaseUrl}}/api/v2/admin/hsm_24/create","urlObject":{"path":["api","v2","admin","hsm_24","create"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"257a1a61-b6b2-4ca9-90e0-f461a407613b"},{"name":"Toggle HSM 24 Template","id":"d7390851-20d7-4ffb-8fc9-d6d05376d07a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"channel_id","value":"{{ChannelID}}","type":"text"},{"key":"enabled","value":"true","type":"text"}]},"url":"{{BaseUrl}}/api/v2/admin/hsm_24/toggle","urlObject":{"path":["api","v2","admin","hsm_24","toggle"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d7390851-20d7-4ffb-8fc9-d6d05376d07a"}],"id":"2e945f19-e437-413f-9bce-99bfdcc7b920","_postman_id":"2e945f19-e437-413f-9bce-99bfdcc7b920","description":""},{"name":"Broadcast","item":[{"name":"[admin] Client Broadcast","id":"c2242d39-bae0-4ac9-8fb4-d2b6d47c5f41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"{{AdminToken}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>optional, if null will use first wa channel</p>\n","key":"channel_id","type":"text","value":""},{"description":"<p>required</p>\n","key":"template_name","type":"text","value":""},{"description":"<p>required</p>\n","key":"namespace","type":"text","value":""},{"description":"<p>string, required</p>\n","key":"language","type":"text","value":""},{"description":"<p>array of string, required</p>\n","key":"variables[]","type":"text","value":""},{"description":"<p>string, required</p>\n","key":"phone_number","type":"text","value":""}]},"url":"{{BaseUrl}}/api/v2/admin/broadcast/client_broadcast","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"message_id\": \"gBGHYoVkFwZnjwIJIlWHwNL795u_\",\n        \"name\": \"followup_message\",\n        \"namespace\": \"eaedec07_5fb9_42cd_8b97_f033d0d4392f\",\n        \"notes\": null,\n        \"phone_number\": \"+6285641706678\",\n        \"sent_at\": \"2020-02-07T06:42:21Z\",\n        \"status\": \"sent\",\n        \"variables\": \"[\\\"Customer name\\\"]\"\n    }\n}\n</code></pre>\n","urlObject":{"path":["api","v2","admin","broadcast","client_broadcast"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c2242d39-bae0-4ac9-8fb4-d2b6d47c5f41"},{"name":"[admin] Broadcast Job Detail","id":"71185942-3687-4863-bef4-b435318ec33f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BaseUrl}}/api/v2/admin/broadcast_jobs/:id","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"broadcast_job\": {\n            \"channel_id\": 14,\n            \"channel_name\": \"b\",\n            \"id\": 9,\n            \"name\": \"test2121\",\n            \"started_at\": \"2019-12-03T05:42:01Z\",\n            \"status\": 0,\n            \"template_id\": 5,\n            \"template_name\": \"template_bii\",\n            \"total_failed\": 0,\n            \"total_read\": 0,\n            \"total_received\": 0,\n            \"total_recipient\": 5,\n            \"total_sent\": 0\n        }\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","admin","broadcast_jobs",":id"],"host":["{{BaseUrl}}"],"query":[],"variable":[{"id":"1082e85c-9d65-418d-9d38-1c9dd8fe9df4","type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"71185942-3687-4863-bef4-b435318ec33f"},{"name":"[admin] Broadcast Logs","id":"e686b138-dc75-40de-8c83-d69f6bd6f03a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BaseUrl}}/api/v2/admin/broadcast_logs/:broadcast_job_id?page&limit&pagination=cursor&cursor_after&cursor_before","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"broadcast_logs\": [\n            {\n                \"customer_name\": \"dwi1\",\n                \"id\": 28,\n                \"message_id\": null,\n                \"notes\": \"\\\"error https://whatsapp.kata.ai/v1/contacts , nxdomain\\\"\",\n                \"params\": \"[\\\"1\\\",\\\"2\\\",\\\"3\\\",\\\"4\\\",\\\"5\\\"]\",\n                \"phone_number\": \"85641706678\",\n                \"sent_at\": \"2019-12-03T06:05:19Z\",\n                \"status\": -1\n            },\n            {\n                \"customer_name\": \"dwi5\",\n                \"id\": 32,\n                \"message_id\": null,\n                \"notes\": \"\\\"error https://whatsapp.kata.ai/v1/contacts , nxdomain\\\"\",\n                \"params\": \"[\\\"5\\\",\\\"6\\\",\\\"7\\\",\\\"8\\\",\\\"9\\\"]\",\n                \"phone_number\": \"85641706682\",\n                \"sent_at\": \"2019-12-03T06:05:19Z\",\n                \"status\": -1\n            }\n        ]\n    },\n    \"meta\": {\n        \"limit\": 10,\n        \"page\": 1,\n        \"total_page\": 1\n    },\n    \"status\": 200\n}\n</code></pre>\n<p>Status :</p>\n<ul>\n<li>queued : 0</li>\n<li>sending : 1</li>\n<li>finished : 2</li>\n<li>failed : -1</li>\n</ul>\n","urlObject":{"path":["api","v2","admin","broadcast_logs",":broadcast_job_id"],"host":["{{BaseUrl}}"],"query":[{"key":"page","value":null},{"key":"limit","value":null},{"description":{"content":"<p>cursor | default</p>\n","type":"text/plain"},"key":"pagination","value":"cursor"},{"description":{"content":"<p>if pagination=cursor</p>\n","type":"text/plain"},"key":"cursor_after","value":null},{"description":{"content":"<p>if pagination=cursor</p>\n","type":"text/plain"},"key":"cursor_before","value":null}],"variable":[{"type":"string","value":"","key":"broadcast_job_id"}]}},"response":[],"_postman_id":"e686b138-dc75-40de-8c83-d69f6bd6f03a"},{"name":"[admin] List Broadcast Job","id":"8837bcb7-e6f3-42b4-bd7e-2dace91d3ac9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BaseUrl}}/api/v2/admin/broadcast_jobs?page&limit&name","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"broadcast_jobs\": [\n            {\n                \"channel_id\": 14,\n                \"channel_name\": \"b\",\n                \"id\": 3,\n                \"name\": \"test\",\n                \"started_at\": \"2019-12-03T03:56:27Z\",\n                \"status\": 0,\n                \"template_id\": 5,\n                \"template_name\": \"template_bii\",\n                \"total_failed\": 0,\n                \"total_read\": 0,\n                \"total_received\": 0,\n                \"total_recipient\": 1,\n                \"total_sent\": 0\n            },\n            {\n                \"channel_id\": 14,\n                \"channel_name\": \"b\",\n                \"id\": 1,\n                \"name\": \"test\",\n                \"started_at\": \"2019-12-03T03:55:58Z\",\n                \"status\": 1,\n                \"template_id\": 5,\n                \"template_name\": \"template_bii\",\n                \"total_failed\": 0,\n                \"total_read\": 0,\n                \"total_received\": 0,\n                \"total_recipient\": 1,\n                \"total_sent\": 0\n            }\n        ]\n    },\n    \"meta\": {\n        \"limit\": 10,\n        \"page\": 1,\n        \"total_page\": 1\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","admin","broadcast_jobs"],"host":["{{BaseUrl}}"],"query":[{"description":{"content":"<p>optional</p>\n","type":"text/plain"},"key":"page","value":null},{"description":{"content":"<p>optional</p>\n","type":"text/plain"},"key":"limit","value":null},{"description":{"content":"<p>optional</p>\n","type":"text/plain"},"key":"name","value":null}],"variable":[]}},"response":[],"_postman_id":"8837bcb7-e6f3-42b4-bd7e-2dace91d3ac9"},{"name":"[admin] Export Broadcast Log","id":"6ed5bbc2-202f-467a-baad-0e0c5325da9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{BaseUrl}}/api/v2/admin/broadcast_logs/:broadcast_job_id/export","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"broadcast_logs\": [\n            {\n                \"customer_name\": \"dwi1\",\n                \"id\": 28,\n                \"message_id\": null,\n                \"notes\": \"\\\"error https://whatsapp.kata.ai/v1/contacts , nxdomain\\\"\",\n                \"params\": \"[\\\"1\\\",\\\"2\\\",\\\"3\\\",\\\"4\\\",\\\"5\\\"]\",\n                \"phone_number\": \"85641706678\",\n                \"sent_at\": \"2019-12-03T06:05:19Z\",\n                \"status\": -1\n            },\n            {\n                \"customer_name\": \"dwi5\",\n                \"id\": 32,\n                \"message_id\": null,\n                \"notes\": \"\\\"error https://whatsapp.kata.ai/v1/contacts , nxdomain\\\"\",\n                \"params\": \"[\\\"5\\\",\\\"6\\\",\\\"7\\\",\\\"8\\\",\\\"9\\\"]\",\n                \"phone_number\": \"85641706682\",\n                \"sent_at\": \"2019-12-03T06:05:19Z\",\n                \"status\": -1\n            }\n        ]\n    },\n    \"meta\": {\n        \"limit\": 10,\n        \"page\": 1,\n        \"total_page\": 1\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","admin","broadcast_logs",":broadcast_job_id","export"],"host":["{{BaseUrl}}"],"query":[],"variable":[{"id":"8d844114-ff82-4427-bd97-03abfa56b257","type":"string","value":"","key":"broadcast_job_id"}]}},"response":[],"_postman_id":"6ed5bbc2-202f-467a-baad-0e0c5325da9b"}],"id":"3717e8f5-f670-4730-98a9-04407d2e65d5","_postman_id":"3717e8f5-f670-4730-98a9-04407d2e65d5","description":""}],"id":"be5c3d35-a618-4c07-b0b8-f771ce9bac75","event":[{"listen":"prerequest","script":{"id":"3de9e37a-1d0b-4c6a-a13a-1ec9fe48549f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c44b8b71-09ff-4015-adb6-cdd5d71ffa8e","type":"text/javascript","exec":[""]}}],"_postman_id":"be5c3d35-a618-4c07-b0b8-f771ce9bac75","description":""},{"name":"Division","item":[{"name":"Get All Division","id":"855cb6ae-fb96-47e5-9887-068aa28c818b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/divisions?page=1&limit=10","urlObject":{"path":["api","v2","divisions"],"host":["{{BaseUrl}}"],"query":[{"description":{"content":"<p>optional, default: 1</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>optional, max: 100, default: 10</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"855cb6ae-fb96-47e5-9887-068aa28c818b"},{"name":"Create Division","id":"7d7e35b4-115c-4ec1-ac6a-a09f124fce15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"New","description":"<p>name of the division</p>\n","type":"text"}]},"url":"{{BaseUrl}}/api/v2/divisions","urlObject":{"path":["api","v2","divisions"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7d7e35b4-115c-4ec1-ac6a-a09f124fce15"},{"name":"Show Division","id":"23844756-ec92-4d3d-b579-982769075ff1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/divisions/{{DivisionId}}","urlObject":{"path":["api","v2","divisions","{{DivisionId}}"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"23844756-ec92-4d3d-b579-982769075ff1"},{"name":"Update Division","id":"0d3afa52-07c3-4698-bae2-dca6f847a98c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"New Name","type":"text"}]},"url":"{{BaseUrl}}/api/v2/divisions/{{DivisionId}}/update","urlObject":{"path":["api","v2","divisions","{{DivisionId}}","update"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0d3afa52-07c3-4698-bae2-dca6f847a98c"},{"name":"Set Division as Default","id":"33db8b9d-5803-4ce8-9867-c20af751f982","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/divisions/{{DivisionId}}/set_default","urlObject":{"path":["api","v2","divisions","{{DivisionId}}","set_default"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"33db8b9d-5803-4ce8-9867-c20af751f982"},{"name":"Delete Division","id":"b2c00f3b-056e-46c5-a69d-904de1033b85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/divisions/{{DivisionId}}/delete","urlObject":{"path":["api","v2","divisions","{{DivisionId}}","delete"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b2c00f3b-056e-46c5-a69d-904de1033b85"}],"id":"fa314038-9eed-497d-8af1-e1a772c269dc","_postman_id":"fa314038-9eed-497d-8af1-e1a772c269dc","description":""},{"name":"Initiate Chat","item":[{"name":"Initiate Chat","id":"bfd28087-3cfd-4b89-9f11-55ff2756ce41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"app_id\": \"oni-bgo2lummmhvzqxbt5\",\n\t\"user_id\": \"terlena_saya\",\n\t\"name\": \"terlena\",\n\t\"extras\": \"{\\\"a\\\":\\\"w\\\"}\",\n\t\"user_properties\" : {\"aji\": \"tra\", \"ma\": \"ta\"},\n\t\"reset_extras\": true,\n\t\"sdk_user_extras\" : {\"teststs\": \"dadadadss\"}\n}"},"url":"{{BaseUrl}}/api/v2/qiscus/initiate_chat","description":"<h2 id=\"input-fields-json-body-prefered\">Input Fields (json body prefered)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>fields</th>\n<th>type</th>\n<th>required</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app_id</td>\n<td>string</td>\n<td>true</td>\n<td></td>\n</tr>\n<tr>\n<td>user_id</td>\n<td>string</td>\n<td>true</td>\n<td></td>\n</tr>\n<tr>\n<td>nonce</td>\n<td>string</td>\n<td>false</td>\n<td>if its filled, it will fill <code>identity_token</code>  and nullify <code>sdk_user</code> on the response. It's expected to verify identity token on qismo server after that</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>true</td>\n<td></td>\n</tr>\n<tr>\n<td>extras</td>\n<td>json__string/ json_object</td>\n<td>false</td>\n<td>eg: <code>{\"data_source\": \"us\"}</code></td>\n</tr>\n<tr>\n<td>reset_extras</td>\n<td>boolean</td>\n<td>false</td>\n<td>will replace all the existing <code>extras</code> into current defined <code>extras</code></td>\n</tr>\n<tr>\n<td>room_badge</td>\n<td>string, url</td>\n<td>false</td>\n<td>default: showing qiscus logo</td>\n</tr>\n<tr>\n<td>avatar</td>\n<td>string, url</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>allocate_agent</td>\n<td>boolean</td>\n<td>false</td>\n<td>if the initiated room has no agent, it will immediately allocate agent after initiation</td>\n</tr>\n<tr>\n<td>user_properties</td>\n<td>json_string/ json_object</td>\n<td>false</td>\n<td>it will fill the user properties bar on the right side of customer room<br />eg: <code>{\"phone_number\": \"n/a\"}</code></td>\n</tr>\n<tr>\n<td>sdk_user_extras</td>\n<td>json_string/ json_object</td>\n<td>false</td>\n<td>will fill the information on <code>sdk_user</code> extras</td>\n</tr>\n<tr>\n<td>timezone_offset</td>\n<td>string</td>\n<td>false</td>\n<td>eg: <code>+7</code> or <code>-3</code></td>\n</tr>\n<tr>\n<td>notes</td>\n<td>string</td>\n<td>false</td>\n<td>will fill the notes information bar on the right side of customer room</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"customer_room\": {\n            \"channel_id\": 1,\n            \"extras\": {\n                \"additional_extras\": {\n                    \"a\": \"w\"\n                },\n                \"notes\": null,\n                \"timezone_offset\": null,\n                \"user_properties\": [\n                    {\n                        \"key\": \"aji\",\n                        \"value\": \"tra\"\n                    },\n                    {\n                        \"key\": \"ma\",\n                        \"value\": \"ta\"\n                    }\n                ]\n            },\n            \"id\": 389,\n            \"is_handled_by_bot\": true,\n            \"is_resolved\": false,\n            \"is_waiting\": false,\n            \"last_comment_sender\": null,\n            \"last_comment_sender_type\": null,\n            \"last_comment_text\": null,\n            \"last_comment_timestamp\": null,\n            \"last_customer_timestamp\": null,\n            \"name\": \"terlena\",\n            \"room_badge\": null,\n            \"room_id\": \"14059368\",\n            \"source\": \"qiscus\",\n            \"user_avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/kiwari-prod/image/upload/wMWsDZP6ta/1516689726-ic_qiscus_client.png\",\n            \"user_id\": \"terlena_saya\"\n        },\n        \"identity_token\": null,\n        \"sdk_user\": {\n            \"active\": true,\n            \"app\": {\n                \"code\": \"oni-bgo2lummmhvzqxbt5\",\n                \"id\": 2987,\n                \"id_str\": \"2987\",\n                \"name\": \"oni\"\n            },\n            \"avatar\": {\n                \"avatar\": {\n                    \"url\": \"https://d1edrlpyc25xu0.cloudfront.net/kiwari-prod/image/upload/wMWsDZP6ta/1516689726-ic_qiscus_client.png\"\n                }\n            },\n            \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/kiwari-prod/image/upload/wMWsDZP6ta/1516689726-ic_qiscus_client.png\",\n            \"email\": \"terlena_saya\",\n            \"extras\": {\n                \"additional_extras\": {\n                    \"teststs\": \"dadadadss\"\n                },\n                \"is_customer\": true,\n                \"type\": \"customer\"\n            },\n            \"id\": 236723503,\n            \"id_str\": \"236723503\",\n            \"last_comment_id\": 0,\n            \"last_comment_id_str\": \"0\",\n            \"last_sync_event_id\": 0,\n            \"pn_android_configured\": true,\n            \"pn_ios_configured\": true,\n            \"rtKey\": \"somestring\",\n            \"token\": \"8O6iDT6ZUdy5OB5YkiOm1587357984\",\n            \"username\": \"terlena\"\n        }\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","qiscus","initiate_chat"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bfd28087-3cfd-4b89-9f11-55ff2756ce41"},{"name":"Initiate Multiple Chat","id":"59922b1d-eafa-46ec-8310-73fbdf81c2ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"nonce\": \"asdsadsakuidhsaiudha\",\n\t\"app_id\": \"oni-bgo2lummmhvzqxbt5\",\n\t\"user_id\": \"terlena\",\n\t\"name\": \"terlena\",\n\t\"extras\": \"{\\\"a\\\":\\\"w\\\"}\",\n\t\"user_properties\" : {\"aji\": \"tra\", \"ma\": \"ta\"},\n\t\"reset_extras\": true,\n\t\"sdk_user_extras\" : {\"teststs\": \"dadadadss\"}\n}"},"url":"{{BaseUrl}}/api/v2/qiscus/initiate_multiple_chat","description":"<h2 id=\"description\">Description</h2>\n<p>Create new customer session upon initiation</p>\n<h2 id=\"input-fields\">Input Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>fields</th>\n<th>type</th>\n<th>required</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app_id</td>\n<td>string</td>\n<td>true</td>\n<td></td>\n</tr>\n<tr>\n<td>user_id</td>\n<td>string</td>\n<td>true</td>\n<td></td>\n</tr>\n<tr>\n<td>nonce</td>\n<td>string</td>\n<td>false</td>\n<td>if its filled, it will fill <code>identity_token</code>  and nullify <code>sdk_user</code> on the response. It's expected to verify identity token on qismo server after that</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>true</td>\n<td></td>\n</tr>\n<tr>\n<td>extras</td>\n<td>json__string/ json_object</td>\n<td>false</td>\n<td>eg: <code>{\"data_source\": \"us\"}</code></td>\n</tr>\n<tr>\n<td>reset_extras</td>\n<td>boolean</td>\n<td>false</td>\n<td>will replace all the existing <code>extras</code> into current defined <code>extras</code></td>\n</tr>\n<tr>\n<td>room_badge</td>\n<td>string, url</td>\n<td>false</td>\n<td>default: showing qiscus logo</td>\n</tr>\n<tr>\n<td>avatar</td>\n<td>string, url</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>allocate_agent</td>\n<td>boolean</td>\n<td>false</td>\n<td>if the initiated room has no agent, it will immediately allocate agent after initiation</td>\n</tr>\n<tr>\n<td>user_properties</td>\n<td>json_string/ json_object</td>\n<td>false</td>\n<td>it will fill the user properties bar on the right side of customer room<br />eg: <code>{\"phone_number\": \"n/a\"}</code></td>\n</tr>\n<tr>\n<td>sdk_user_extras</td>\n<td>json_string/ json_object</td>\n<td>false</td>\n<td>will fill the information on <code>sdk_user</code> extras</td>\n</tr>\n<tr>\n<td>timezone_offset</td>\n<td>string</td>\n<td>false</td>\n<td>eg: <code>+7</code> or <code>-3</code></td>\n</tr>\n<tr>\n<td>notes</td>\n<td>string</td>\n<td>false</td>\n<td>will fill the notes information bar on the right side of customer room</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"customer_room\": {\n            \"channel_id\": 1,\n            \"extras\": {\n                \"additional_extras\": {\n                    \"a\": \"w\"\n                },\n                \"notes\": null,\n                \"timezone_offset\": null,\n                \"user_properties\": [\n                    {\n                        \"key\": \"aji\",\n                        \"value\": \"tra\"\n                    },\n                    {\n                        \"key\": \"ma\",\n                        \"value\": \"ta\"\n                    }\n                ]\n            },\n            \"id\": 389,\n            \"is_handled_by_bot\": true,\n            \"is_resolved\": false,\n            \"is_waiting\": false,\n            \"last_comment_sender\": null,\n            \"last_comment_sender_type\": null,\n            \"last_comment_text\": null,\n            \"last_comment_timestamp\": null,\n            \"last_customer_timestamp\": null,\n            \"name\": \"terlena\",\n            \"room_badge\": null,\n            \"room_id\": \"14059368\",\n            \"source\": \"qiscus\",\n            \"user_avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/kiwari-prod/image/upload/wMWsDZP6ta/1516689726-ic_qiscus_client.png\",\n            \"user_id\": \"terlena_saya\"\n        },\n        \"identity_token\": null,\n        \"sdk_user\": {\n            \"active\": true,\n            \"app\": {\n                \"code\": \"oni-bgo2lummmhvzqxbt5\",\n                \"id\": 2987,\n                \"id_str\": \"2987\",\n                \"name\": \"oni\"\n            },\n            \"avatar\": {\n                \"avatar\": {\n                    \"url\": \"https://d1edrlpyc25xu0.cloudfront.net/kiwari-prod/image/upload/wMWsDZP6ta/1516689726-ic_qiscus_client.png\"\n                }\n            },\n            \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/kiwari-prod/image/upload/wMWsDZP6ta/1516689726-ic_qiscus_client.png\",\n            \"email\": \"terlena_saya\",\n            \"extras\": {\n                \"additional_extras\": {\n                    \"teststs\": \"dadadadss\"\n                },\n                \"is_customer\": true,\n                \"type\": \"customer\"\n            },\n            \"id\": 236723503,\n            \"id_str\": \"236723503\",\n            \"last_comment_id\": 0,\n            \"last_comment_id_str\": \"0\",\n            \"last_sync_event_id\": 0,\n            \"pn_android_configured\": true,\n            \"pn_ios_configured\": true,\n            \"rtKey\": \"somestring\",\n            \"token\": \"8O6iDT6ZUdy5OB5YkiOm1587357984\",\n            \"username\": \"terlena\"\n        }\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","qiscus","initiate_multiple_chat"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"59922b1d-eafa-46ec-8310-73fbdf81c2ad"},{"name":"Get Multiple Chat Room","id":"3877352f-b4d1-4ded-96b5-61b6c8da6eba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"nonce\": \"asdsadsakuidhsaiudha\",\n\t\"app_id\": \"oni-bgo2lummmhvzqxbt5\",\n\t\"user_id\": \"terlena\",\n\t\"name\": \"terlenassss\",\n\t\"allocate_agent\": true,\n\t\"extras\": \"{\\\"a\\\":\\\"w\\\"}\",\n\t\"user_properties\" : {\"country\": \"US\", \"phone\": \"unknown\"},\n\t\"reset_extras\": true,\n\t\"sdk_user_extras\" : {\"teststs\": \"dadadadss\"},\n\t\"notes\": \"undying\"\n}"},"url":"{{BaseUrl}}/api/v2/qiscus/initiate_multiple_chat/{{RoomId}}","description":"<h2 id=\"description\">Description</h2>\n<p>Get or update the existing customer session by using <code>room_id</code> and <code>user_id</code></p>\n<h2 id=\"input-fields\">Input Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>fields</th>\n<th>type</th>\n<th>required</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app_id</td>\n<td>string</td>\n<td>true</td>\n<td></td>\n</tr>\n<tr>\n<td>user_id</td>\n<td>string</td>\n<td>true</td>\n<td></td>\n</tr>\n<tr>\n<td>nonce</td>\n<td>string</td>\n<td>false</td>\n<td>if its filled, it will fill <code>identity_token</code>  and nullify <code>sdk_user</code> on the response. It's expected to verify identity token on qismo server after that</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>true</td>\n<td></td>\n</tr>\n<tr>\n<td>extras</td>\n<td>json__string/ json_object</td>\n<td>false</td>\n<td>eg: <code>{\"data_source\": \"us\"}</code></td>\n</tr>\n<tr>\n<td>reset_extras</td>\n<td>boolean</td>\n<td>false</td>\n<td>will replace all the existing <code>extras</code> into current defined <code>extras</code></td>\n</tr>\n<tr>\n<td>room_badge</td>\n<td>string, url</td>\n<td>false</td>\n<td>default: showing qiscus logo</td>\n</tr>\n<tr>\n<td>avatar</td>\n<td>string, url</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>allocate_agent</td>\n<td>boolean</td>\n<td>false</td>\n<td>if the initiated room has no agent, it will immediately allocate agent after initiation</td>\n</tr>\n<tr>\n<td>user_properties</td>\n<td>json_string/ json_object</td>\n<td>false</td>\n<td>it will fill the user properties bar on the right side of customer room<br />eg: <code>{\"phone_number\": \"n/a\"}</code></td>\n</tr>\n<tr>\n<td>sdk_user_extras</td>\n<td>json_string/ json_object</td>\n<td>false</td>\n<td>will fill the information on <code>sdk_user</code> extras</td>\n</tr>\n<tr>\n<td>timezone_offset</td>\n<td>string</td>\n<td>false</td>\n<td>eg: <code>+7</code> or <code>-3</code></td>\n</tr>\n<tr>\n<td>notes</td>\n<td>string</td>\n<td>false</td>\n<td>will fill the notes information bar on the right side of customer room</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"customer_room\": {\n            \"channel_id\": 1,\n            \"extras\": {\n                \"additional_extras\": {\n                    \"a\": \"w\"\n                },\n                \"notes\": null,\n                \"timezone_offset\": null,\n                \"user_properties\": [\n                    {\n                        \"key\": \"aji\",\n                        \"value\": \"tra\"\n                    },\n                    {\n                        \"key\": \"ma\",\n                        \"value\": \"ta\"\n                    }\n                ]\n            },\n            \"id\": 389,\n            \"is_handled_by_bot\": true,\n            \"is_resolved\": false,\n            \"is_waiting\": false,\n            \"last_comment_sender\": null,\n            \"last_comment_sender_type\": null,\n            \"last_comment_text\": null,\n            \"last_comment_timestamp\": null,\n            \"last_customer_timestamp\": null,\n            \"name\": \"terlena\",\n            \"room_badge\": null,\n            \"room_id\": \"14059368\",\n            \"source\": \"qiscus\",\n            \"user_avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/kiwari-prod/image/upload/wMWsDZP6ta/1516689726-ic_qiscus_client.png\",\n            \"user_id\": \"terlena_saya\"\n        },\n        \"identity_token\": null,\n        \"sdk_user\": {\n            \"active\": true,\n            \"app\": {\n                \"code\": \"oni-bgo2lummmhvzqxbt5\",\n                \"id\": 2987,\n                \"id_str\": \"2987\",\n                \"name\": \"oni\"\n            },\n            \"avatar\": {\n                \"avatar\": {\n                    \"url\": \"https://d1edrlpyc25xu0.cloudfront.net/kiwari-prod/image/upload/wMWsDZP6ta/1516689726-ic_qiscus_client.png\"\n                }\n            },\n            \"avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/kiwari-prod/image/upload/wMWsDZP6ta/1516689726-ic_qiscus_client.png\",\n            \"email\": \"terlena_saya\",\n            \"extras\": {\n                \"additional_extras\": {\n                    \"teststs\": \"dadadadss\"\n                },\n                \"is_customer\": true,\n                \"type\": \"customer\"\n            },\n            \"id\": 236723503,\n            \"id_str\": \"236723503\",\n            \"last_comment_id\": 0,\n            \"last_comment_id_str\": \"0\",\n            \"last_sync_event_id\": 0,\n            \"pn_android_configured\": true,\n            \"pn_ios_configured\": true,\n            \"rtKey\": \"somestring\",\n            \"token\": \"8O6iDT6ZUdy5OB5YkiOm1587357984\",\n            \"username\": \"terlena\"\n        }\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","qiscus","initiate_multiple_chat","{{RoomId}}"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3877352f-b4d1-4ded-96b5-61b6c8da6eba"},{"name":"Multiple Chat List","id":"0ff32aef-aae9-4d31-8a01-dfa49ca7cd78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Qiscus-App-Id","value":"{{appId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"nonce\": \"asdsadsakuidhsaiudha\",\n\t\"app_id\": \"oni-bgo2lummmhvzqxbt5\",\n\t\"user_id\": \"terlena\",\n\t\"name\": \"terlena\",\n\t\"extras\": \"{\\\"a\\\":\\\"w\\\"}\",\n\t\"user_properties\" : {\"country\": \"US\", \"phone\": \"unknown\"},\n\t\"reset_extras\": true,\n\t\"sdk_user_extras\" : {\"teststs\": \"dadadadss\"}\n}"},"url":"{{BaseUrl}}/api/v2/qiscus/multiple_chat_list/terlena","description":"<h2 id=\"description\">Description</h2>\n<p>Get all unresolved session of a customer</p>\n<h2 id=\"input-fields-query-params\">Input Fields (query params)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>fields</th>\n<th>type</th>\n<th>required</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>user_id</td>\n<td>string</td>\n<td>true</td>\n<td>customer unique id</td>\n</tr>\n<tr>\n<td>order</td>\n<td>string</td>\n<td>false</td>\n<td><code>asc</code> or <code>desc</code> . default: <code>desc</code>. Will order by last customer chat time</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>integer</td>\n<td>false</td>\n<td>limit of data shown</td>\n</tr>\n<tr>\n<td>cursor_after</td>\n<td>datetime</td>\n<td>false</td>\n<td>lets assume you want to move into next page, just fill this field value by <code>copy-paste</code>  from meta response (<code>meta.cursor_after</code>).<br /><br />eg: <code>cursor_after=2020-04-20T03:54:10Z</code><br /><br /><code>nb: won't work if cursor__before not yet nullified</code></td>\n</tr>\n<tr>\n<td>cursor_before</td>\n<td>datetime</td>\n<td>false</td>\n<td>lets assume you want to move into previous page, just fill this field value by <code>copy-paste</code>  from meta response (<code>meta.cursor_before</code>).<br /><br />eg: <code>cursor_after=2020-04-20T03:54:10Z</code><br /><br /><code>nb: won't work if cursor__after not yet nullified</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"customer_rooms\": [\n            {\n                \"channel_id\": 1,\n                \"id\": 392,\n                \"is_handled_by_bot\": true,\n                \"is_resolved\": false,\n                \"is_waiting\": false,\n                \"last_comment_sender\": null,\n                \"last_comment_sender_type\": null,\n                \"last_comment_text\": null,\n                \"last_comment_timestamp\": \"2020-04-20T09:26:58Z\",\n                \"last_customer_timestamp\": null,\n                \"name\": \"terlena\",\n                \"room_badge\": null,\n                \"room_id\": \"14077598\",\n                \"room_type\": \"individual\",\n                \"source\": \"qiscus\",\n                \"user_avatar_url\": \"https://d1edrlpyc25xu0.cloudfront.net/kiwari-prod/image/upload/wMWsDZP6ta/1516689726-ic_qiscus_client.png\",\n                \"user_id\": \"terlena\"\n            }\n        ]\n    },\n    \"meta\": {\n        \"current_total\": 1,\n        \"cursor_after\": \"2020-04-20T03:54:10Z\",\n        \"cursor_before\": \"2020-04-20T09:26:58Z\"\n    },\n    \"status\": 200\n}\n</code></pre>\n","urlObject":{"path":["api","v2","qiscus","multiple_chat_list","terlena"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0ff32aef-aae9-4d31-8a01-dfa49ca7cd78"}],"id":"9e798e98-caee-4076-b4cc-8e63c14b2b7e","_postman_id":"9e798e98-caee-4076-b4cc-8e63c14b2b7e","description":""},{"name":"Broadcast All Channels","item":[{"name":"Get Broadcast All Channels","id":"be7207bd-4a87-4cae-bb86-a689f11c528f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{AppCode}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/admin/broadcast_all_channels?type&search","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<p>JSON</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"data\": {\n        \"broadcast\": [\n            {\n                \"canceled_at\": null,\n                \"canceled_by\": null,\n                \"created_at\": \"2022-09-07T09:29:00\",\n                \"id\": 1xxx,\n                \"name\": \"xxxx\",\n                \"started_at\": \"2022-09-07T09:29:00Z\",\n                \"status\": 3,\n                \"total_failed\": 0,\n                \"total_receipt\": 0,\n                \"total_received\": 0,\n                \"total_send\": 0,\n                \"type\": 1\n            },\n            {\n                \"canceled_at\": null,\n                \"canceled_by\": null,\n                \"created_at\": \"2022-09-07T09:33:17\",\n                \"id\": 2xx,\n                \"name\": \"xxx\",\n                \"started_at\": \"2022-09-07T09:33:17Z\",\n                \"status\": 3,\n                \"total_failed\": 0,\n                \"total_receipt\": 0,\n                \"total_received\": 0,\n                \"total_send\": 0,\n                \"type\": 1\n            },\n            {\n                \"canceled_at\": null,\n                \"canceled_by\": null,\n                \"created_at\": \"2022-09-07T09:36:04\",\n                \"id\": 3xx,\n                \"name\": \"xxxx\",\n                \"started_at\": \"2022-09-07T09:36:04Z\",\n                \"status\": 3,\n                \"total_failed\": 0,\n                \"total_receipt\": 0,\n                \"total_received\": 0,\n                \"total_send\": 0,\n                \"type\": 1\n            },\n            {\n                \"canceled_at\": null,\n                \"canceled_by\": null,\n                \"created_at\": \"2022-09-07T09:36:34\",\n                \"id\": 4xx,\n                \"name\": \"xxxx\",\n                \"started_at\": \"2022-09-07T09:36:34Z\",\n                \"status\": 3,\n                \"total_failed\": 0,\n                \"total_receipt\": 0,\n                \"total_received\": 0,\n                \"total_send\": 0,\n                \"type\": 1\n            },\n            {\n                \"canceled_at\": null,\n                \"canceled_by\": null,\n                \"created_at\": \"2022-09-07T09:37:55\",\n                \"id\": x5x,\n                \"name\": \"broadcast name\",\n                \"started_at\": \"2022-09-07T09:37:55Z\",\n                \"status\": 3,\n                \"total_failed\": 0,\n                \"total_receipt\": 0,\n                \"total_received\": 0,\n                \"total_send\": 0,\n                \"type\": 1\n            },\n            {\n                \"canceled_at\": null,\n                \"canceled_by\": null,\n                \"created_at\": \"2022-09-07T09:40:39\",\n                \"id\": 6xx,\n                \"name\": \"xxx\",\n                \"started_at\": \"2022-09-07T09:40:39Z\",\n                \"status\": 3,\n                \"total_failed\": 0,\n                \"total_receipt\": 0,\n                \"total_received\": 0,\n                \"total_send\": 0,\n                \"type\": 1\n            },\n            {\n                \"canceled_at\": null,\n                \"canceled_by\": null,\n                \"created_at\": \"2022-09-07T09:41:55\",\n                \"id\": 7xx,\n                \"name\": \"xxxx\",\n                \"started_at\": \"2022-09-07T09:41:54Z\",\n                \"status\": 3,\n                \"total_failed\": 0,\n                \"total_receipt\": 0,\n                \"total_received\": 0,\n                \"total_send\": 0,\n                \"type\": 1\n            },\n            {\n                \"canceled_at\": null,\n                \"canceled_by\": null,\n                \"created_at\": \"2022-09-07T09:42:47\",\n                \"id\": x8x,\n                \"name\": \"xxx\",\n                \"started_at\": \"2022-09-07T09:42:47Z\",\n                \"status\": 3,\n                \"total_failed\": 0,\n                \"total_receipt\": 0,\n                \"total_received\": 0,\n                \"total_send\": 0,\n                \"type\": 1\n            },\n            {\n                \"canceled_at\": null,\n                \"canceled_by\": null,\n                \"created_at\": \"2022-09-07T09:44:08\",\n                \"id\": 9xx,\n                \"name\": \"bc telegram6\",\n                \"started_at\": \"2022-09-07T09:44:08Z\",\n                \"status\": 0,\n                \"total_failed\": 0,\n                \"total_receipt\": 0,\n                \"total_received\": 0,\n                \"total_send\": 0,\n                \"type\": 1\n            }\n        ]\n    },\n    \"meta\": {\n        \"after\": null,\n        \"before\": null,\n        \"per_page\": 10\n    },\n    \"status\": 200\n}\n\n</code></pre>","urlObject":{"path":["api","v2","admin","broadcast_all_channels"],"host":["{{BaseUrl}}"],"query":[{"description":{"content":"<p>Default null | 0: Customer, 1: Group</p>\n","type":"text/plain"},"key":"type","value":null},{"description":{"content":"<p>Default null</p>\n","type":"text/plain"},"key":"search","value":null}],"variable":[]}},"response":[],"_postman_id":"be7207bd-4a87-4cae-bb86-a689f11c528f"},{"name":"Get Broadcast All Channel Logs","id":"fcdfbfa9-e02d-4e19-bf68-8b11ecb546f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{AppCode}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/admin/broadcast_all_channels/:broadcast_all_channel_id/logs?limit&cursor_before&cursor_after","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<p>JSON</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"data\": {\n        \"broadcast_logs\": [\n            {\n                \"channel_id\": 1xx,\n                \"customer_id\": 14xx,\n                \"customer_identifier\": \"62856432xxx\",\n                \"customer_name\": \"sitixx\",\n                \"message_id\": null,\n                \"notes\": null,\n                \"send_at\": null,\n                \"source\": \"wa\",\n                \"status\": 0\n            }\n        ]\n    },\n    \"meta\": {\n        \"after\": \"g2sAAXE=\",\n        \"before\": null,\n        \"per_page\": 1\n    },\n    \"status\": 200\n}\n\n</code></pre>","urlObject":{"path":["api","v2","admin","broadcast_all_channels",":broadcast_all_channel_id","logs"],"host":["{{BaseUrl}}"],"query":[{"description":{"content":"<p>default 10</p>\n","type":"text/plain"},"key":"limit","value":null},{"key":"cursor_before","value":null},{"key":"cursor_after","value":null}],"variable":[{"id":"b280e955-9219-470c-830d-739096b9db04","type":"any","value":null,"key":"broadcast_all_channel_id"}]}},"response":[],"_postman_id":"fcdfbfa9-e02d-4e19-bf68-8b11ecb546f4"},{"name":"Export Broadcast All Channel Logs","id":"e87e2189-280d-4803-822d-3de11a719707","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{AppCode}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/admin/broadcast_all_channels/:broadcast_all_channel_id/logs/export","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<p>JSON</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Customer Name, Identifier, Channel ID, Channel Name, Channel Source, Broadcast Time, Status, Notes\nKuro,47619571238xxx97,5xx8,Facebook,Halam tes 714,2022-09-28 14:35:48,Delivered,\nSunarti tele,126039xxx2,33xx0,Telegram,punya_tester_dua,2022-09-28 14:35:50,Delivered,\nKuro Kuro,42598234708xxx0,5xxx,Facebook,Tester 2,2022-09-28 14:35:50,Delivered,\n\n</code></pre>","urlObject":{"path":["api","v2","admin","broadcast_all_channels",":broadcast_all_channel_id","logs","export"],"host":["{{BaseUrl}}"],"query":[],"variable":[{"id":"d5ffe766-9827-43da-a448-82338648e70c","type":"any","value":null,"key":"broadcast_all_channel_id"}]}},"response":[],"_postman_id":"e87e2189-280d-4803-822d-3de11a719707"},{"name":"Get Broadcast All Channel Logs By Room ID","id":"cda25728-f4d1-4384-9b03-deb0f3d6e561","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{AppCode}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/customer_rooms/:room_id/broadcast_all_channel_history","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"data\": {\n        \"broadcast_logs\": [\n            {\n                \"channel_id\": 6xxx2,\n                \"customer_id\": 10xxx89,\n                \"customer_identifier\": \"7897232xxx016952\",\n                \"customer_name\": \"Kuro Kuro\",\n                \"message\": \"halo fbbb\",\n                \"message_id\": null,\n                \"notes\": null,\n                \"sent_at\": \"2022-09-28T10:01:12Z\",\n                \"source\": \"fb\",\n                \"status\": 3\n            },\n            {\n                \"channel_id\": 62xxx,\n                \"customer_id\": 101089,\n                \"customer_identifier\": \"7897xxx2067016952\",\n                \"customer_name\": \"Kuro Kuro\",\n                \"message\": \"halo untuk fb\",\n                \"message_id\": null,\n                \"notes\": null,\n                \"sent_at\": \"2022-09-28T09:59:32Z\",\n                \"source\": \"fb\",\n                \"status\": 3\n            },\n            {\n                \"channel_id\": 6xxx,\n                \"customer_id\": 101xxx89,\n                \"customer_identifier\": \"789723xxx67016952\",\n                \"customer_name\": \"Kuro Kuro\",\n                \"message\": \"halo fb untuk 3\",\n                \"message_id\": null,\n                \"notes\": null,\n                \"sent_at\": \"2022-09-28T09:57:37Z\",\n                \"source\": \"fb\",\n                \"status\": 3\n            },\n            {\n                \"channel_id\": 62xxx,\n                \"customer_id\": 10xxx89,\n                \"customer_identifier\": \"7897232xxx7016952\",\n                \"customer_name\": \"Kuro Kuro\",\n                \"message\": \"halo fb agent\",\n                \"message_id\": null,\n                \"notes\": null,\n                \"sent_at\": \"2022-09-28T09:36:59Z\",\n                \"source\": \"fb\",\n                \"status\": 3\n            },\n            {\n                \"channel_id\": 62xxx,\n                \"customer_id\": 10xxx9,\n                \"customer_identifier\": \"7897xxx067016952\",\n                \"customer_name\": \"Kuro Kuro\",\n                \"message\": \"halo fb spv\",\n                \"message_id\": null,\n                \"notes\": null,\n                \"sent_at\": \"2022-09-28T09:36:03Z\",\n                \"source\": \"fb\",\n                \"status\": 3\n            },\n            {\n                \"channel_id\": 6xx,\n                \"customer_id\": 101xxx9,\n                \"customer_identifier\": \"78972xxx7016952\",\n                \"customer_name\": \"Kuro Kuro\",\n                \"message\": \"Halo fb admin 1\",\n                \"message_id\": null,\n                \"notes\": null,\n                \"sent_at\": \"2022-09-28T09:35:14Z\",\n                \"source\": \"fb\",\n                \"status\": 3\n            },\n            {\n                \"channel_id\": 6xxx,\n                \"customer_id\": 101xxx9,\n                \"customer_identifier\": \"7897xxx067016952\",\n                \"customer_name\": \"Kuro Kuro\",\n                \"message\": \"fb sch 2\",\n                \"message_id\": null,\n                \"notes\": null,\n                \"sent_at\": \"2022-09-28T08:54:03Z\",\n                \"source\": \"fb\",\n                \"status\": 3\n            },\n            {\n                \"channel_id\": 6xxxx,\n                \"customer_id\": 101xxx9,\n                \"customer_identifier\": \"789723xxxx16952\",\n                \"customer_name\": \"Kuro Kuro\",\n                \"message\": \"fb schedule 1\",\n                \"message_id\": null,\n                \"notes\": null,\n                \"sent_at\": \"2022-09-28T08:52:02Z\",\n                \"source\": \"fb\",\n                \"status\": 3\n            },\n            {\n                \"channel_id\": 6xxxx,\n                \"customer_id\": 10xxxx9,\n                \"customer_identifier\": \"789723206xxx952\",\n                \"customer_name\": \"Kuro Kuro\",\n                \"message\": \"halo fbbbbbbb\",\n                \"message_id\": null,\n                \"notes\": null,\n                \"sent_at\": \"2022-09-28T08:12:19Z\",\n                \"source\": \"fb\",\n                \"status\": 3\n            },\n            {\n                \"channel_id\": 6xxx2,\n                \"customer_id\": 101xxxx,\n                \"customer_identifier\": \"78972xxxx7016952\",\n                \"customer_name\": \"Kuro Kuro\",\n                \"message\": \"ini untuk ketiga fb dari spv\",\n                \"message_id\": null,\n                \"notes\": null,\n                \"sent_at\": \"2022-09-28T07:57:57Z\",\n                \"source\": \"fb\",\n                \"status\": 3\n            }\n        ]\n    },\n    \"meta\": {\n        \"after\": \"g2sAAac=\",\n        \"before\": null,\n        \"per_page\": 10,\n        \"total\": 12\n    },\n    \"status\": 200\n}\n\n</code></pre><p>WA Samples</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"data\": {\n        \"broadcast_logs\": [\n            {\n                \"channel_id\": 716,\n                \"customer_id\": 15348,\n                \"customer_identifier\": \"6285730063055\",\n                \"customer_name\": \"Shofiyatun Najah Ramen Kita\",\n                \"message\": null,\n                \"message_id\": \"gBGHYoVzAGMFXwIJNLWlcJdAuE1P\",\n                \"notes\": null,\n                \"sent_at\": \"2022-09-28T06:25:33Z\",\n                \"source\": \"wa\",\n                \"status\": 3,\n                \"wa_broadcast_log\": {\n                    \"button_params\": \"[{\\\"button_text\\\":\\\"Tentang Qiscus\\\",\\\"index\\\":0,\\\"payload\\\":\\\"Tentang Qiscus\\\",\\\"type\\\":\\\"quick_reply\\\"},{\\\"button_text\\\":\\\"Main-main aja\\\",\\\"index\\\":1,\\\"payload\\\":\\\"Main-main aja\\\",\\\"type\\\":\\\"quick_reply\\\"}]\",\n                    \"customer_name\": \"6285730063055\",\n                    \"header_value\": null,\n                    \"id\": 50762,\n                    \"message\": \"Selamat Datang Di Qiscus Multichannel\\n\\nReply with\\nTentang Qiscus | Main-main aja\",\n                    \"message_id\": \"gBGHYoVzAGMFXwIJNLWlcJdAuE1P\",\n                    \"notes\": null,\n                    \"params\": \"[]\",\n                    \"phone_number\": \"6285730063055\",\n                    \"sent_at\": \"2022-09-28T06:25:32Z\",\n                    \"status\": 4,\n                    \"template_name\": \"menu_quick_reply\"\n                }\n            },\n            {\n                \"channel_id\": 731,\n                \"customer_id\": 100398,\n                \"customer_identifier\": \"6285730063055\",\n                \"customer_name\": \"Shofiyatun Najah\",\n                \"message\": null,\n                \"message_id\": \"gBGHYoVzAGMFXwIJNLWlcJdAuE1P\",\n                \"notes\": null,\n                \"sent_at\": \"2022-09-28T06:25:33Z\",\n                \"source\": \"wa\",\n                \"status\": 3,\n                \"wa_broadcast_log\": {\n                    \"button_params\": \"[{\\\"button_text\\\":\\\"Tentang Qiscus\\\",\\\"index\\\":0,\\\"payload\\\":\\\"Tentang Qiscus\\\",\\\"type\\\":\\\"quick_reply\\\"},{\\\"button_text\\\":\\\"Main-main aja\\\",\\\"index\\\":1,\\\"payload\\\":\\\"Main-main aja\\\",\\\"type\\\":\\\"quick_reply\\\"}]\",\n                    \"customer_name\": \"6285730063055\",\n                    \"header_value\": null,\n                    \"id\": 50762,\n                    \"message\": \"Selamat Datang Di Qiscus Multichannel\\n\\nReply with\\nTentang Qiscus | Main-main aja\",\n                    \"message_id\": \"gBGHYoVzAGMFXwIJNLWlcJdAuE1P\",\n                    \"notes\": null,\n                    \"params\": \"[]\",\n                    \"phone_number\": \"6285730063055\",\n                    \"sent_at\": \"2022-09-28T06:25:32Z\",\n                    \"status\": 4,\n                    \"template_name\": \"menu_quick_reply\"\n                }\n            }\n        ]\n    },\n    \"meta\": {\n        \"after\": null,\n        \"before\": null,\n        \"per_page\": 10,\n        \"total\": 2\n    },\n    \"status\": 200\n}\n\n</code></pre>","urlObject":{"path":["api","v2","customer_rooms",":room_id","broadcast_all_channel_history"],"host":["{{BaseUrl}}"],"query":[],"variable":[{"id":"49c9cba6-c62a-4896-bdf0-d58883d9425b","type":"any","value":null,"key":"room_id"}]}},"response":[],"_postman_id":"cda25728-f4d1-4384-9b03-deb0f3d6e561"},{"name":"Get Broadcast All Channel By ID","id":"d37011ae-3c2c-4ade-bad1-895df9867214","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{AppCode}}","type":"text"}],"url":"{{BaseUrl}}/api/v2/admin/broadcast_all_channels/:broadcast_all_channel_id","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<p>JSON</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"data\": {\n        \"broadcast\": {\n            \"canceled_at\": null,\n            \"canceled_by\": null,\n            \"created_at\": \"2022-09-15T08:17:48\",\n            \"id\": 7xxxx,\n            \"name\": \"bc wa test2\",\n            \"started_at\": \"2022-09-15T08:17:48Z\",\n            \"status\": 0,\n            \"total_failed\": 0,\n            \"total_receipt\": 3,\n            \"total_received\": 0,\n            \"total_send\": 0,\n            \"type\": 0,\n            \"user\": {\n                \"name\": \"Tester Qismo\"\n            }\n        }\n    },\n    \"status\": 200\n}\n\n</code></pre>","urlObject":{"path":["api","v2","admin","broadcast_all_channels",":broadcast_all_channel_id"],"host":["{{BaseUrl}}"],"query":[],"variable":[{"id":"64ff1a1f-8ed4-47c3-a419-8d6d037d3c25","type":"any","value":null,"key":"broadcast_all_channel_id"}]}},"response":[],"_postman_id":"d37011ae-3c2c-4ade-bad1-895df9867214"},{"name":"Calculate Price","id":"a05edb87-470e-4e5a-bb06-e1466a32f227","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{AppCode}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"test bc ig8\",\n    \"type\": 0,\n    \"participants\": [\n        {\n            \"customer_id\": 10xxx84,\n            \"customer_name\": \"Halomulxxxxannel_test\",\n            \"customer_identifier\": \"52274xxxx7365599\",\n            \"customer_linked_id\": \"1009xxx663039782754052\",\n            \"is_broadcast_linked_id\": true,\n            \"channel_id\": 61,\n            \"source\": \"ig\"\n        },\n        {\n            \"customer_id\": 16xxx42,\n            \"customer_name\": \"62822xxx331\",\n            \"customer_identifier\": \"6282xxx602331\",\n            \"customer_linked_id\": null,\n            \"is_broadcast_linked_id\": false,\n            \"channel_id\": 7xxx2,\n            \"source\": \"wa\"\n        }\n    ],\n    \"templates\": [\n        {\n            \"source\": \"ig\",\n            \"content\": \"hi {{NAME}} how's your day? testing IG\"\n        },\n        {\n            \"source\": \"fb\", \n            \"content\": \"hi {{NAME}} how's your day? testing FB\"\n        },\n        {\n            \"source\": \"wa\",\n            \"channel_id\": 73xx2,\n            \"template_name\": \"coba_interxxxxew\",\n            \"template_detail_id\": 38xx22,\n            \"namespace\": \"009a7430_92c8_4167_9dxxx820exxxeb0ed\",\n            \"language\": \"id\",\n            \"variables\": [\n                \"1\",\n                \"2\",\n                \"3\",\n                \"4\",\n                \"5\"\n            ],\n            \"button_params\": null\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{BaseUrl}}/api/v2/admin/broadcast_all_channels/calculate","description":"<h2 id=\"sample-response\">Sample Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"wa_price\": {\n        \"current_credit\": 1700,\n        \"current_free_session\": 0,\n        \"current_quota\": 0,\n        \"estimated_price\": {\n            \"credit\": 450.8,\n            \"free_session\": 0,\n            \"quota\": 0\n        },\n        \"minimum_credit\": 1000\n    }\n}\n</code></pre>\n","urlObject":{"path":["api","v2","admin","broadcast_all_channels","calculate"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a05edb87-470e-4e5a-bb06-e1466a32f227"},{"name":"Send Broadcast","id":"190296c9-f134-46df-9fdb-1ddb2ad0af59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{AdminToken}}","type":"text"},{"key":"Qiscus-App-Id","value":"{{AppCode}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"test bc ig8\",\n    \"type\": 0,\n    \"participants\": [\n        {\n            \"customer_id\": 10xxx84,\n            \"customer_name\": \"Halomulxxxxannel_test\",\n            \"customer_identifier\": \"52274xxxx7365599\",\n            \"customer_linked_id\": \"1009xxx663039782754052\",\n            \"is_broadcast_linked_id\": true,\n            \"channel_id\": 61,\n            \"source\": \"ig\"\n        },\n        {\n            \"customer_id\": 16xxx42,\n            \"customer_name\": \"62822xxx331\",\n            \"customer_identifier\": \"6282xxx602331\",\n            \"customer_linked_id\": null,\n            \"is_broadcast_linked_id\": false,\n            \"channel_id\": 7xxx2,\n            \"source\": \"wa\"\n        }\n    ],\n    \"templates\": [\n        {\n            \"source\": \"ig\",\n            \"content\": \"hi {{NAME}} how's your day? testing IG\"\n        },\n        {\n            \"source\": \"fb\", \n            \"content\": \"hi {{NAME}} how's your day? testing FB\"\n        },\n        {\n            \"source\": \"wa\",\n            \"channel_id\": 73xx2,\n            \"template_name\": \"coba_interxxxxew\",\n            \"template_detail_id\": 38xx22,\n            \"namespace\": \"009a7430_92c8_4167_9dxxx820exxxeb0ed\",\n            \"language\": \"id\",\n            \"variables\": [\n                \"1\",\n                \"2\",\n                \"3\",\n                \"4\",\n                \"5\"\n            ],\n            \"button_params\": null\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{BaseUrl}}/api/v2/admin/broadcast_all_channels/send","description":"<h2 id=\"sample-response\">Sample Response</h2>\n","urlObject":{"path":["api","v2","admin","broadcast_all_channels","send"],"host":["{{BaseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"190296c9-f134-46df-9fdb-1ddb2ad0af59"}],"id":"b94d887d-8887-4dc6-91a4-700ca4675510","_postman_id":"b94d887d-8887-4dc6-91a4-700ca4675510","description":""}],"event":[{"listen":"prerequest","script":{"id":"6bab5587-9be4-471a-b245-04a09dce0f33","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"74da6370-ccf1-4d13-a180-6960df8e2a4f","type":"text/javascript","exec":[""]}}]}