{"info":{"_postman_id":"2c0938c5-638a-4bfc-b738-df53e1061c9a","name":"Barantum  - Postman Collection and API Documentation","description":"<html><head></head><body><p>This Postman collection consolidates Barantum's public API documentation across four domains: <strong>Omnichannel (Chat API)</strong>, <strong>CRM Modules (Tickets, Meetings, Leads, etc.)</strong>, <strong>Webhook Events</strong>, and <strong>Call Center</strong>. It provides structured access to endpoints for managing chat interactions, CRM data, handling incoming webhook payloads, and managing VoIP extension.<br>Ideal for developers integrating Barantum's platform into custom workflows or backend systems.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"23513668","collectionId":"2c0938c5-638a-4bfc-b738-df53e1061c9a","publishedId":"2sBXqNnJky","public":true,"customColor":{"top-bar":"1B6FBE","right-sidebar":"F5F7FA","highlight":"2284C6"},"publishDate":"2026-05-11T10:17:32.000Z"},"item":[{"name":"Barantum Chat","item":[{"name":"[Barantumchat] Get List Bot","id":"3a3790b2-3fe3-4707-bf76-911fbabc16ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api-chat.barantum.com/api/v1/get_list_bot?company_uuid={{company_uuid}}&channel={{channel}}&type_sort={{type_sort}}","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>Get all bot information integrated in Barantum CRM.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n<tr>\n<td><code>channel</code></td>\n<td>No</td>\n<td>text</td>\n<td>wa, telegram, line, fb, instagram, twitter</td>\n</tr>\n<tr>\n<td><code>type_sort</code></td>\n<td>No</td>\n<td>text</td>\n<td>asc | desc</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"expected-response\">Expected Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": \"ok\",\n    \"message\": 200,\n    \"data\": [\n        {\n            \"wa_bot_id\": 1,\n            \"wa_bot_uuid\": \"484dda29-7ecc-40fd-ba4f-6cb544963dc1\",\n            \"wa_bot_name\": \"demo_barantum\",\n            \"wa_bot_number\": \"08232xxxxx\",\n            \"wa_bot_webhook_url\": \"https://api.barantum.com/api/3party/v1/incoming_message/...\",\n            \"wa_bot_base_url\": \"https://whatsapp-dev.barantum.com\",\n            \"date_created\": \"2022-08-04 10:17:05\",\n            \"wa_bot_status\": 1,\n            \"wa_bot_free_session\": \"1000\",\n            \"wa_bot_saldo\": 14955,\n            \"wa_bot_tier\": \"STANDARD\",\n            \"wa_bot_quality_rating\": \"GREEN\"\n        }\n    ]\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","get_list_bot"],"host":["api-chat","barantum","com"],"query":[{"description":{"content":"<p>Required. API key / company UUID.</p>\n","type":"text/plain"},"key":"company_uuid","value":"{{company_uuid}}"},{"description":{"content":"<p>Optional. Filter by channel: wa, telegram, line, fb, instagram, twitter.</p>\n","type":"text/plain"},"key":"channel","value":"{{channel}}"},{"description":{"content":"<p>Optional. Sort direction: asc | desc.</p>\n","type":"text/plain"},"key":"type_sort","value":"{{type_sort}}"}],"variable":[]}},"response":[],"_postman_id":"3a3790b2-3fe3-4707-bf76-911fbabc16ab"},{"name":"[Barantumchat] Get List Room","id":"225f14f2-4644-4d34-8e62-8a56c0f62612","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"company_uuid\": \"{{company_uuid}}\",\r\n    \"chats_users_id\": \"{{users_id}}\",\r\n    \"channel\": \"{{channel}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/list-room","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for get list room in Barantum CRM. There are three parameters that are required as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>chats_users_id</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>6281383906898</td>\n</tr>\n<tr>\n<td><code>channel</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>wa</td>\n</tr>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get List Room API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [\n        {\n            \"wa_serial_id\": 874,\n            \"wa_owner\": 9815,\n            \"wa_users_id\": \"6281383906898\",\n            \"wa_status\": \"pending\",\n            \"wa_id_tickets\": 970817,\n            \"date_created\": \"2021-03-25 03:05:09\",\n            \"company_id\": 1,\n            \"wa_id_deals\": null,\n            \"first_response\": \"2021-04-15 01:38:45\",\n            \"wa_room_status\": 1,\n            \"date_resolved\": null,\n            \"resolved_by\": 0,\n            \"wa_pin\": 0\n        }\n    ],\n    \"status\": 200,\n    \"message\": \"success\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","list-room"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"225f14f2-4644-4d34-8e62-8a56c0f62612"},{"name":"[Barantumchat] Get List Chat","id":"a8ab6491-b7c0-43fc-88d7-4ddb60111426","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"company_uuid\": \"{{company_uuid}}\",\r\n    \"wa_serial_id\": \"{{channel_serial_id}}\",\r\n    \"page\": \"{{select_page}}\",\r\n    \"channel\": \"{{channel}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/list-chat","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for show conversation in certain room at Barantum CRM. There are three parameters that are required and the other parameters are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>wa_serial_id/fb_serial_id/instagram_serial_id/twitter_serial_id/line_serial_id/telegram_serial_id</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>874</td>\n</tr>\n<tr>\n<td><code>channel</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>wa</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>1</td>\n</tr>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get List Room API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"total_data\": 787,\n        \"limit\": 30,\n        \"prev_page\": 1,\n        \"current_page\": 1,\n        \"next_page\": 2,\n        \"last_page\": 27,\n        \"total_page\": 27,\n        \"data\": [\n            {\n                \"wa_message_serial_id\": 7776,\n                \"wa_message_users_id\": \"6281383906898\",\n                \"wa_message_text\": \"Hai hai\",\n                \"date_created\": \"2021-03-24 11:08:42\",\n                \"company_id\": 1,\n                \"wa_message_status_user\": 1,\n                \"wa_message_status_read\": 0,\n                \"wa_serial_id\": 874,\n                \"wa_owner\": 2,\n                \"wa_message_attachment_id\": \"\",\n                \"type_file\": \"text\",\n                \"file_name\": \"\",\n                \"file_url\": \"\",\n                \"file_size\": \"\",\n                \"wa_message_id_chat\": \"\",\n                \"wa_message_status_chat\": \"\",\n                \"wa_massage_error_chat\": \"\",\n                \"wa_message_error_code\": \"\",\n                \"file_mime_type\": \"\",\n                \"wa_message_reply_from\": \"\",\n                \"wa_message_reply_id\": \"\",\n                \"wa_message_reply_text\": \"\",\n                \"wa_message_reply_owner\": null\n            }\n        ]\n    },\n    \"status\": 200,\n    \"message\": \"success\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","list-chat"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a8ab6491-b7c0-43fc-88d7-4ddb60111426"},{"name":"[Barantumchat] Send Message Text","id":"51b71496-3fce-4b46-8065-215c57931a5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"chats_users_id\": \"{{users_id}}\",\r\n    \"chats_message_text\": \"{{text_message}}\",\r\n    \"type\": \"{{type}}\",\r\n    \"channel\": \"{{channel}}\",\r\n    \"company_uuid\": \"{{company_uuid}}\",\r\n    \"chats_bot_id\": {{bot_id}},\r\n    \"agent_id\": \"{{agent_id}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/send-message","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>Send a text message to a customer via Barantum CRM.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>chats_users_id</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>62811111111</td>\n</tr>\n<tr>\n<td><code>chats_message_text</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Hallo, Ada yang bisa Kami Bantu?</td>\n</tr>\n<tr>\n<td><code>channel</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>wa, telegram, line, fb, instagram, twitter, tiktok</td>\n</tr>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n<tr>\n<td><code>chats_bot_id</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>agent_id</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>4</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"expected-response\">Expected Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"Ok\",\n    \"data\": {\n        \"wa_message_users_id\": \"6281383xxxxx\",\n        \"wa_message_text\": \"demo hello\",\n        \"wa_message_status_user\": 0,\n        \"wa_message_status_read\": 0,\n        \"wa_serial_id\": 362,\n        \"company_id\": 1,\n        \"date_created\": \"16 September 2023 10:58\",\n        \"wa_owner\": 5,\n        \"type_file\": \"text\",\n        \"file_name\": \"\",\n        \"file_url\": \"\",\n        \"file_size\": \"\",\n        \"file_mime_type\": \"\",\n        \"wa_message_id_chat\": \"wamid.HBgN...\",\n        \"wa_message_serial_id\": 2724,\n        \"type_owner\": \"employee\",\n        \"name_owner\": \"Khairul Ikhlas\",\n        \"channel\": \"wa\"\n    }\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","send-message"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"51b71496-3fce-4b46-8065-215c57931a5e"},{"name":"[Barantumchat] Send Message Reply (Cloud WA Only)","id":"ecc66ba0-1ba3-4d09-a8b4-25556c9a270a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"chats_users_id\": \"{{users_id}}\",\r\n    \"chats_message_text\": \"{{text_message}}\",\r\n    \"type\": \"{{type}}\",\r\n    \"media\": {\r\n        \"link\": \"{{resource}}\",\r\n        \"caption\": \"{{caption}}\",\r\n        \"filename\": \"{{filename}}\"\r\n    },\r\n    \"channel\": \"{{channel}}\",\r\n    \"context\": {\r\n        \"message_id\": \"{{wa_message_id}}\"\r\n    },\r\n    \"company_uuid\": \"{{company_uuid}}\",\r\n    \"chats_bot_id\": {{bot_id}},\r\n    \"agent_id\": \"{{agent_id}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/send-message","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for send message to reply specified bubble chat in Barantum CRM. There are five that are required or total of seven that are required if you want to send a media, and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>chats_users_id</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>62811111111</td>\n</tr>\n<tr>\n<td><code>chats_message_text</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Hallo, Ada yang bisa Kami Bantu?</td>\n</tr>\n<tr>\n<td><code>channel</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>wa</td>\n</tr>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n<tr>\n<td><code>chats_bot_id</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>Yes (type media)</td>\n<td>text</td>\n<td>media</td>\n</tr>\n<tr>\n<td><code>media</code></td>\n<td>Yes (type media)</td>\n<td>Object</td>\n<td><code>{\"caption\": \"hello caption\", \"link\": \"https://s3.ap-southeast-1.amazonaws.com/crm.barantum.document/company_1/2022092701140186037074809d56769a2db8edd43e8058.jpg\"}</code></td>\n</tr>\n<tr>\n<td><code>context</code></td>\n<td>Yes</td>\n<td>Object</td>\n<td><code>{\"message_id\": \"wamid.HBgNNjI4MTM4MzkwNjg5OBUCABIYIDIzMDE3M0ExMEUwNEYzRDUzOTZDRDYzNzFEQUZCOTI5AA==\"}</code></td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Send Message Reply API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<h4 id=\"send-message-reply-text\">Send Message Reply Text</h4>\n<p>Body</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"chats_users_id\": \"6281383xxxxx\",\n  \"context\": {\n    \"message_id\": \"wamid.HBgNNjI4MTM4MzkwNjg5OBUCABIYIDIzMDE3M0ExMEUwNEYzRDUzOTZDRDYzNzFEQUZCOTI5AA==\"\n  },\n  \"chats_message_text\": \"balas pesan\",\n  \"channel\": \"wa\",\n  \"company_uuid\": \"31a2c6c7-d909-4c96-95d7-7d4c95eb75dc\",\n  \"chats_bot_id\": 1\n}\n\n</code></pre>\n<p>Response</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"Ok\",\n    \"data\": {\n        \"wa_message_users_id\": \"6281383xxxxx\",\n        \"wa_message_text\": \"contoh balas\",\n        \"wa_message_status_user\": 0,\n        \"wa_message_status_read\": 0,\n        \"wa_serial_id\": 362,\n        \"company_id\": 1,\n        \"date_created\": \"16 September 2023 10:53\",\n        \"wa_owner\": 5,\n        \"type_file\": \"text\",\n        \"file_name\": \"\",\n        \"file_url\": \"\",\n        \"file_size\": \"\",\n        \"file_mime_type\": \"\",\n        \"wa_message_id_chat\": \"wamid.HBgNNjI4MTM4MzkwNjg5OBUCABEYEkM3MTlEQUU3MjE2MkI2NUIxRgA=\",\n        \"wa_message_reply_from\": \"6281383xxxxx\",\n        \"wa_message_reply_id\": \"wamid.HBgNNjI4MTM4MzkwNjg5OBUCABIYIEZEOTgzNzQ3NjI3NzBFQUJGQTFCNTJBMEVFQ0EyMjNFAA==\",\n        \"wa_message_reply_text\": \"Hello semua\",\n        \"wa_message_reply_owner\": 5,\n        \"wa_message_reply_source\": 1,\n        \"wa_message_reply_type\": \"text\",\n        \"wa_message_reply_url\": \"\",\n        \"wa_message_serial_id\": 2722,\n        \"type_owner\": \"employee\",\n        \"name_owner\": \"Khairul Ikhlas\",\n        \"wa_name\": \"gp\",\n        \"channel\": \"wa\"\n    }\n}\n\n</code></pre>\n<h4 id=\"send-message-reply-media\">Send Message Reply Media</h4>\n<p>Body</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"company_uuid\": \"31a2c6c7-d909-4c96-95d7-7d4c95eb75dc\",\n  \"chats_users_id\": \"6281383xxxxx\",\n  \"context\": {\n    \"message_id\": \"wamid.HBgNNjI4MTM4MzkwNjg5OBUCABIYIDIzMDE3M0ExMEUwNEYzRDUzOTZDRDYzNzFEQUZCOTI5AA==\"\n  },\n  \"type\": \"media\",\n  \"media\": {\n    \"caption\": \"hello caption\",\n    \"link\": \"https://s3.ap-southeast-1.amazonaws.com/crm.barantum.document/company_1/2022092701140186037074809d56769a2db8edd43e8058.jpg\"\n  },\n  \"channel\": \"wa\",\n  \"chats_bot_id\": 1\n}\n\n</code></pre>\n<p>Response</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"Ok\",\n    \"data\": {\n        \"wa_message_users_id\": \"6281383xxxxx\",\n        \"wa_message_text\": \"hello caption\",\n        \"wa_message_status_user\": 0,\n        \"wa_message_status_read\": 0,\n        \"wa_serial_id\": 362,\n        \"company_id\": 1,\n        \"date_created\": \"16 September 2023 10:54\",\n        \"wa_owner\": 5,\n        \"type_file\": \"image\",\n        \"file_name\": \"2022092701140186037074809d56728edd43e8058.jpg\",\n        \"file_url\": \"https://s3.ap-southeast-1.amazonaws.com/crm.barantum.document/company_1/2022092701140186037074809d56728edd43e8058.jpg\",\n        \"file_size\": \"69.79 KB\",\n        \"file_mime_type\": \"image/jpeg\",\n        \"wa_message_id_chat\": \"wamid.HBgNNjI4MTM4MzkwNjg5OBUCABEYEkQ2MzY3RTQ1QzQ1MTYzRjBDMQA=\",\n        \"wa_message_reply_from\": \"6281383xxxxx\",\n        \"wa_message_reply_id\": \"wamid.HBgNNjI4MTM4MzkwNjg5OBUCABIYIEZEOTgzNzQ3NjI3NzBFQUJGQTFCNTJBMEVFQ0EyMjNFAA==\",\n        \"wa_message_reply_text\": \"Hello semua\",\n        \"wa_message_reply_owner\": 5,\n        \"wa_message_reply_source\": 1,\n        \"wa_message_reply_type\": \"text\",\n        \"wa_message_reply_url\": \"\",\n        \"wa_message_serial_id\": 2723,\n        \"type_owner\": \"employee\",\n        \"name_owner\": \"Khairul Ikhlas\",\n        \"wa_name\": \"gp\",\n        \"channel\": \"wa\"\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","send-message"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ecc66ba0-1ba3-4d09-a8b4-25556c9a270a"},{"name":"[Barantumchat] Send Message Media","id":"defc42ee-a80f-4c8e-9d5f-9f8a52ad5720","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"company_uuid\": \"{{company_uuid}}\",\r\n  \"chats_users_id\": \"{{users_id}}\",\r\n  \"type\": \"media\",\r\n  \"media\": {\r\n    \"caption\": \"{{text_caption}}\",\r\n    \"link\": \"{{url_source}}\",\r\n    \"filename\": \"{{file_name}}\"\r\n  },\r\n  \"channel\": \"{{channel}}\",\r\n  \"chats_bot_id\": {{bot_id}},\r\n  \"agent_id\": \"{{agent_id}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/send-message","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>Send a media message (image, video, audio, document) to a customer via Barantum CRM.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>chats_users_id</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>62811111111</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>media</td>\n</tr>\n<tr>\n<td><code>media</code></td>\n<td>Yes</td>\n<td>object</td>\n<td><code>{\"link\": \"https://s3.../file.jpg\", \"caption\": \"caption foto\", \"filename\": \"file.jpg\"}</code></td>\n</tr>\n<tr>\n<td><code>channel</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>wa, telegram, line, fb, instagram, twitter, tiktok</td>\n</tr>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n<tr>\n<td><code>chats_bot_id</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>agent_id</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>4</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"expected-response\">Expected Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"Ok\",\n    \"data\": {\n        \"wa_message_users_id\": \"62811111111\",\n        \"wa_message_text\": \"caption foto\",\n        \"type_file\": \"image\",\n        \"file_name\": \"file.jpg\",\n        \"file_url\": \"https://s3.../file.jpg\",\n        \"file_size\": \"69.79 KB\",\n        \"file_mime_type\": \"image/jpeg\",\n        \"channel\": \"wa\"\n    }\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","send-message"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"defc42ee-a80f-4c8e-9d5f-9f8a52ad5720"},{"name":"[Barantumchat] Get List Template Broadcast (Whatsapp Only)","id":"b58ef6ed-4b44-451c-be8a-2d8e615c43d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"company_uuid\" : \"{{company_uuid}}\",\r\n    \"filter\": {\r\n        \"template_name\": \"{{template_name}}\",\r\n        \"bot_uuid\": \"{{bot_uuid}}\",\r\n        \"category\": \"APPROVED | PENDING | REJECTED\",\r\n        \"status\": \"success | failed\"\r\n    },\r\n    \"page\": 1,\r\n    \"limit\": 15,\r\n    \"type_sort\": \"asc | desc\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/list-template","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>Get list of broadcast templates registered in Barantum CRM (WhatsApp Only).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n<tr>\n<td><code>filter</code></td>\n<td>No</td>\n<td>Object</td>\n<td><code>{\"template_name\": \"template\", \"bot_uuid\": \"cb31e062-...\", \"category\": \"MARKETING\", \"status\": \"APPROVED\"}</code></td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>No</td>\n<td>number</td>\n<td>1</td>\n</tr>\n<tr>\n<td><code>limit</code></td>\n<td>No</td>\n<td>number</td>\n<td>15 (default)</td>\n</tr>\n<tr>\n<td><code>type_sort</code></td>\n<td>No</td>\n<td>text</td>\n<td>asc | desc</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"expected-response\">Expected Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"data\": {\n        \"total_data\": 1,\n        \"limit\": 15,\n        \"prev_page\": 1,\n        \"current_page\": 1,\n        \"next_page\": \"\",\n        \"last_page\": 1,\n        \"total_page\": 1,\n        \"data\": [\n            {\n                \"bot_name\": \"Test Number New\",\n                \"bot_uuid\": \"cb31e062-a851-4dcd-bde2-507290d3169e\",\n                \"template_name\": \"test_template\",\n                \"language\": \"id\",\n                \"category\": \"MARKETING\",\n                \"status\": \"APPROVED\",\n                \"date_created\": \"4 October 2023 09:03\",\n                \"template_uuid\": \"53218aa7-7a8c-4261-b4da-87b93c3a7847\",\n                \"body\": \"hello semua...\",\n                \"buttons\": [\n                    {\"type\": \"PHONE_NUMBER\", \"text\": \"Telpon\", \"phone_number\": \"+628138xxxxx\"},\n                    {\"type\": \"URL\", \"text\": \"klik link\", \"url\": \"https://crmv5.barantum.com/\"}\n                ]\n            }\n        ]\n    }\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","list-template"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b58ef6ed-4b44-451c-be8a-2d8e615c43d9"},{"name":"[Barantumchat] List Log Broadcast (Whatsapp Only)","id":"807b751f-a2e7-4602-be6b-f2031bb1802e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"company_uuid\": \"{{company_uuid}}\",\r\n  \"page\": \"{{page}}\",\r\n  \"type_sort\": \"asc | desc\",\r\n  \"filter\": {\r\n    \"status\": \"success | failed\",\r\n    \"number\": \"{{phone_number}}\",\r\n    \"bot_id\": \"{{bot_id}}\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/get_log_broadcast","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for get list log broadcast in Barantum CRM. There are one parameter that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n<tr>\n<td>page</td>\n<td>No</td>\n<td>number</td>\n<td>1</td>\n</tr>\n<tr>\n<td>type_sort</td>\n<td>No</td>\n<td>text</td>\n<td>desc</td>\n</tr>\n<tr>\n<td>filter</td>\n<td>No</td>\n<td>Object</td>\n<td><code>{\"status\": \"success\", \"number\": \"62813839xxxxx\", \"bot_id\": 30 }</code></td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the List Log Broadcast (Whatsapp Only) API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"OK\",\n    \"data\": [\n        {\n            \"group_id\": \"ce1fa544-f7fa-4fa9-a9e8-7300c9837f0b\",\n            \"broadcast_uuid\": \"231f0923-8581-493a-a891-092e112f00ad\",\n            \"status\": \"success\",\n            \"name\": \"joy\",\n            \"number\": \"62813839xxxxx\",\n            \"bot_id\": 30,\n            \"bot_name\": \"Test Number\",\n            \"id_chats\": \"wamid.HBgNNjI4MTM4MzkwNjg5OBUCABEkU2ODEzODNFNDg4QTc4N0FCQQA=\",\n            \"date_created\": \"7 November 2023 23:58\"\n        }\n    ]\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","get_log_broadcast"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"807b751f-a2e7-4602-be6b-f2031bb1802e"},{"name":"[Barantumchat] Send Broadcast Template Message (Whatsapp Only)","id":"caf430e5-f6f4-45ae-90d5-8c3646c8aa7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"company_uuid\": \"{{company_uuid}}\",\r\n  \"contacts\": [\"{{multi_contacts_uuid}}\"],\r\n  \"template_uuid\": \"{{template_uuid}}\",\r\n  \"chat_bot_id\": \"{{bot_id}}\",\r\n  \"content_header\": \"{{content_header}}\",\r\n  \"agent_id\": \"{{agent_id}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/send-message-template","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>Send a broadcast template message to contacts registered in Barantum CRM (WhatsApp Only).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>contacts</code></td>\n<td>Yes</td>\n<td>array</td>\n<td><code>[\"fc199e3e-4c26-4c64-bbe3-abb228d31723\"]</code> (contact UUIDs, max 100)</td>\n</tr>\n<tr>\n<td><code>template_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>7f6542ff-5635-4562-a0d1-b86065b4ef19</td>\n</tr>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n<tr>\n<td><code>chat_bot_id</code> / <code>chat_bot_uuid</code></td>\n<td>No</td>\n<td>text</td>\n<td>ID or UUID of the WhatsApp bot</td>\n</tr>\n<tr>\n<td><code>content_header</code></td>\n<td>No</td>\n<td>text</td>\n<td>URL to header media (image/video/document)</td>\n</tr>\n<tr>\n<td><code>agent_id</code></td>\n<td>No</td>\n<td>number</td>\n<td>4</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>Note: Sending to more than 100 contacts will automatically route to campaign/broadcast queue.</p>\n</blockquote>\n<h3 id=\"expected-response\">Expected Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"data\": {\n        \"send\": \"[{\\\"cid\\\":\\\"fc199e3e-...\\\"  ,\\\"mid\\\":\\\"gBGHYoE4OQaJ...\\\"}]\",\n        \"error\": \"[]\"\n    }\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","send-message-template"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"caf430e5-f6f4-45ae-90d5-8c3646c8aa7e"},{"name":"[Barantumchat] Send Broadcast Custom Template Message (Whatsapp Only)","id":"d97b3093-d1ab-4ade-9375-79d05cdfe31a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"company_uuid\": \"{{company_uuid}}\",\r\n  \"contacts\": [\r\n    {\r\n      \"user_name\": \"{{usersname}}\",\r\n      \"number\": \"{{users_id}}\",\r\n      \"variabel\": {\r\n          \"{{1}}\": \"{{sample_variabel_1}}\",\r\n          \"{{2}}\": \"{{sample_variabel_2}}\",\r\n          \"{{3}}\": \"{{sample_variabel_3}}\"\r\n      }\r\n    }\r\n  ],\r\n  \"template_uuid\": \"{{template_uuid}}\",\r\n  \"chat_bot_uuid\": \"{{bot_uuid}}\",\r\n  \"content_header\": \"{{content_header}}\",\r\n  \"agent_id\": \"{{agent_id}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/send-message-template-custom","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>Send a custom broadcast template message to contacts not registered in Barantum CRM (WhatsApp Only).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>contacts</code></td>\n<td>Yes</td>\n<td>array</td>\n<td><code>[{\"user_name\": \"alex\", \"number\": \"08138888888\", \"variabel\": {\"{{1}}\": \"Alexander\", \"{{2}}\": \"22-09-2022\"}}]</code></td>\n</tr>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n<tr>\n<td><code>template_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>730a61bc-4b29-425a-9b6f-562797223315</td>\n</tr>\n<tr>\n<td><code>chat_bot_id</code> / <code>chat_bot_uuid</code></td>\n<td>No</td>\n<td>text</td>\n<td>ID or UUID of the WhatsApp bot</td>\n</tr>\n<tr>\n<td><code>content_header</code></td>\n<td>No</td>\n<td>text</td>\n<td>URL to header media</td>\n</tr>\n<tr>\n<td><code>agent_id</code></td>\n<td>No</td>\n<td>number</td>\n<td>4</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>Note: Sending to more than 100 contacts will automatically route to campaign/broadcast queue.</p>\n</blockquote>\n<h3 id=\"expected-response\">Expected Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"data\": {\n        \"send\": \"[{\\\"cid\\\":\\\"628138888888\\\",\\\"mid\\\":\\\"gBGHYoE4OQaJ...\\\"}]\",\n        \"error\": \"[{\\\"cid\\\":\\\"6281366666666\\\",\\\"msg\\\":\\\"Recipient is not a valid WhatsApp user\\\"}]\"\n    }\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","send-message-template-custom"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d97b3093-d1ab-4ade-9375-79d05cdfe31a"},{"name":"[Barantumchat] Get List Agent","id":"66504ab0-c1d7-4f90-ac1b-17b503781dc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"company_uuid\": \"{{company_uuid}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/get-list-agent","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for get all agents information which is registered in Barantum CRM. There are one parameter that are required as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get List Agent API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"Success get list agent\",\n    \"data\": [\n        {\n            \"users_id\": 811,\n            \"users_name\": \"Ardy\",\n            \"status_agent\": 0, // Online\n            \"users_type\": \"employee\",\n            \"created_by\": \"demo\",\n            \"created_at\": \"2018-02-27T02:58:36.000000Z\",\n            \"teams_name\": \"Barantum Chat 1\"\n        },\n        {\n            \"users_id\": 3503,\n            \"users_name\": \"Ryan Dummy\",\n            \"status_agent\": 1, // Offline\n            \"users_type\": \"employee\",\n            \"created_by\": \"demo\",\n            \"created_at\": \"2019-06-16T14:28:49.000000Z\",\n            \"teams_name\": \"The A Team\"\n        }\n    ]\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","get-list-agent"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"66504ab0-c1d7-4f90-ac1b-17b503781dc9"},{"name":"[Barantumchat] Assign Manual Agent","id":"e033eb29-96c9-4f6c-a099-a888fe6c45bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"chats_users_id\": \"{{users_id}}\",\r\n    \"room_id\": \"{{room_id}}\",\r\n    \"agent_id\": \"{{agent_id}}\",\r\n    \"agent_name\": \"{{agent_name}}\",\r\n    \"channel\": \"{{channel}}\",\r\n    \"company_uuid\": \"{{company_uuid}}\",\r\n    \"chats_bot_id\": {{bot_id}}\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/assign-agent","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>Assign a specific agent to a chat room in Barantum CRM.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>chats_users_id</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>62811111111</td>\n</tr>\n<tr>\n<td><code>room_id</code></td>\n<td>Yes</td>\n<td>number</td>\n<td>121056</td>\n</tr>\n<tr>\n<td><code>agent_id</code></td>\n<td>Yes</td>\n<td>number</td>\n<td>4</td>\n</tr>\n<tr>\n<td><code>channel</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>wa, telegram, line, fb, instagram, twitter, tiktok</td>\n</tr>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n<tr>\n<td><code>agent_name</code></td>\n<td>No</td>\n<td>text</td>\n<td>Ahmad</td>\n</tr>\n<tr>\n<td><code>chats_bot_id</code></td>\n<td>No</td>\n<td>number</td>\n<td>5</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"expected-response\">Expected Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"Success asign agent\",\n    \"data\": {\n        \"wa_owner\": 4,\n        \"wa_serial_id\": 121056,\n        \"name_channel\": \"wa\"\n    }\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","assign-agent"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e033eb29-96c9-4f6c-a099-a888fe6c45bd"},{"name":"[Barantumchat] Assign Agent Round Robin","id":"94c49d3e-b662-4ac9-88a4-f642db76ab33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"chats_users_id\": \"{{users_id}}\",\r\n    \"room_id\": {{room_id}},\r\n    \"channel\": \"wa | telegram | line | fb | instagram | twitter | tiktok\",\r\n    \"company_uuid\": \"{{company_uuid}}\",\r\n    \"chats_bot_id\": {{bot_id}}\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/assign-round-robin","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>Assign an agent to a chat room using Round Robin distribution in Barantum CRM.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n<tr>\n<td><code>room_id</code></td>\n<td>Yes</td>\n<td>number</td>\n<td>121056</td>\n</tr>\n<tr>\n<td><code>channel</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>wa, telegram, line, fb, instagram, twitter, tiktok</td>\n</tr>\n<tr>\n<td><code>chats_users_id</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>628111111111</td>\n</tr>\n<tr>\n<td><code>chats_bot_id</code></td>\n<td>No</td>\n<td>number</td>\n<td>5</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"expected-response\">Expected Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"Success asign agent\",\n    \"data\": {\n        \"wa_owner\": 51,\n        \"wa_serial_id\": 121056,\n        \"name_channel\": \"wa\"\n    }\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","assign-round-robin"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"94c49d3e-b662-4ac9-88a4-f642db76ab33"},{"name":"[Barantumchat] Resolve Chat","id":"7e00928d-df9b-456d-a498-b8f92179d4ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"chats_users_id\": \"{{users_id}}\",\r\n    \"room_id\": {{room_id}},\r\n    \"channel\": \"wa | telegram | line | fb | instagram | twitter | tiktok\",\r\n    \"company_uuid\": \"{{company_uuid}}\",\r\n    \"chats_bot_id\": {{bot_id}}\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/resolve-chat","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>Close/resolve a chat session for the specified room in Barantum CRM.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n<tr>\n<td><code>room_id</code></td>\n<td>Yes</td>\n<td>number</td>\n<td>121056</td>\n</tr>\n<tr>\n<td><code>channel</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>wa, telegram, line, fb, instagram, twitter, tiktok</td>\n</tr>\n<tr>\n<td><code>chats_users_id</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>628111111111</td>\n</tr>\n<tr>\n<td><code>chats_bot_id</code></td>\n<td>No</td>\n<td>number</td>\n<td>5</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"expected-response\">Expected Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"Success resolve chat\",\n    \"data\": {\n        \"wa_owner\": 51,\n        \"wa_serial_id\": 121056,\n        \"name_channel\": \"wa\"\n    }\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","resolve-chat"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7e00928d-df9b-456d-a498-b8f92179d4ae"},{"name":"[Barantumchat] Get List Quick Template","id":"ab7860a6-633b-49f0-aadc-010ab68c803f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"company_uuid\": \"{{company_uuid}}\",\r\n    \"page\": {{page}},\r\n    \"filter\": {\r\n        \"template_name\": \"{{template_name}}\",\r\n        \"type\": \"interactive | <empty>\",\r\n        \"category\": \"{{wa_category}}\"\r\n    },\r\n    \"type_sort\": \"asc | desc\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/get_list_quick_template","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for get list quick template that created in Barantum CRM. There are one parameter that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>No</td>\n<td>number</td>\n<td>1</td>\n</tr>\n<tr>\n<td><code>filter</code></td>\n<td>No</td>\n<td>Object</td>\n<td><code>{\"template_name\": \"test_template\", \"type\": \"interactive\", \"category\": \"ACCOUNT_UPDATE\"}</code></td>\n</tr>\n<tr>\n<td><code>type_sort</code></td>\n<td>No</td>\n<td>text</td>\n<td>desc</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get List Quick Template API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"data\": {\n        \"total_data\": 1,\n        \"limit\": 15,\n        \"prev_page\": 1,\n        \"current_page\": 1,\n        \"next_page\": \"\",\n        \"last_page\": 1,\n        \"total_page\": 1,\n        \"data\": [\n            {\n                \"chat_template_serial_id\": 37,\n                \"chat_template_uuid\": \"94bd40bd-203c-441c-b870-41e31c5d8bda\",\n                \"chat_template_name\": \"template\",\n                \"chat_template_message\": \"ini adalah template interactive\",\n                \"chat_template_category\": \"ACCOUNT_UPDATE\",\n                \"date_created\": \"2023-06-27 05:41:44\",\n                \"chat_template_channel\": \"wa\",\n                \"chat_template_type\": \"interactive\",\n                \"chat_template_header\": \"\",\n                \"chat_template_header_type\": \"text\",\n                \"chat_template_footer\": \"\",\n                \"chat_template_action_type\": \"reply_buttons\",\n                \"chat_template_list_header\": \"\",\n                \"chat_template_action\": \"[{\\\"title\\\":\\\"yes\\\",\\\"id\\\":\\\"a319d23e-a31d-4885-8915-206831c6fa86\\\"},{\\\"title\\\":\\\"no\\\",\\\"id\\\":\\\"00dbdbef-7c93-422b-b227-361eb60401a1\\\"}]\"\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","get_list_quick_template"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ab7860a6-633b-49f0-aadc-010ab68c803f"},{"name":"[Barantumchat] Send Quick Template","id":"8f4e3434-d3c7-4f05-a165-0c2c9a5a23f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"company_uuid\": \"{{company_uuid}}\",\r\n    \"channel\": \"wa | ig | fb | line | telegram | twitter | tiktok\",\r\n    \"users_id\": \"{{users_id}}\",\r\n    \"template_uuid\": \"{{template_uuid}}\",\r\n    \"chat_bot_id\": {{bot_id}}\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/send_quick_template","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>Send a quick reply template message to a customer in an active chat room.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n<tr>\n<td><code>channel</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>wa, ig, fb, line, telegram, twitter, tiktok</td>\n</tr>\n<tr>\n<td><code>users_id</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>628111111111</td>\n</tr>\n<tr>\n<td><code>template_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>b88288ae-5fb2-4203-9ac8-f569febb2441</td>\n</tr>\n<tr>\n<td><code>chat_bot_id</code></td>\n<td>No</td>\n<td>number</td>\n<td>1</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"expected-response\">Expected Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"data\": {\n        \"customer_id\": \"62897187XXX\"\n    }\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","send_quick_template"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8f4e3434-d3c7-4f05-a165-0c2c9a5a23f5"},{"name":"[Barantumchat] Get Expired Category (Whatsapp Only)","id":"91055f15-078a-4861-b3f3-7c087e315d26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api-chat.barantum.com/api/v1/expired-category?company_uuid={{company_uuid}}&wa_serial_id={{serial_id}}","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for get expired time for a room with all categories in Barantum CRM. There are two parameters that are required as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>31a2c6c7-d909-4c96-95d7-7d4c95eb75dc</td>\n</tr>\n<tr>\n<td><code>wa_serial_id</code></td>\n<td>Yes</td>\n<td>number</td>\n<td>1128033</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get Expired Category API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"Ok\",\n    \"data\": {\n        \"wa_users_id\": \"6281383xxxxxx\",\n        \"wa_bot_id\": 30,\n        \"wa_serial_id\": 441,\n        \"data_initiated\": [\n            {\n                \"category\": \"marketing\",\n                \"date_start\": \"2023-11-03 13:58:00\",\n                \"date_end\": \"2023-11-04 13:58:00\"\n            },\n            {\n                \"category\": \"authentication\",\n                \"date_start\": \"2023-11-03 13:48:00\",\n                \"date_end\": \"2023-11-04 13:48:00\"\n            },\n            {\n                \"category\": \"utility\",\n                \"date_start\": \"2023-11-03 13:43:00\",\n                \"date_end\": \"2023-11-04 13:43:00\"\n            },\n            {\n                \"category\": \"service\",\n                \"date_start\": \"2023-11-03 13:36:00\",\n                \"date_end\": \"2023-11-04 13:36:00\",\n                \"status\": \"deactive\"\n            },\n            {\n                \"category\": \"customer\",\n                \"date_start\": \"2023-11-03 10:07:14\",\n                \"date_end\": \"2023-11-04 10:07:14\"\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","expired-category"],"host":["api-chat","barantum","com"],"query":[{"description":{"content":"<p>Required. API key / company UUID.</p>\n","type":"text/plain"},"key":"company_uuid","value":"{{company_uuid}}"},{"description":{"content":"<p>Required. WhatsApp room serial ID.</p>\n","type":"text/plain"},"key":"wa_serial_id","value":"{{serial_id}}"}],"variable":[]}},"response":[],"_postman_id":"91055f15-078a-4861-b3f3-7c087e315d26"},{"name":"[Barantumchat] List Post (Facebook and Instagram)","id":"ea9780a4-6a3e-4fc1-b03c-1ff152caf091","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"company_uuid\": \"{{company_uuid}}\",\r\n    \"channel\": \"{{channel}}\",\r\n    \"bot_id\": \"{{bot_id}}\",\r\n    \"filter\": {\r\n        \"post_type\": \"TEXT | IMAGE | CAROUSEL\",\r\n        \"post_id\": \"{{post_id}}\"\r\n    },\r\n    \"type_sort\": \"desc | asc\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/get_list_post","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for get list posts in social media that is commented by your customer in Barantum CRM. There are three parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n<td></td>\n</tr>\n<tr>\n<td>channel</td>\n<td>Yes</td>\n<td>text</td>\n<td>fb_post</td>\n<td><code>fb_post</code>, <code>ig_post</code></td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>Yes</td>\n<td>number</td>\n<td>1</td>\n<td></td>\n</tr>\n<tr>\n<td>filter</td>\n<td>No</td>\n<td>Object</td>\n<td><code>{\"post_type\": \"TEXT\", \"post_id\": \"410169352177070_122098398530494123\"}</code></td>\n<td>post_type : <code>TEXT</code>, <code>IMAGE</code>, <code>CAROSEL</code></td>\n</tr>\n<tr>\n<td>type_sort</td>\n<td>No</td>\n<td>text</td>\n<td>desc</td>\n<td><code>desc</code>, <code>asc</code></td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the List Post (Facebook and Instagram) API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"OK\",\n    \"data\": [\n        {\n            \"channel\": \"fb_post\",\n            \"fb_post_id\": \"410169352177070_122098398530494123\",\n            \"fb_post_type\": \"image\",\n            \"fb_post_content\": \"\",\n            \"fb_post_url\": \"https://s3.ap-southeast-1.amazonaws.com/crm.barantum.com-ap-southeast-1/company_1/20241223012931456205527_122097082454496058_6882095556547478123_n.jpg\",\n            \"date_created\": \"23 December 2024 08:29:31\"\n        }\n    ]\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","get_list_post"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea9780a4-6a3e-4fc1-b03c-1ff152caf091"},{"name":"[Barantumchat] List Comment (Facebook and Instagram)","id":"421c9006-7f82-414b-bb20-6567b60a12b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"company_uuid\": \"{{company_uuid}}\",\r\n    \"channel\": \"{{channel}}\",\r\n    \"post_id\": \"{{post_id}}\",\r\n    \"filter\": {\r\n        \"comment_type\": \"TEXT | IMAGE | CAROUSEL\",\r\n        \"comment_id\": \"{{comment_id}}\"\r\n    },\r\n    \"type_sort\": \"desc | asc\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/get_list_comment","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for get list comments of specified post in social media that is commented by your customer in Barantum CRM. There are three parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n<th><strong>Available Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n<td></td>\n</tr>\n<tr>\n<td>channel</td>\n<td>Yes</td>\n<td>text</td>\n<td>fb_post</td>\n<td><code>fb_post</code>, <code>ig_post</code></td>\n</tr>\n<tr>\n<td>post_id</td>\n<td>Yes</td>\n<td>number</td>\n<td>1</td>\n<td></td>\n</tr>\n<tr>\n<td>filter</td>\n<td>No</td>\n<td>Object</td>\n<td><code>{\"comment_type\": \"TEXT\", \"comment_id\": \"410169352177070_122098398530494123\"}</code></td>\n<td>comment_type : <code>TEXT</code>, <code>IMAGE</code>, <code>CAROSEL</code></td>\n</tr>\n<tr>\n<td>type_sort</td>\n<td>No</td>\n<td>text</td>\n<td>desc</td>\n<td><code>desc</code>, <code>asc</code></td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the List Comment (Facebook and Instagram) API request to Barantum CRM for the complete list.</p>\n<h3 id=\"example-request\">Example Request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"company_uuid\": \"f8c51792-8e1b-36ff-a7d0-8d2d655bdbed\",\n  \"channel\": \"fb_post\",\n  \"post_id\": \"410169352177070_122098398530494123\",\n  \"filter\": {\n    \"comment_id\": \"\",\n    \"comment_type\": \"\"\n  },\n  \"type_sort\": \"desc\"\n}\n\n</code></pre>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"OK\",\n    \"data\": [\n        {\n            \"channel\": \"fb_post\",\n            \"post_id\": \"410169352177070_122098398530494123\",\n            \"comment_type\": \"image\",\n            \"comment_name\": \"Halaman Omni FB\",\n            \"comment_content\": \"coba comment image\",\n            \"comment_url\": \"https://s3.ap-southeast-1.amazonaws.com/crm.barantum.com-ap-southeast-1/company_1/Sir.Crocodile.600.3856123.jpg\",\n            \"comment_id\": \"122098398530494101_478469841542123\",\n            \"date_created\": \"24 December 2024 10:36:29\",\n            \"comment_by\": \"agent\",\n            \"comment_owner\": 2,\n            \"comment_owner_name\": \"demo\"\n        }\n    ]\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","get_list_comment"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"421c9006-7f82-414b-bb20-6567b60a12b5"},{"name":"[Barantumchat] Send/Reply Comment Text (Facebook and Instagram)","id":"a7b59899-033a-4b13-8b89-06cda83197c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"company_uuid\": \"{{company_uuid}}\",\r\n    \"channel\": \"{{channel}}\",\r\n    \"post_id\": \"{{post_id}}\",\r\n    \"bot_id\": \"{{bot_id}}\",\r\n    \"target_reply_id\": \"{{comment_id}}\",\r\n    \"comment_text\": \"<Put Comment Here>\",\r\n    \"agent_id\": \"{{agent_id}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/send_comment","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for submit comment to specified post or reply to specified comment of your audience in social media with Barantum. There are five parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n<th><strong>Available Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n<td></td>\n</tr>\n<tr>\n<td>channel</td>\n<td>Yes</td>\n<td>text</td>\n<td>fb_post</td>\n<td><code>fb_post</code>, <code>ig_post</code></td>\n</tr>\n<tr>\n<td>post_id</td>\n<td>Yes</td>\n<td>text</td>\n<td>410169352177070_122098398530494123</td>\n<td></td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>Yes</td>\n<td>number</td>\n<td>1</td>\n<td></td>\n</tr>\n<tr>\n<td>target_reply_id</td>\n<td>No</td>\n<td>text</td>\n<td>41016935216789_122098398532123</td>\n<td></td>\n</tr>\n<tr>\n<td>comment_text</td>\n<td>Yes</td>\n<td>text</td>\n<td>ini merupakan contoh comment</td>\n<td></td>\n</tr>\n<tr>\n<td>agent_id</td>\n<td>No</td>\n<td>number</td>\n<td>2</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Send/Reply Comment Text (Facebook and Instagram) API request to Barantum for the complete list.</p>\n<h3 id=\"example-request\">Example Request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"post_id\": \"410169352177070_122098398530494123\",\n  \"agent_id\": 2,\n  \"channel\": \"fb_post\",\n  \"company_uuid\": \"f8c51792-8e1b-36ff-a7d0-8d2d655bdbed\",\n  \"bot_id\": \"5\",\n  \"target_reply_id\": \"41016935216789_122098398532123\",\n  \"comment_text\": \"ini merupakan contoh comment\"\n}\n\n</code></pre>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"channel\": \"fb_post\",\n        \"post_id\": \"410169352177070_122098398530494101\",\n        \"comment_id\": \"122098398530494101_612766137977129\"\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","send_comment"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a7b59899-033a-4b13-8b89-06cda83197c0"},{"name":"[Barantumchat] Send/Reply Comment Media (Facebook and Instagram)","id":"8f787eea-e41a-40be-958f-28f35e6015b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"company_uuid\": \"{{company_uuid}}\",\r\n    \"channel\": \"{{channel}}\",\r\n    \"post_id\": \"{{post_id}}\",\r\n    \"bot_id\": \"{{bot_id}}\",\r\n    \"target_reply_id\": \"{{comment_id}}\",\r\n    \"type\": \"media\",\r\n    \"agent_id\": \"{{agent_id}}\",\r\n    \"media\": {\r\n        \"caption\": \"<Put Caption Here>\",\r\n        \"link\": \"<Put Your Attachment Endpoint Here\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/send_comment","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for submit comment with attachment to specified post or reply to specified comment of your audience in social media with Barantum. There are five parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n<th><strong>Available Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n<td></td>\n</tr>\n<tr>\n<td>channel</td>\n<td>Yes</td>\n<td>text</td>\n<td>fb_post</td>\n<td><code>fb_post</code>, <code>ig_post</code></td>\n</tr>\n<tr>\n<td>post_id</td>\n<td>Yes</td>\n<td>text</td>\n<td>410169352177070_122098398530494123</td>\n<td></td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>Yes</td>\n<td>number</td>\n<td>1</td>\n<td></td>\n</tr>\n<tr>\n<td>target_reply_id</td>\n<td>No</td>\n<td>text</td>\n<td>41016935216789_122098398532123</td>\n<td></td>\n</tr>\n<tr>\n<td>type</td>\n<td>Yes</td>\n<td>text</td>\n<td>media</td>\n<td></td>\n</tr>\n<tr>\n<td>agent_id</td>\n<td>No</td>\n<td>number</td>\n<td>2</td>\n<td></td>\n</tr>\n<tr>\n<td>media</td>\n<td>Yes</td>\n<td>object</td>\n<td><code>{\"caption\": \"coba comment image\", \"link\":\"https://s3.ap-southeast-1.amazonaws.com/crm.barantum.com-ap-southeast-1/company_1/Sir.Crocodile.600.3856123.jpg\"}</code></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Send/Reply Comment Media (Facebook and Instagram) API request to Barantum for the complete list.</p>\n<h3 id=\"example-request\">Example Request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"post_id\": \"410169352177070_122098398530494123\",\n  \"agent_id\": 2,\n  \"channel\": \"fb_post\",\n  \"company_uuid\": \"f8c51792-8e1b-36ff-a7d0-8d2d655bdbed\",\n  \"bot_id\": \"5\",\n  \"target_reply_id\": \"41016935216789_122098398532123\",\n\"type\": \"media\",\n  \"media\": {\n    \"caption\": \"coba comment image\",\n    \"link\": \"https://s3.ap-southeast-1.amazonaws.com/crm.barantum.com-ap-southeast-1/company_1/Sir.Crocodile.600.3856123.jpg\"\n  }\n}\n\n</code></pre>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"channel\": \"fb_post\",\n        \"post_id\": \"410169352177070_122098398530494101\",\n        \"comment_id\": \"122098398530494101_612766137977129\"\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","send_comment"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8f787eea-e41a-40be-958f-28f35e6015b1"},{"name":"Whatsapp Typing Indicator","id":"57f67a13-30de-4c1a-9d3e-d0823e82d569","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"company_uuid\": \"{{company_uuid}}\",\r\n    \"chat_bot_id\": {{bot_id}},\r\n    \"wa_serial_id\": {{serial_id}}\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/typing_indicator","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>Send a typing indicator (read receipt) to a customer's WhatsApp room.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Explanation</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Token API</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n<tr>\n<td><code>chat_bot_id</code></td>\n<td>Yes</td>\n<td>number</td>\n<td>Chat Bot ID from [Barantumchat] Get List Bot</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>wa_serial_id</code></td>\n<td>Yes</td>\n<td>number</td>\n<td>Room ID from [Barantumchat] Get List Room (WhatsApp only)</td>\n<td>121056</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"expected-response\">Expected Response</h3>\n<p>Success</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Success\"\n}\n</code></pre>\n<p>Bot not found</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Bot not found!\"\n}\n</code></pre>\n<p>Room not found</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Room not found!\"\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","typing_indicator"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"57f67a13-30de-4c1a-9d3e-d0823e82d569"},{"name":"[Barantumchat] Send Interactive Message (Whatsapp Only)","id":"15d93921-114a-486e-8b3b-423d18f93ccc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"company_uuid\": \"{{company_uuid}}\",\r\n    \"chat_bot_id\": {{bot_id}},\r\n    \"contacts\": [\r\n        { \"number\": \"{{users_id}}\" }\r\n    ],\r\n    \"content_message\": {\r\n        \"type_header\": \"text | image | document | video\",\r\n        \"content_header\": \"{{header_content}}\",\r\n        \"content_body\": \"{{body_content}}\",\r\n        \"content_footer\": \"{{footer_content}}\"\r\n    },\r\n    \"content_action\": {\r\n        \"type_action\": \"list | button\",\r\n        \"button_label\": \"{{button_label}}\",\r\n        \"content_action_message\": [\r\n            { \"title\": \"Option 1\", \"id\": \"option_1\" },\r\n            { \"title\": \"Option 2\", \"id\": \"option_2\" }\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/send-interactive-message","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>Send an interactive WhatsApp message (list or button type) to an active chat room.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n<tr>\n<td><code>chat_bot_id</code></td>\n<td>Yes</td>\n<td>number</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>contacts</code></td>\n<td>Yes</td>\n<td>array</td>\n<td><code>[{\"number\": \"6281383xxxxx\"}]</code></td>\n</tr>\n<tr>\n<td><code>content_message</code></td>\n<td>Yes</td>\n<td>object</td>\n<td>Object containing <code>type_header</code>, <code>content_header</code>, <code>content_body</code>, <code>content_footer</code></td>\n</tr>\n<tr>\n<td><code>content_action</code></td>\n<td>Yes</td>\n<td>object</td>\n<td>Object containing <code>type_action</code> (list | button), <code>button_label</code>, <code>content_action_message</code></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong><code>content_action.type_action</code> values:</strong></p>\n<ul>\n<li><code>list</code> — displays a scrollable list of options</li>\n<li><code>button</code> — displays up to 3 quick-reply buttons</li>\n</ul>\n<blockquote>\n<p>An active chat room (status pending or in-progress) must exist with the customer before sending.</p>\n</blockquote>\n<h3 id=\"expected-response\">Expected Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"data\": { }\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","send-interactive-message"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"15d93921-114a-486e-8b3b-423d18f93ccc"},{"name":"[Barantumchat] Upload Media for Template (Whatsapp Only)","id":"31cd7638-06fc-4c8c-84e5-bfc5b706eac9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"company_uuid","value":"{{company_uuid}}","type":"text","description":"<p>Required. API key.</p>\n"},{"key":"bot_id","value":"{{bot_id}}","type":"text","description":"<p>Required. WhatsApp bot ID.</p>\n"},{"key":"bot_type","value":"{{bot_type}}","type":"text","description":"<p>Required. Bot type (e.g. cloud).</p>\n"},{"key":"file","value":"","type":"file","description":"<p>Required. Media file to upload (image, video, document).</p>\n"}]},"url":"https://api-chat.barantum.com/api/v1/upload-media-template","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>Upload a media file to be used as a header in a WhatsApp broadcast template. Returns a Meta <code>handle</code> and a public S3 URL.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n<tr>\n<td><code>bot_id</code></td>\n<td>Yes</td>\n<td>number</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>bot_type</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>cloud</td>\n</tr>\n<tr>\n<td><code>file</code></td>\n<td>Yes</td>\n<td>file (multipart)</td>\n<td>Binary media file</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>Use the returned <code>handle</code> in the <code>template_header_media_handle</code> field of Create WA Template.</p>\n</blockquote>\n<h3 id=\"expected-response\">Expected Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"ok\",\n    \"handle\": \"4:xxxxxxxxxxxx\",\n    \"url\": \"https://s3.ap-southeast-1.amazonaws.com/crm.barantum.document/...\"\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","upload-media-template"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"31cd7638-06fc-4c8c-84e5-bfc5b706eac9"},{"name":"[Barantumchat] Create WA Template - Marketing/Utility (Whatsapp Only)","id":"9f102b26-7eea-4945-9990-8432ebfb6716","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"company_uuid\": \"{{company_uuid}}\",\r\n    \"bot_id\": {{bot_id}},\r\n    \"template_name\": \"{{template_name}}\",\r\n    \"template_category\": \"MARKETING | UTILITY\",\r\n    \"template_language\": \"{{language_code}}\",\r\n    \"template_body\": \"{{template_body}}\",\r\n    \"type\": \"NORMAL\",\r\n    \"template_header\": {\r\n        \"type\": \"image | video | document | text\",\r\n        \"text\": \"{{header_text}}\"\r\n    },\r\n    \"template_footer\": \"{{footer_text}}\",\r\n    \"template_button\": [\r\n        {\r\n            \"type\": \"PHONE_NUMBER | URL | QUICK_REPLY | FLOW | CATALOG\",\r\n            \"text\": \"{{button_text}}\",\r\n            \"phoneCode\": \"{{phone_code}}\",\r\n            \"phoneNumber\": \"{{phone_number}}\"\r\n        }\r\n    ],\r\n    \"template_body_example\": [\"{{var_1}}\", \"{{var_2}}\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/create-wa-template","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>Create a new WhatsApp broadcast template (MARKETING or UTILITY category).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n<tr>\n<td><code>bot_id</code></td>\n<td>Yes</td>\n<td>number</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>template_name</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>my_promo_template</td>\n</tr>\n<tr>\n<td><code>template_category</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>MARKETING | UTILITY</td>\n</tr>\n<tr>\n<td><code>template_language</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>id, en, en_US</td>\n</tr>\n<tr>\n<td><code>template_body</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Template message body. Use {{1}}, {{2}} for variables.</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>No</td>\n<td>text</td>\n<td>NORMAL (default) | CAROUSEL</td>\n</tr>\n<tr>\n<td><code>template_header</code></td>\n<td>No</td>\n<td>object</td>\n<td><code>{\"type\": \"image\", \"text\": \"\"}</code> or include <code>media_url</code>/<code>handle</code></td>\n</tr>\n<tr>\n<td><code>template_footer</code></td>\n<td>No</td>\n<td>text</td>\n<td>Footer text</td>\n</tr>\n<tr>\n<td><code>template_button</code></td>\n<td>No</td>\n<td>array</td>\n<td>Buttons with type: PHONE_NUMBER, URL, QUICK_REPLY, FLOW, CATALOG</td>\n</tr>\n<tr>\n<td><code>template_body_example</code></td>\n<td>No</td>\n<td>array</td>\n<td>Example values for body variables</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Button types:</strong></p>\n<ul>\n<li><code>PHONE_NUMBER</code> — requires <code>phoneCode</code> and <code>phoneNumber</code></li>\n<li><code>URL</code> — requires <code>url</code> and <code>type_url</code> (static | dynamic)</li>\n<li><code>QUICK_REPLY</code> — requires <code>text</code> only</li>\n<li><code>FLOW</code> — requires <code>flow_id</code> (use Get List WA Flow endpoint)</li>\n<li><code>CATALOG</code> — text auto-set to \"View catalog\"</li>\n</ul>\n<blockquote>\n<p>For AUTHENTICATION templates, use the Create WA Template Auth endpoint instead.</p>\n</blockquote>\n<h3 id=\"expected-response\">Expected Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"Template created successfully\",\n    \"data\": { }\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","create-wa-template"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9f102b26-7eea-4945-9990-8432ebfb6716"},{"name":"[Barantumchat] Create WA Template - Authentication (Whatsapp Only)","id":"d5fe0222-9306-4241-b9e0-774add422db3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"company_uuid\": \"{{company_uuid}}\",\r\n    \"bot_id\": {{bot_id}},\r\n    \"template_name\": \"{{template_name}}\",\r\n    \"template_language\": \"{{language_code}}\",\r\n    \"otp_type_auth\": \"COPY_CODE | ONE_TAP\",\r\n    \"text_autofill_auth\": \"{{autofill_text}}\",\r\n    \"package_name_auth\": \"{{package_name}}\",\r\n    \"signature_hash_auth\": \"{{signature_hash}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/create-wa-template-auth","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>Create a new WhatsApp AUTHENTICATION category template (for OTP / login flows).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n<tr>\n<td><code>bot_id</code></td>\n<td>Yes</td>\n<td>number</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>template_name</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>my_otp_template</td>\n</tr>\n<tr>\n<td><code>template_language</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>id, en, en_US</td>\n</tr>\n<tr>\n<td><code>otp_type_auth</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>COPY_CODE | ONE_TAP</td>\n</tr>\n<tr>\n<td><code>text_autofill_auth</code></td>\n<td>Yes (ONE_TAP only)</td>\n<td>text</td>\n<td>Autofill button label</td>\n</tr>\n<tr>\n<td><code>package_name_auth</code></td>\n<td>Yes (ONE_TAP only)</td>\n<td>text</td>\n<td>Android app package name</td>\n</tr>\n<tr>\n<td><code>signature_hash_auth</code></td>\n<td>Yes (ONE_TAP only)</td>\n<td>text</td>\n<td>App signature hash</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><code>COPY_CODE</code> — user copies the OTP code manually.\n<code>ONE_TAP</code> — Android auto-fills the OTP (requires <code>package_name_auth</code> and <code>signature_hash_auth</code>).</p>\n</blockquote>\n<h3 id=\"expected-response\">Expected Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"Authentication template created successfully\",\n    \"data\": { }\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","create-wa-template-auth"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d5fe0222-9306-4241-b9e0-774add422db3"},{"name":"[Barantumchat] Delete WA Template (Whatsapp Only)","id":"64610aa6-0b71-47a2-b73e-703691321a48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"company_uuid\": \"{{company_uuid}}\",\r\n    \"bot_id\": {{bot_id}},\r\n    \"template_name\": \"{{template_name}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-chat.barantum.com/api/v1/delete-wa-template","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>Delete a WhatsApp broadcast template from both Meta and Barantum CRM.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n<tr>\n<td><code>bot_id</code></td>\n<td>Yes</td>\n<td>number</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>template_name</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>my_promo_template</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>Template name is normalized to lowercase with underscores automatically.</p>\n</blockquote>\n<h3 id=\"expected-response\">Expected Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"Template deleted successfully\"\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","delete-wa-template"],"host":["api-chat","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"64610aa6-0b71-47a2-b73e-703691321a48"},{"name":"[Barantumchat] Get List WA Flow (Whatsapp Only)","id":"7a92a88e-ada5-464e-81cf-0eb95eac9ef6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api-chat.barantum.com/api/v1/get-list-flow?company_uuid={{company_uuid}}","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>Get list of WhatsApp Flows for the company. Use <code>flow_id</code> values when creating a template with a FLOW button type.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_uuid</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>235ebc4a-b559-4958-8caa-5164cc08315d</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>Alternatively, send a POST request to this endpoint with pagination and <code>flow_name</code> filter in the body.</p>\n</blockquote>\n<h3 id=\"expected-response\">Expected Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"ok\",\n    \"data\": [\n        {\n            \"flow_id\": \"1234567890\",\n            \"flow_name\": \"My Customer Flow\"\n        }\n    ]\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","get-list-flow"],"host":["api-chat","barantum","com"],"query":[{"description":{"content":"<p>Required. API key / company UUID.</p>\n","type":"text/plain"},"key":"company_uuid","value":"{{company_uuid}}"}],"variable":[]}},"response":[],"_postman_id":"7a92a88e-ada5-464e-81cf-0eb95eac9ef6"}],"id":"f3b03660-a0dc-4129-b5e3-776cbeaa3a8a","description":"<p>Barantum Chat API Collection demonstrates how the data in the CRM works. This collection provides endpoints for adding or retrieving data details from the database.</p>\n<blockquote>\n<p>This API Collection is built on Barantum API Account. This means the data is dynamic and can be edited. </p>\n</blockquote>\n<h1 id=\"getting-started\">Getting Started</h1>\n<p>To start sending requests to the Barantum Chat API, make sure that you have an account in Barantum.com CRM.</p>\n<h2 id=\"get-api-key\">Get API Key</h2>\n<p>Indonesian: Anda bisa mengikuti cara mendapatkan API Key ini melalui artikel kami dengan klik link berikut : <a href=\"https://support.barantum.com/faq/Cara-Generate-API-Token-pada-Barantum-CRM.\">https://support.barantum.com/faq/Cara-Generate-API-Token-pada-Barantum-CRM.</a> Gunakan API Key ini pada variabel `company_uuid`.</p>\n<p>English: To get your API Key, you can follow this section</p>\n<p>1. You must have an admin type account, then login on <a href=\"https://my.barantum.com\">https://my.barantum.com</a>.</p>\n<p>2. On the right top of navbar, click the gear icon to access setting.</p>\n<img src=\"https://content.pstmn.io/e7325a61-6fc1-4bd4-865f-c079c5aff88d/YWNjZXNzIHNldHRpbmcucG5n\" alt=\"Figure%201.%20Which%20button%20should%20be%20clicked%20on%20Barantum\" width=\"457\" height=\"95\" />\n\n<p>3. Click Developer Integration.</p>\n<img src=\"https://content.pstmn.io/e49f67c3-a3f8-4890-894a-191e7186f5b2/aW50ZWdyYXNpIGRldi5wbmc=\" alt=\"Figure%202.%20Developer%20Integration\" width=\"666\" height=\"746\" />\n\n<p>4. Generate token by click `+ Add Key` button.</p>\n<img src=\"https://content.pstmn.io/2201c827-92cd-4d9c-974a-91e9a2f44be5/YWRkIG5ldyB0b2tlbi5wbmc=\" alt=\"Figure%203.%20Pointing%20where%20the%20Add%20Key%20button\" width=\"1906\" height=\"350\" />\n\n<p>5. On sidebar, please click `Generate Token` button to generate.</p>\n<img src=\"https://content.pstmn.io/da4f1a41-c1c9-4242-ad59-c194ae2c2a09/Z2VuZXJhdGUgdG9rZW4ucG5n\" alt=\"Figure%204.%20Sidebar%20menu%20pointing%20which%20button%20should%20be%20clicked\" width=\"779\" height=\"487\" />\n\n<p>6. That key will be your `company_uuid` value.</p>\n","_postman_id":"f3b03660-a0dc-4129-b5e3-776cbeaa3a8a"},{"name":"Barantum CRM","item":[{"name":"Tickets","item":[{"name":"[Tickets] Save Data","id":"2793e326-4f6e-46a2-95ea-dab09df86c43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Tickets\",\r\n    \"data\" : {\r\n        \"tickets_name\": \"Tickets Dummy 5\",\r\n        \"tickets_person_name\": \"API Contacts Test\",\r\n        \"tickets_description\": \"Tickets dummy test\",\r\n        \"tickets_bulk_name\": \"10001359445762\",\r\n        \"tickets_status\": 17,\r\n        \"tickets_owner\": \"API Test\",\r\n        \"tickets_contacts_uuid\": \"5ea1f586-43e6-446b-bd60-9a377fe9f2ef\"\r\n    },\r\n    \"data_custom\": {\r\n        \"your_custom_field_name\": \"text value\",\r\n        \"your_multioption_field_name\": [\"Option 1\", \"Option 2\"]\r\n    }\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/save_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for adding data to Tickets Module in Barantum CRM. There are four parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Tickets (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>1</td>\n</tr>\n<tr>\n<td><code>tickets_unique_id</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>TICKETS-6303895</td>\n</tr>\n<tr>\n<td><code>tickets_name</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>Tickets Dummy 1</td>\n</tr>\n<tr>\n<td><code>tickets_person_name</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API Contacts Test</td>\n</tr>\n<tr>\n<td><code>tickets_description</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Any description</td>\n</tr>\n<tr>\n<td><code>tickets_status</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>17</td>\n</tr>\n<tr>\n<td><code>tickets_owner</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n<tr>\n<td><code>tickets_contacts_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>5ea1f586-43e6-446b-bd60-9a377fe9f2ef</td>\n</tr>\n<tr>\n<td><code>date_created</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>created_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n<tr>\n<td><code>date_modified</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>modified_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get Data API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true,\n    \"uuid\": \"17b55145-0ae7-45f0-a7c5-65af5ec61b73\",\n    \"tickets_unique_id\": \"TICKETS-6326763\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","save_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2793e326-4f6e-46a2-95ea-dab09df86c43"},{"name":"[Tickets] Update Data","id":"5b31460d-3a0b-4060-b3d3-c578deed67a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Tickets\",\r\n    \"data\" : {\r\n        \"tickets_uuid\": \"ac683968-bac5-4a01-bb6b-3031656b50a4\",\r\n        \"tickets_name\": \"Test Edit API 22\"\r\n    },\r\n    \"data_custom\": {\r\n        \"your_custom_field_name\": \"text value\",\r\n        \"your_multioption_field_name\": [\"Option 1\", \"Option 2\"]\r\n    }\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/update_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for editing data from Tickets Module in Barantum CRM. There are three parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Tickets (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>1</td>\n</tr>\n<tr>\n<td><code>tickets_uuid</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>ac683968-bac5-4a01-bb6b-3031656b50a4</td>\n</tr>\n<tr>\n<td><code>tickets_unique_id</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>TICKETS-6303895</td>\n</tr>\n<tr>\n<td><code>tickets_name</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Tickets Dummy 1</td>\n</tr>\n<tr>\n<td><code>tickets_person_name</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API Contacts Test</td>\n</tr>\n<tr>\n<td><code>tickets_description</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Any description</td>\n</tr>\n<tr>\n<td><code>tickets_status</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>17</td>\n</tr>\n<tr>\n<td><code>tickets_owner</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get Data API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","update_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5b31460d-3a0b-4060-b3d3-c578deed67a7"},{"name":"[Tickets] Get Data","id":"33e476c8-af14-4549-bc10-bd694679f9df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Tickets\",\r\n    \"page\": 1,\r\n    \"tickets_name\": \"Test Edit API 22\"\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/get_list_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for getting list data from Tickets Module in Barantum CRM. There are two parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Tickets (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>1</td>\n</tr>\n<tr>\n<td><code>tickets_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>ac683968-bac5-4a01-bb6b-3031656b50a4</td>\n</tr>\n<tr>\n<td><code>tickets_unique_id</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>TICKETS-6303895</td>\n</tr>\n<tr>\n<td><code>tickets_name</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Tickets Dummy 1</td>\n</tr>\n<tr>\n<td><code>tickets_person_name</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API Contacts Test</td>\n</tr>\n<tr>\n<td><code>tickets_description</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Any description</td>\n</tr>\n<tr>\n<td><code>tickets_status</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>17</td>\n</tr>\n<tr>\n<td><code>tickets_owner</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n<tr>\n<td><code>date_created</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>created_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n<tr>\n<td><code>date_modified</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>modified_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": {\n        \"total\": 1,\n        \"page_total\": 1,\n        \"page_last\": 1,\n        \"page_first\": 1,\n        \"per_page\": 20,\n        \"page_current\": \"1\",\n        \"page_previous\": 0,\n        \"page_next\": 2,\n        \"content\": [\n            {\n                \"tickets_uuid\": \"ac683968-bac5-4a01-bb6b-3031656b50a4\",\n                \"tickets_unique_id\": \"TICKETS-6303895\",\n                \"tickets_name\": \"Test Edit API 22\",\n                \"tickets_person_name\": \"API Contacts Test\",\n                \"tickets_description\": \"Tickets dummy test\",\n                \"tickets_status\": \"18\",\n                \"tickets_owner\": \"API TEST\",\n                \"date_created\": \"2022-07-28 10:59:17\",\n                \"created_by\": \"API TEST\",\n                \"date_modified\": \"2022-07-29 10:59:26\",\n                \"modified_by\": \"API TEST\",\n                \"deals_serial_id\": null,\n                \"tickets_priority\": null,\n                \"tickets_channel_type\": null,\n                \"tickets_close_date\": null,\n                \"tickets_expected_close_date\": \"2022-07-28 10:59:17\",\n                \"tickets_source\": null,\n                \"tickets_reason\": null,\n                \"tickets_first_respon\": null,\n                \"tickets_last_workflow\": null,\n                \"tickets_last_workflow_date\": null,\n                \"tickets_last_workflow_description\": null,\n                \"tickets_reference\": null,\n                \"first_activity_id\": 0,\n                \"first_activity_module\": null,\n                \"first_activity_date\": null,\n                \"last_activity_id\": 0,\n                \"last_activity_module\": null,\n                \"last_activity_date\": null,\n                \"upcoming_activity_id\": 0,\n                \"upcoming_activity_module\": null,\n                \"tickets_bulk_name\": \"10001359445762\",\n                \"contacts\": [\n                    {\n                        \"contacts_salutation\": \"Mr.\",\n                        \"contacts_first_name\": \"API Contact\",\n                        \"contacts_last_name\": \"Test\",\n                        \"contacts_phone_mobile\": \"\",\n                        \"contacts_phone_work\": \"\"\n                    }\n                ],\n                \"attachments\": []\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","get_list_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"33e476c8-af14-4549-bc10-bd694679f9df"},{"name":"[Tickets] Delete Data","id":"652065c4-9137-4003-b92d-b08c1a796c00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Tickets\",\r\n    \"data_uuid\" : \"75a8e612-48ee-47f7-9edd-888c7b4fb6e6\"\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/delete_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for deleting data from Tickets Module in Barantum CRM. There are three parameters that are required as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Tickets (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>data_uuid</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>ac683968-bac5-4a01-bb6b-3031656b50a4</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","delete_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"652065c4-9137-4003-b92d-b08c1a796c00"}],"id":"c6b97254-68c4-49ff-8250-b4aa269500e2","description":"<p>The Tickets Module is used to manage customer support tickets — tracking issues, complaints, or requests from creation to resolution. Tickets can be linked to a Contact record. Supports additional custom fields via <code>data_custom</code>.</p>\n<blockquote>\n<p>You must have a Barantum CRM account to use this API.</p>\n</blockquote>\n<p><strong>Key fields:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>tickets_name</code></td>\n<td>Yes</td>\n<td>Ticket title/subject</td>\n</tr>\n<tr>\n<td><code>tickets_owner</code></td>\n<td>Yes</td>\n<td>Agent name assigned to the ticket</td>\n</tr>\n<tr>\n<td><code>tickets_status</code></td>\n<td>Optional</td>\n<td>Ticket status (numeric ID)</td>\n</tr>\n<tr>\n<td><code>tickets_contacts_uuid</code></td>\n<td>Optional</td>\n<td>UUID of the related Contact</td>\n</tr>\n<tr>\n<td><code>tickets_priority</code></td>\n<td>Optional</td>\n<td>Ticket priority</td>\n</tr>\n<tr>\n<td><code>tickets_close_date</code></td>\n<td>Optional</td>\n<td>Closing date</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Custom fields</strong> are sent via <code>data_custom</code>. The key is the custom field name configured in CRM Settings → Custom Fields:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data_custom\": {\n        \"your_custom_field_name\": \"text value\",\n        \"your_multioption_field_name\": [\"Option 1\", \"Option 2\"]\n    }\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Endpoint</strong></th>\n<th><strong>Summary</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Save Data</td>\n<td>Create a new ticket.</td>\n</tr>\n<tr>\n<td>Update Data</td>\n<td>Update an existing ticket.</td>\n</tr>\n<tr>\n<td>Get Data</td>\n<td>Retrieve a list of tickets.</td>\n</tr>\n<tr>\n<td>Delete Data</td>\n<td>Delete a ticket from Barantum CRM.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"c6b97254-68c4-49ff-8250-b4aa269500e2"},{"name":"Meetings","item":[{"name":"[Meetings] Save Data","id":"42fe45d6-f249-4db8-a1f2-c508b5984970","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Meetings\",\r\n    \"data\" : {\r\n        \"meetings_name\": \"Meetings Dummy 2\",\r\n        \"meetings_owner\": \"API TEST\"\r\n    },\r\n    \"data_custom\": {\r\n        \"your_custom_field_name\": \"text value\",\r\n        \"your_multioption_field_name\": [\"Option 1\", \"Option 2\"]\r\n    }\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/save_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for adding data to Meetings Module in Barantum CRM. There are four parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Meetings (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>meetings_unique_id</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>MEETINGS-6303895</td>\n</tr>\n<tr>\n<td><code>meetings_name</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>Meetings Dummy 1</td>\n</tr>\n<tr>\n<td><code>meetings_description</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Any description</td>\n</tr>\n<tr>\n<td><code>meetings_status</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>17</td>\n</tr>\n<tr>\n<td><code>meetings_owner</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>API TEST (nama user)</td>\n</tr>\n<tr>\n<td><code>related_contacts_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>5ea1f586-43e6-446b-bd60-9a377fe9f2ef</td>\n</tr>\n<tr>\n<td><code>related_leads_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>(uuid lead terkait)</td>\n</tr>\n<tr>\n<td><code>related_org_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>(uuid org terkait)</td>\n</tr>\n<tr>\n<td><code>related_deals_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>(uuid deal terkait)</td>\n</tr>\n<tr>\n<td><code>date_created</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>created_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n<tr>\n<td><code>date_modified</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>modified_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get Data API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true,\n    \"uuid\": \"ad3f765b-f918-48db-a599-a128c83445b0\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","save_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"42fe45d6-f249-4db8-a1f2-c508b5984970"},{"name":"[Meetings] Update Data","id":"5026a77a-e1c6-413d-abe0-380d89fc42b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Meetings\",\r\n    \"data\" : {\r\n        \"meetings_uuid\": \"89eb545c-5230-4a3e-8316-bfb6baf31eba\",\r\n        \"meetings_owner\": \"New API Test\",\r\n        \"meetings_status\": \"Planned\"\r\n    },\r\n    \"data_custom\": {\r\n        \"your_custom_field_name\": \"text value\",\r\n        \"your_multioption_field_name\": [\"Option 1\", \"Option 2\"]\r\n    }\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/update_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for editing data from Meetings Module in Barantum CRM. There are three parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Meetings (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>meetings_uuid</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>89eb545c-5230-4a3e-8316-bfb6baf31eba</td>\n</tr>\n<tr>\n<td><code>meetings_name</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Meetings Dummy 1</td>\n</tr>\n<tr>\n<td><code>meetings_description</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Any description</td>\n</tr>\n<tr>\n<td><code>meetings_status</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>17</td>\n</tr>\n<tr>\n<td><code>meetings_owner</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST (nama user)</td>\n</tr>\n<tr>\n<td><code>date_created</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>created_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n<tr>\n<td><code>date_modified</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>modified_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get Data API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","update_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5026a77a-e1c6-413d-abe0-380d89fc42b0"},{"name":"[Meetings] Get Data","id":"bd0f5a50-b44b-46b8-94db-09f8099b6f5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Meetings\",\r\n    \"meetings_name\": \"Test API\"\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/get_list_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for getting list data from Meetings Module in Barantum CRM. There are two parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Meetings (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>1</td>\n</tr>\n<tr>\n<td><code>meetings_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>ac683968-bac5-4a01-bb6b-3031656b50a4</td>\n</tr>\n<tr>\n<td><code>meetings_unique_id</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>MEETINGS-6303895</td>\n</tr>\n<tr>\n<td><code>meetings_name</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Meetings Dummy 1</td>\n</tr>\n<tr>\n<td><code>meetings_description</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Any description</td>\n</tr>\n<tr>\n<td><code>meetings_status</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Planned</td>\n</tr>\n<tr>\n<td><code>meetings_owner</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n<tr>\n<td><code>date_created</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>created_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n<tr>\n<td><code>date_modified</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>modified_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": {\n        \"total\": 1,\n        \"page_total\": 1,\n        \"page_last\": 1,\n        \"page_first\": 1,\n        \"per_page\": 20,\n        \"page_current\": 1,\n        \"page_previous\": 0,\n        \"page_next\": 2,\n        \"content\": [\n            {\n                \"meetings_uuid\": \"c5e29ae7-443d-4356-bce8-b770284f773e\",\n                \"meetings_unique_id\": \"MEETINGS-43942038159\",\n                \"meetings_name\": \"Test API\",\n                \"meetings_description\": \"\",\n                \"meetings_location\": \"\",\n                \"meetings_duration_hours\": \"00\",\n                \"meetings_duration_minutes\": \"00\",\n                \"meetings_date_start\": \"2022-07-28 09:22:00\",\n                \"meetings_date_end\": \"2022-07-28 09:22:00\",\n                \"meetings_status\": \"Planned\",\n                \"meetings_check_in\": null,\n                \"meetings_check_in_fake_location\": 0,\n                \"meetings_check_out_fake_location\": 0,\n                \"meetings_check_out\": null,\n                \"meetings_check_out_status\": 0,\n                \"meetings_check_out_reason\": \"\",\n                \"meetings_owner\": \"API TEST\",\n                \"deals_serial_id\": 0,\n                \"date_created\": \"2022-07-28 16:22:30\",\n                \"created_by\": \"API TEST\",\n                \"date_modified\": null,\n                \"modified_by\": \"-\",\n                \"issue_serial_id\": 0,\n                \"meetings_invitation\": 0,\n                \"meetings_priority\": null,\n                \"tickets_serial_id\": 0,\n                \"meetings_lat\": \"0.0000000\",\n                \"meetings_long\": \"0.0000000\",\n                \"meetings_check_in_lat\": null,\n                \"meetings_check_in_long\": null,\n                \"users_uuid\": \"6b968640-693f-45ff-a04b-0b844401b455\",\n                \"users_name\": \"API TEST\",\n                \"related_leads_uuid\": \"-\",\n                \"related_leads_name\": \"-\",\n                \"related_contacts_uuid\": \"-\",\n                \"related_contacts_name\": \"-\",\n                \"related_org_uuid\": \"d4e2a745-82fa-4b58-8490-f682bff30959\",\n                \"related_org_name\": \"Test Org\",\n                \"related_deals_uuid\": \"-\",\n                \"related_deals_name\": \"-\",\n                \"attachments\": []\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","get_list_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd0f5a50-b44b-46b8-94db-09f8099b6f5c"},{"name":"[Meetings] Delete Data","id":"f7cf3ea3-16d1-4124-85f3-97acafb3c54e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Meetings\",\r\n    \"data_uuid\" : \"75a8e612-48ee-47f7-9edd-888c7b4fb6e6\"\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/delete_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for deleting data from Meetings Module in Barantum CRM. There are three parameters that are required as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Meetings (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>data_uuid</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>0e785608-6213-4678-a990-dc8625ff5a87</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","delete_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f7cf3ea3-16d1-4124-85f3-97acafb3c54e"}],"id":"d6cc92ee-cf99-4ac7-a1ed-86bdcfbd786d","description":"<p>The Meetings Module is used to manage scheduled meetings and appointments. It supports check-in/check-out tracking with GPS coordinates. Meetings can be linked to Leads, Contacts, Org, or Deals. Supports additional custom fields via <code>data_custom</code>.</p>\n<blockquote>\n<p>You must have a Barantum CRM account to use this API.</p>\n</blockquote>\n<p><strong>Key fields:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>meetings_name</code></td>\n<td>Yes</td>\n<td>Meeting title</td>\n</tr>\n<tr>\n<td><code>meetings_owner</code></td>\n<td>Yes</td>\n<td>Owner's full name (string, e.g., API TEST)</td>\n</tr>\n<tr>\n<td><code>meetings_date_start</code></td>\n<td>Optional</td>\n<td>Start date and time</td>\n</tr>\n<tr>\n<td><code>meetings_date_end</code></td>\n<td>Optional</td>\n<td>End date and time</td>\n</tr>\n<tr>\n<td><code>meetings_status</code></td>\n<td>Optional</td>\n<td>Status (e.g., Planned, Held)</td>\n</tr>\n<tr>\n<td><code>meetings_location</code></td>\n<td>Optional</td>\n<td>Meeting location</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Custom fields</strong> are sent via <code>data_custom</code>. The key is the custom field name configured in CRM Settings → Custom Fields:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data_custom\": {\n        \"your_custom_field_name\": \"text value\",\n        \"your_multioption_field_name\": [\"Option 1\", \"Option 2\"]\n    }\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Endpoint</strong></th>\n<th><strong>Summary</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Save Data</td>\n<td>Create a new meeting.</td>\n</tr>\n<tr>\n<td>Update Data</td>\n<td>Update an existing meeting.</td>\n</tr>\n<tr>\n<td>Get Data</td>\n<td>Retrieve a list of meetings.</td>\n</tr>\n<tr>\n<td>Delete Data</td>\n<td>Delete a meeting from Barantum CRM.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"d6cc92ee-cf99-4ac7-a1ed-86bdcfbd786d"},{"name":"Leads","item":[{"name":"[Leads] Save Data","id":"8d660429-5018-45c2-9bda-7116545b433b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Leads\",\r\n    \"data\" : {\r\n        \"leads_first_name\": \"John No Way\",\r\n        \"leads_owner\": \"New API Test\"\r\n    },\r\n    \"data_custom\": {\r\n        \"leads_custom_field_1\": \"Custom Value 1\",\r\n        \"leads_custom_field_2\": \"Custom Value 2\",\r\n        \"leads_custom_field_3\": [\"Custom Value multiple 1\", \"Custom Value multiple 2\"]\r\n    }\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/save_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for adding data to Leads Module in Barantum CRM. There are four parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Leads (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>data</code></td>\n<td>Yes</td>\n<td>Object</td>\n<td></td>\n</tr>\n<tr>\n<td><code>data_custom</code></td>\n<td>Optional</td>\n<td>Object</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get Data API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true,\n    \"uuid\": \"24d2cf03-2989-4d3a-af50-06eb0d19e5ed\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","save_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8d660429-5018-45c2-9bda-7116545b433b"},{"name":"[Leads] Update Data","id":"7b627448-b6ac-4385-83c6-628d5bccc691","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Leads\",\r\n    \"data\" : {\r\n        \"leads_uuid\": \"3fb83406-b418-4241-9971-79c000667509\",\r\n        \"leads_owner\": \"New API Test\",\r\n        \"leads_description\": \"This data has been edited by API Test Ok\"\r\n    },\r\n    \"data_custom\": {\r\n        \"leads_custom_field_1\": \"Custom Value 1\",\r\n        \"leads_custom_field_2\": \"Custom Value 2\",\r\n        \"leads_custom_field_3\": [\"Custom Value multiple 1\", \"Custom Value multiple 2\"]\r\n    }\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/update_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for editing data from Leads Module in Barantum CRM. There are three parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Leads (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>data</code></td>\n<td>Yes</td>\n<td>Object</td>\n<td></td>\n</tr>\n<tr>\n<td><code>data_custom</code></td>\n<td>Optional</td>\n<td>Object</td>\n<td>LEADS-6303895</td>\n</tr>\n<tr>\n<td><code>leads_first_name</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Leads Dummy 1</td>\n</tr>\n<tr>\n<td><code>leads_last_name</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API Contacts Test</td>\n</tr>\n<tr>\n<td><code>leads_description</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Any description</td>\n</tr>\n<tr>\n<td><code>leads_status</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>17</td>\n</tr>\n<tr>\n<td><code>leads_owner</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get Data API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","update_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7b627448-b6ac-4385-83c6-628d5bccc691"},{"name":"[Leads] Get Data","id":"abdfbbff-df6c-4ba1-b13b-ff86112249c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Leads\",\r\n    \"page\": 1\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/get_list_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for getting list data from Leads Module in Barantum CRM. There are two parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Leads (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>1</td>\n</tr>\n<tr>\n<td><code>leads_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>79f2ae99-77f3-4374-8295-923c18ce0c3b</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": {\n        \"total\": 1,\n        \"page_total\": 1,\n        \"page_last\": 1,\n        \"page_first\": 1,\n        \"per_page\": 20,\n        \"page_current\": \"1\",\n        \"page_previous\": 0,\n        \"page_next\": 2,\n        \"content\": [\n            {\n                \"leads_uuid\": \"0e785608-6213-4678-a990-dc8625ff5a87\",\n                \"leads_unique_id\": \"LEADS-3181955\",\n                \"leads_salutation\": null,\n                \"leads_first_name\": \"John\",\n                \"leads_last_name\": \"Doe\",\n                \"leads_email\": \"johndoe@demo.com\",\n                \"leads_picture\": null,\n                \"leads_description\": null,\n                \"leads_privacy\": 0,\n                \"leads_birthdate\": null,\n                \"leads_website\": null,\n                \"leads_source\": null,\n                \"leads_status\": null,\n                \"leads_owner\": \"API TEST\",\n                \"leads_job_title\": null,\n                \"leads_job_department\": null,\n                \"leads_role\": \"\",\n                \"leads_organization_name\": null,\n                \"leads_organization_industry\": null,\n                \"leads_phone_home\": null,\n                \"leads_phone_mobile\": null,\n                \"leads_phone_work\": null,\n                \"leads_phone_fax\": null,\n                \"leads_address_maps\": null,\n                \"leads_address_lat\": \"0\",\n                \"leads_address_long\": \"0\",\n                \"leads_address_street\": null,\n                \"leads_address_city\": null,\n                \"leads_address_state\": null,\n                \"leads_address_postalcode\": null,\n                \"leads_address_country\": null,\n                \"date_created\": \"2022-07-28 10:59:03\",\n                \"created_by\": \"API TEST\",\n                \"date_modified\": \"2022-07-28 03:59:03\",\n                \"modified_by\": \"-\",\n                \"leads_first_assign\": null,\n                \"leads_convert_id\": 0,\n                \"leads_priority\": null,\n                \"first_activity_id\": 0,\n                \"first_activity_module\": null,\n                \"first_activity_date\": null,\n                \"last_activity_id\": 0,\n                \"last_activity_module\": null,\n                \"last_activity_date\": null,\n                \"upcoming_activity_id\": 0,\n                \"upcoming_activity_module\": null,\n                \"attachments\": []\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","get_list_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"abdfbbff-df6c-4ba1-b13b-ff86112249c9"},{"name":"[Leads] Delete Data","id":"92be4434-214a-4f61-9351-419d06fed519","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Leads\",\r\n    \"data_uuid\" : \"0e785608-6213-4678-a990-dc8625ff5a87\"\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/delete_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for deleting data from Leads Module in Barantum CRM. There are three parameters that are required as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Leads (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>data_uuid</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>0e785608-6213-4678-a990-dc8625ff5a87</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","delete_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"92be4434-214a-4f61-9351-419d06fed519"}],"id":"f6d9a1f9-9d44-4b9e-b321-1c2fb171bf82","description":"<p>The Leads Module is used to manage prospective customers (leads) before they are converted into Contacts or Deals. It supports additional custom fields via <code>data_custom</code>.</p>\n<blockquote>\n<p>You must have a Barantum CRM account to use this API.</p>\n</blockquote>\n<p><strong>Key fields:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>leads_first_name</code></td>\n<td>Yes</td>\n<td>Lead's first name</td>\n</tr>\n<tr>\n<td><code>leads_owner</code></td>\n<td>Yes</td>\n<td>Owner name</td>\n</tr>\n<tr>\n<td><code>leads_last_name</code></td>\n<td>Optional</td>\n<td>Last name</td>\n</tr>\n<tr>\n<td><code>leads_email</code></td>\n<td>Optional</td>\n<td>Email address</td>\n</tr>\n<tr>\n<td><code>leads_phone_mobile</code></td>\n<td>Optional</td>\n<td>Mobile phone number</td>\n</tr>\n<tr>\n<td><code>leads_status</code></td>\n<td>Optional</td>\n<td>Lead status</td>\n</tr>\n<tr>\n<td><code>leads_source</code></td>\n<td>Optional</td>\n<td>Lead source</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Custom fields</strong> are sent via <code>data_custom</code>. The key is the custom field name configured in CRM Settings → Custom Fields:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data_custom\": {\n        \"your_custom_field_name\": \"text value\",\n        \"your_multioption_field_name\": [\"Option 1\", \"Option 2\"]\n    }\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Endpoint</strong></th>\n<th><strong>Summary</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Save Data</td>\n<td>Create a new lead.</td>\n</tr>\n<tr>\n<td>Update Data</td>\n<td>Update an existing lead.</td>\n</tr>\n<tr>\n<td>Get Data</td>\n<td>Retrieve a list of leads.</td>\n</tr>\n<tr>\n<td>Delete Data</td>\n<td>Delete a lead from Barantum CRM.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"f6d9a1f9-9d44-4b9e-b321-1c2fb171bf82"},{"name":"Deals","item":[{"name":"[Deals] Save Data","id":"19a26bad-79fb-4b16-a72f-14341d88388d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Deals\",\r\n    \"data\" : {\r\n        \"deals_name\": \"Deals Test from APIv2\",\r\n        \"deals_owner\": \"API Test\",\r\n        \"related_contacts_uuid\": \"5ea1f586-43e6-446b-bd60-9a377fe9f2ef\"\r\n    },\r\n    \"data_custom\": {\r\n        \"deals_custom_values_1\": \"Lorem ipsum\"\r\n    }\r\n\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/save_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for adding data to Deals Module in Barantum CRM. There are four parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Deals (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>deals_unique_id</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>DEALS-6303895</td>\n</tr>\n<tr>\n<td><code>deals_name</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>Deals Dummy 1</td>\n</tr>\n<tr>\n<td><code>deals_amount</code></td>\n<td>Optional</td>\n<td>bigint</td>\n<td>200000</td>\n</tr>\n<tr>\n<td><code>deals_description</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Any description</td>\n</tr>\n<tr>\n<td><code>deals_sales_stage</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>17</td>\n</tr>\n<tr>\n<td><code>deals_owner</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n<tr>\n<td><code>related_contacts_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>5ea1f586-43e6-446b-bd60-9a377fe9f2ef</td>\n</tr>\n<tr>\n<td><code>related_org_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>d4e2a745-82fa-4b58-8490-f682bff30959</td>\n</tr>\n<tr>\n<td><code>date_created</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>created_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n<tr>\n<td><code>date_modified</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>modified_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get Data API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true,\n    \"uuid\": \"45f8e581-6679-4c52-8188-3ddab36148cf\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","save_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"19a26bad-79fb-4b16-a72f-14341d88388d"},{"name":"[Deals] Update Data","id":"9fdd7c40-6b80-4a83-b5a6-2b68f2307f5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Deals\",\r\n    \"data\" : {\r\n        \"deals_uuid\": \"0c8c5bff-44a7-4074-a762-7dceaafcc628\",\r\n        \"deals_owner\": \"New API Test\",\r\n        \"deals_description\": \"Deals update from API Barantum\"\r\n    },\r\n    \"data_custom\": {\r\n        \"your_custom_field_name\": \"text value\"\r\n    }\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/update_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for editing data from Deals Module in Barantum CRM. There are three parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Deals (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>deals_uuid</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>ac683968-bac5-4a01-bb6b-3031656b50a4</td>\n</tr>\n<tr>\n<td><code>deals_unique_id</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>DEALS-6303895</td>\n</tr>\n<tr>\n<td><code>deals_name</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Deals Dummy 1</td>\n</tr>\n<tr>\n<td><code>deals_amount</code></td>\n<td>Optional</td>\n<td>bigint</td>\n<td>200000</td>\n</tr>\n<tr>\n<td><code>deals_description</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Any description</td>\n</tr>\n<tr>\n<td><code>deals_sales_stage</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>17</td>\n</tr>\n<tr>\n<td><code>deals_owner</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get Data API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","update_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9fdd7c40-6b80-4a83-b5a6-2b68f2307f5d"},{"name":"[Deals] Get Data","id":"597c6a61-d809-4211-b839-ed590b173d3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Deals\",\r\n    \"deals_uuid\": \"0f1a6b95-80d5-48a2-905e-3f6bc70625e5\"\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/get_list_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for getting list data from Deals Module in Barantum CRM. There are two parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Deals (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>1</td>\n</tr>\n<tr>\n<td><code>deals_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>0f1a6b95-80d5-48a2-905e-3f6bc70625e5</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": {\n        \"total\": 1,\n        \"page_total\": 1,\n        \"page_last\": 1,\n        \"page_first\": 1,\n        \"per_page\": 20,\n        \"page_current\": 1,\n        \"page_previous\": 0,\n        \"page_next\": 2,\n        \"content\": [\n            {\n                \"deals_uuid\": \"0f1a6b95-80d5-48a2-905e-3f6bc70625e5\",\n                \"deals_unique_id\": \"DEALS-43941279255\",\n                \"deals_name\": \"Test\",\n                \"deals_person_name\": [],\n                \"deals_organization_name\": \"-\",\n                \"deals_description\": \"\",\n                \"deals_source\": \"\",\n                \"deals_amount\": 300000,\n                \"deals_close_date\": null,\n                \"deals_expected_close_date\": \"2022-09-11 07:00:00\",\n                \"deals_sales_stage\": \"Lead In\",\n                \"deals_owner\": \"API TEST\",\n                \"currency_serial_id\": \"Rp.\",\n                \"date_created\": \"2022-07-28 11:19:32\",\n                \"created_by\": \"API TEST\",\n                \"date_modified\": null,\n                \"modified_by\": \"-\",\n                \"deals_lost_reason\": null,\n                \"deals_comments\": \"\",\n                \"deals_priority\": null,\n                \"first_activity_id\": 0,\n                \"first_activity_module\": null,\n                \"first_activity_date\": null,\n                \"last_activity_id\": 0,\n                \"last_activity_module\": null,\n                \"last_activity_date\": null,\n                \"upcoming_activity_id\": 0,\n                \"upcoming_activity_module\": null,\n                \"deals_custom_text\": \"Hai\",\n                \"deals_organization_uuid\": \"-\",\n                \"sales_stage_name\": \"Lead In\",\n                \"attachments\": []\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","get_list_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"597c6a61-d809-4211-b839-ed590b173d3a"},{"name":"[Deals] Delete Data","id":"111ab491-7967-447c-bb9d-4da29803dfee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Deals\",\r\n    \"data_uuid\" : \"0c8c5bff-44a7-4074-a762-7dceaafcc628\"\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/delete_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for deleting data from Deals Module in Barantum CRM. There are three parameters that are required as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Deals (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>data_uuid</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>0e785608-6213-4678-a990-dc8625ff5a87</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","delete_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"111ab491-7967-447c-bb9d-4da29803dfee"}],"id":"51d4d6c6-06b2-4d80-bf0e-5f44408d63bd","description":"<p>The Deals Module is used to manage sales opportunities and pipeline data. Deals can be linked to Contacts or Org, and tracked through sales stages. It supports additional custom fields via <code>data_custom</code>.</p>\n<blockquote>\n<p>You must have a Barantum CRM account to use this API.</p>\n</blockquote>\n<p><strong>Key fields:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>deals_name</code></td>\n<td>Yes</td>\n<td>Deal/opportunity name</td>\n</tr>\n<tr>\n<td><code>deals_owner</code></td>\n<td>Yes</td>\n<td>Owner name</td>\n</tr>\n<tr>\n<td><code>deals_amount</code></td>\n<td>Optional</td>\n<td>Deal value (numeric)</td>\n</tr>\n<tr>\n<td><code>deals_sales_stage</code></td>\n<td>Optional</td>\n<td>Sales stage (numeric ID)</td>\n</tr>\n<tr>\n<td><code>deals_close_date</code></td>\n<td>Optional</td>\n<td>Closing date</td>\n</tr>\n<tr>\n<td><code>related_contacts_uuid</code></td>\n<td>Optional</td>\n<td>UUID of the related Contact</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Custom fields</strong> are sent via <code>data_custom</code>. The key is the custom field name configured in CRM Settings → Custom Fields:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data_custom\": {\n        \"your_custom_field_name\": \"text value\"\n    }\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Endpoint</strong></th>\n<th><strong>Summary</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Save Data</td>\n<td>Create a new deal.</td>\n</tr>\n<tr>\n<td>Update Data</td>\n<td>Update an existing deal.</td>\n</tr>\n<tr>\n<td>Get Data</td>\n<td>Retrieve a list of deals.</td>\n</tr>\n<tr>\n<td>Delete Data</td>\n<td>Delete a deal from Barantum CRM.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"51d4d6c6-06b2-4d80-bf0e-5f44408d63bd"},{"name":"Contacts","item":[{"name":"[Contacts] Save Data","id":"7922960a-3e63-46af-abeb-06fbdce0d157","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Contacts\",\r\n    \"data\" : {\r\n        \"contacts_first_name\": \"Alan Create 4\",\r\n        \"contacts_owner\": \"API Test\"\r\n    },\r\n    \"data_custom\": {\r\n        \"contacts_custom_text\": \"Testing Custom Field\",\r\n        \"contacts_custom_multioption\": [\"Option 1\", \"Option 2\"]\r\n    }\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/save_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for adding data to Contacts Module in Barantum CRM. There are four parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Contacts (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>contacts_unique_id</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>CONTACTS-6303895</td>\n</tr>\n<tr>\n<td><code>contacts_first_name</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>Contacts Dummy 1</td>\n</tr>\n<tr>\n<td><code>contacts_last_name</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API</td>\n</tr>\n<tr>\n<td><code>contacts_description</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Any description</td>\n</tr>\n<tr>\n<td><code>contacts_owner</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n<tr>\n<td><code>date_created</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>created_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n<tr>\n<td><code>date_modified</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>modified_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get Data API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true,\n    \"uuid\": \"473d245a-bc23-47fa-97ba-8afc05983067\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","save_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7922960a-3e63-46af-abeb-06fbdce0d157"},{"name":"[Contacts] Update Data","id":"1d759203-8b4a-470c-9e3c-906bb96233df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Contacts\",\r\n    \"data\" : {\r\n        \"contacts_uuid\": \"1a2ca6c6-3d4c-4285-885c-e83cc02a4810\",\r\n        \"contacts_owner\": \"Taj Mahal\",\r\n        \"contacts_first_name\": \"Alexander\",\r\n        \"contacts_description\": \"Edit existing Contacts from API hit\"\r\n    },\r\n    \"data_custom\": {\r\n        \"contacts_custom_text\": \"Testing Custom Field\",\r\n        \"contacts_custom_multioption\": [\"Option 1\", \"Option 2\"]\r\n    }\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/update_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for editing data from Contacts Module in Barantum CRM. There are three parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Contacts (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>contacts_uuid</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>ac683968-bac5-4a01-bb6b-3031656b50a4</td>\n</tr>\n<tr>\n<td><code>contacts_unique_id</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>CONTACTS-6303895</td>\n</tr>\n<tr>\n<td><code>contacts_first_name</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Contacts Dummy 1</td>\n</tr>\n<tr>\n<td><code>contacts_last_name</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API Contacts Test</td>\n</tr>\n<tr>\n<td><code>contacts_description</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Any description</td>\n</tr>\n<tr>\n<td><code>contacts_status</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>17</td>\n</tr>\n<tr>\n<td><code>contacts_owner</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get Data API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","update_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1d759203-8b4a-470c-9e3c-906bb96233df"},{"name":"[Contacts] Get Data","id":"a671d280-2679-4733-a55f-b0a33cf48379","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Contacts\",\r\n    \"contacts_uuid\": \"{{contact-uuid}}\"\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/get_list_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for getting list data from Contacts Module in Barantum CRM. There are two parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Contacts (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>1</td>\n</tr>\n<tr>\n<td><code>contacts_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>555590e7-ff05-448b-a51e-324f268718e0</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": {\n        \"total\": 1,\n        \"page_total\": 1,\n        \"page_last\": 1,\n        \"page_first\": 1,\n        \"per_page\": 20,\n        \"page_current\": 1,\n        \"page_previous\": 0,\n        \"page_next\": 2,\n        \"content\": [\n            {\n                \"contacts_uuid\": \"555590e7-ff05-448b-a51e-324f268718e0\",\n                \"contacts_unique_id\": \"CONTACTS-0132920621\",\n                \"contacts_salutation\": null,\n                \"contacts_first_name\": \"Ryan Arjuan Rante\",\n                \"contacts_last_name\": null,\n                \"contacts_email\": \"ryan.rante@outlook.com\",\n                \"contacts_birthdate\": null,\n                \"contacts_description\": null,\n                \"contacts_title\": null,\n                \"contacts_department\": null,\n                \"contacts_role\": \"\",\n                \"contacts_source\": \"instagram\",\n                \"contacts_phone_home\": null,\n                \"contacts_phone_mobile\": \"1676290916474061\",\n                \"contacts_phone_work\": null,\n                \"contacts_phone_fax\": null,\n                \"contacts_address_maps\": null,\n                \"contacts_address_lat\": \"0\",\n                \"contacts_address_long\": \"0\",\n                \"contacts_address_street\": null,\n                \"contacts_address_city\": null,\n                \"contacts_address_state\": null,\n                \"contacts_address_postalcode\": null,\n                \"contacts_address_country\": null,\n                \"contacts_owner\": \"Demo\",\n                \"contacts_ads_code\": null,\n                \"contacts_related_keyword\": null,\n                \"date_created\": \"2025-09-10 19:02:34\",\n                \"date_converted\": null,\n                \"created_by\": \"Demo\",\n                \"date_modified\": \"2025-09-16 10:16:38\",\n                \"modified_by\": \"Demo\",\n                \"contacts_first_assign\": \"2025-09-10 12:02:34\",\n                \"contacts_picture\": null,\n                \"contacts_priority\": null,\n                \"first_activity_id\": 0,\n                \"first_activity_module\": null,\n                \"first_activity_date\": null,\n                \"last_activity_id\": 0,\n                \"last_activity_module\": null,\n                \"last_activity_date\": null,\n                \"upcoming_activity_id\": 0,\n                \"upcoming_activity_module\": null,\n                \"contacts_last_workflow\": null,\n                \"contacts_last_workflow_description\": null,\n                \"contacts_last_workflow_date\": null,\n                \"contacts_resign\": 0,\n                \"contacts_primary\": 0,\n                \"contacts_address_regencies\": null,\n                \"contacts_address_districts\": null,\n                \"contacts_address_villages\": null,\n                \"last_completed_activity_id\": 0,\n                \"last_completed_activity_module\": null,\n                \"last_completed_activity_date\": null,\n                \"contacts_available_status\": 0,\n                \"contacts_ctext\": \"\",\n                \"contacts_c_single_opt\": \"\",\n                \"contacts_c_multiopt\": \"\",\n                \"contacts_custom__numeric\": \"\",\n                \"contacts_related_to__deals\": \"\",\n                \"contacts_related_to__leads\": \"\",\n                \"contacts_related_to__contacts\": \"\",\n                \"contacts_related_to__org\": \"\",\n                \"contacts_related_to__team\": \"\",\n                \"contacts_related__user\": \"\",\n                \"contacts_custom_phone\": \"\",\n                \"contacts_ktp_20250220074538\": \"\",\n                \"contacts_rtrw_20250220074551\": \"\",\n                \"contacts_penjualan\": \"\",\n                \"contacts_cuistomdate\": \"\",\n                \"contacts_contact_status\": \"\",\n                \"contacts_tampungan_predefine_source\": \"\",\n                \"contacts_amount\": \"\",\n                \"rel_to_module\": \"org\",\n                \"org_uuid\": \"c666ec53-e1b3-4f1d-a23a-1bb0663f2281\",\n                \"org_name\": \"testt\",\n                \"org_unique_id\": null,\n                \"users_uuid\": \"BARAID012\",\n                \"attachments\": []\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","get_list_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a671d280-2679-4733-a55f-b0a33cf48379"},{"name":"[Contacts] Delete Data","id":"c5cda9b9-8653-434a-b3aa-74e915db47eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Contacts\",\r\n    \"data_uuid\" : \"42aef32b-d945-4b5f-ad8f-1a01ecac88f1\"\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/delete_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for deleting data from Contacts Module in Barantum CRM. There are three parameters that are required as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Contacts (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>data_uuid</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>0e785608-6213-4678-a990-dc8625ff5a87</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","delete_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c5cda9b9-8653-434a-b3aa-74e915db47eb"}],"id":"e6fc8540-ae41-467f-bf38-bab6120f86c2","description":"<p>The Contacts Module is used to manage customer contact data. Contacts represent individuals and can be linked to Org, Deals, Tickets, and other records. Supports additional custom fields via <code>data_custom</code>.</p>\n<blockquote>\n<p>You must have a Barantum CRM account to use this API.</p>\n</blockquote>\n<p><strong>Key fields:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>contacts_first_name</code></td>\n<td>Yes</td>\n<td>Contact's first name</td>\n</tr>\n<tr>\n<td><code>contacts_owner</code></td>\n<td>Yes</td>\n<td>Name of the contact owner</td>\n</tr>\n<tr>\n<td><code>contacts_last_name</code></td>\n<td>Optional</td>\n<td>Contact's last name</td>\n</tr>\n<tr>\n<td><code>contacts_email</code></td>\n<td>Optional</td>\n<td>Email address</td>\n</tr>\n<tr>\n<td><code>contacts_phone_mobile</code></td>\n<td>Optional</td>\n<td>Mobile phone number</td>\n</tr>\n<tr>\n<td><code>contacts_phone_work</code></td>\n<td>Optional</td>\n<td>Work phone number</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Custom fields</strong> are sent via <code>data_custom</code>. The key is the custom field name configured in CRM Settings → Custom Fields:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data_custom\": {\n        \"your_custom_field_name\": \"text value\",\n        \"your_multioption_field_name\": [\"Option 1\", \"Option 2\"]\n    }\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Endpoint</strong></th>\n<th><strong>Summary</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Save Data</td>\n<td>Create a new contact.</td>\n</tr>\n<tr>\n<td>Update Data</td>\n<td>Update an existing contact.</td>\n</tr>\n<tr>\n<td>Get Data</td>\n<td>Retrieve a list of contacts.</td>\n</tr>\n<tr>\n<td>Delete Data</td>\n<td>Delete a contact from Barantum CRM.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"e6fc8540-ae41-467f-bf38-bab6120f86c2"},{"name":"Calls","item":[{"name":"[Calls] Save Data","id":"7dfb1462-4963-41b8-baa1-793ffa426fe6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Calls\",\r\n    \"data\" : {\r\n        \"calls_name\": \"Calls by API 2\",\r\n        \"calls_status\": \"Planned\",\r\n        \"related_contacts_uuid\": \"1a2ca6c6-3d4c-4285-885c-e83cc02a4810\",\r\n        \"calls_owner\": \"API Test\"\r\n    },\r\n    \"data_custom\": {\r\n        \"your_custom_field_name\": \"text value\",\r\n        \"your_multioption_field_name\": [\"Option 1\", \"Option 2\"]\r\n    }\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/save_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for adding data to Calls Module in Barantum CRM. There are four parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Calls (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>calls_unique_id</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>CALLS-6303895</td>\n</tr>\n<tr>\n<td><code>calls_name</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>Calls Dummy 1</td>\n</tr>\n<tr>\n<td><code>calls_description</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Any description</td>\n</tr>\n<tr>\n<td><code>calls_status</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Planned</td>\n</tr>\n<tr>\n<td><code>calls_owner</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n<tr>\n<td><code>related_contacts_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>1a2ca6c6-3d4c-4285-885c-e83cc02a4810</td>\n</tr>\n<tr>\n<td><code>related_leads_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>(uuid lead terkait)</td>\n</tr>\n<tr>\n<td><code>related_org_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>(uuid org terkait)</td>\n</tr>\n<tr>\n<td><code>related_deals_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>(uuid deal terkait)</td>\n</tr>\n<tr>\n<td><code>date_created</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>created_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n<tr>\n<td><code>date_modified</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>modified_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get Data API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true,\n    \"uuid\": \"922de59d-1e9f-4921-ac67-1805fd53dbe2\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","save_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7dfb1462-4963-41b8-baa1-793ffa426fe6"},{"name":"[Calls] Update Data","id":"062e26a0-1e22-49ea-8039-c521f43d851e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Calls\",\r\n    \"data\" : {\r\n        \"calls_uuid\": \"6487def6-2dea-4cce-9136-57f63832d46d\",\r\n        \"calls_owner\": \"Bambang Pamungkas\",\r\n        \"calls_name\": \"UPDATE API 1\"\r\n    },\r\n    \"data_custom\": {\r\n        \"your_custom_field_name\": \"text value\",\r\n        \"your_multioption_field_name\": [\"Option 1\", \"Option 2\"]\r\n    }\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/update_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for editing data from Calls Module in Barantum CRM. There are three parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Calls (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>calls_uuid</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>6487def6-2dea-4cce-9136-57f63832d46d</td>\n</tr>\n<tr>\n<td><code>calls_unique_id</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Calls-6303895</td>\n</tr>\n<tr>\n<td><code>calls_name</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Calls Dummy 1</td>\n</tr>\n<tr>\n<td><code>calls_description</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Any description</td>\n</tr>\n<tr>\n<td><code>calls_status</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Planned</td>\n</tr>\n<tr>\n<td><code>calls_owner</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get Data API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","update_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"062e26a0-1e22-49ea-8039-c521f43d851e"},{"name":"[Calls] Get Data","id":"8b0204d9-4195-4d72-9a2f-c193b673bb48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Calls\",\r\n    \"calls_uuid\": \"6487def6-2dea-4cce-9136-57f63832d46d\"    \r\n}\r\n"},"url":"https://rest-api.barantum.com/api/get_list_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for getting list data from Calls Module in Barantum CRM. There are two parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Calls (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>1</td>\n</tr>\n<tr>\n<td><code>calls_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>6487def6-2dea-4cce-9136-57f63832d46d</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": {\n        \"total\": 1,\n        \"page_total\": 1,\n        \"page_last\": 1,\n        \"page_first\": 1,\n        \"per_page\": 20,\n        \"page_current\": 1,\n        \"page_previous\": 0,\n        \"page_next\": 2,\n        \"content\": [\n            {\n                \"calls_uuid\": \"6487def6-2dea-4cce-9136-57f63832d46d\",\n                \"calls_unique_id\": \"CALLS-43948195128\",\n                \"calls_name\": \"UPDATE API 1\",\n                \"calls_description\": null,\n                \"calls_direction\": null,\n                \"calls_status\": \"Planned\",\n                \"calls_owner\": \"API TEST\",\n                \"deals_serial_id\": 0,\n                \"calls_duration_hours\": null,\n                \"calls_duration_minutes\": null,\n                \"calls_date_start\": \"2022-07-28 15:19:50\",\n                \"calls_date_end\": null,\n                \"date_created\": \"2022-07-28 15:19:50\",\n                \"created_by\": \"API TEST\",\n                \"date_modified\": \"2022-07-28 15:22:42\",\n                \"modified_by\": \"API TEST\",\n                \"recordingfile\": null,\n                \"uniqueid\": null,\n                \"billsec\": null,\n                \"issue_serial_id\": 0,\n                \"calls_priority\": null,\n                \"tickets_serial_id\": 0,\n                \"callcenter_calls_id\": 0,\n                \"users_uuid\": \"6b968640-693f-45ff-a04b-0b844401b455\",\n                \"users_name\": \"API TEST\",\n                \"related_leads_uuid\": \"-\",\n                \"related_leads_name\": \"-\",\n                \"related_contacts_uuid\": \"1a2ca6c6-3d4c-4285-885c-e83cc02a4810\",\n                \"related_contacts_name\": \"Alexander Cassidy\",\n                \"related_org_uuid\": \"d4e2a745-82fa-4b58-8490-f682bff30959\",\n                \"related_org_name\": \"Test Org\",\n                \"related_deals_uuid\": \"-\",\n                \"related_deals_name\": \"-\",\n                \"attachments\": []\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","get_list_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8b0204d9-4195-4d72-9a2f-c193b673bb48"},{"name":"[Calls] Delete Data","id":"bb0795b9-4d62-4972-b4c6-a6803829ac11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Calls\",\r\n    \"data_uuid\" : \"6487def6-2dea-4cce-9136-57f63832d46d\"\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/delete_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for deleting data from Calls Module in Barantum CRM. There are three parameters that are required as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Calls (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>data_uuid</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>0e785608-6213-4678-a990-dc8625ff5a87</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","delete_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bb0795b9-4d62-4972-b4c6-a6803829ac11"}],"id":"71261bff-8c60-4f8f-bd59-5c4461b2c01d","description":"<p>The Calls Module is used to log and track call activities. Calls can be linked to Contacts, Leads, or Deals to maintain a complete communication history. Supports additional custom fields via <code>data_custom</code>.</p>\n<blockquote>\n<p>You must have a Barantum CRM account to use this API.</p>\n</blockquote>\n<p><strong>Key fields:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>calls_name</code></td>\n<td>Yes</td>\n<td>Call title or subject</td>\n</tr>\n<tr>\n<td><code>calls_owner</code></td>\n<td>Yes</td>\n<td>Name of the agent who made the call</td>\n</tr>\n<tr>\n<td><code>calls_status</code></td>\n<td>Optional</td>\n<td>Call status (e.g., Planned, Held)</td>\n</tr>\n<tr>\n<td><code>calls_duration</code></td>\n<td>Optional</td>\n<td>Call duration</td>\n</tr>\n<tr>\n<td><code>related_contacts_uuid</code></td>\n<td>Optional</td>\n<td>UUID of the related Contact</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Custom fields</strong> are sent via <code>data_custom</code>. The key is the custom field name configured in CRM Settings → Custom Fields:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data_custom\": {\n        \"your_custom_field_name\": \"text value\",\n        \"your_multioption_field_name\": [\"Option 1\", \"Option 2\"]\n    }\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Endpoint</strong></th>\n<th><strong>Summary</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Save Data</td>\n<td>Log a new call.</td>\n</tr>\n<tr>\n<td>Update Data</td>\n<td>Update an existing call record.</td>\n</tr>\n<tr>\n<td>Get Data</td>\n<td>Retrieve a list of call records.</td>\n</tr>\n<tr>\n<td>Delete Data</td>\n<td>Delete a call record from Barantum CRM.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"71261bff-8c60-4f8f-bd59-5c4461b2c01d"},{"name":"Org","item":[{"name":"[Org] Save Data","id":"774fb4d2-d44e-4113-9fb2-7b704cce1f39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Org\",\r\n    \"data\" : {\r\n        \"org_name\": \"DeepMind Corp 2\",\r\n        \"org_unique_id\": \"TEST-999111\",\r\n        \"org_description\": \"AI Demo X\",\r\n        \"org_email\": \"info@deepmindx.com\",\r\n        \"org_phone_mobile\": \"621110000222\",\r\n        \"org_phone_work\": \"62217890098\",\r\n        \"org_address_street\": \"Jl. Sudirman, Balikpapan. Indonesia\",\r\n        \"org_owner\": \"Bambang Pamungkas\"\r\n    },\r\n    \"data_custom\": {\r\n        \"org_org_teks_contoh\": \"Lorem ipsum X\"\r\n    }\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/save_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for adding data to Org Module in Barantum CRM. There are four parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Org (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>org_unique_id</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>ORG-6303895</td>\n</tr>\n<tr>\n<td><code>org_name</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>Org Dummy 1</td>\n</tr>\n<tr>\n<td><code>org_email</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td><a href=\"mailto:test@barantum.com\">test@barantum.com</a></td>\n</tr>\n<tr>\n<td><code>org_description</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Any description</td>\n</tr>\n<tr>\n<td><code>org_owner</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n<tr>\n<td><code>date_created</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>created_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n<tr>\n<td><code>date_modified</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>modified_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get Data API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true,\n    \"uuid\": \"8f9cda08-7bec-48ba-a1ab-0ce45faf432a\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","save_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"774fb4d2-d44e-4113-9fb2-7b704cce1f39"},{"name":"[Org] Update Data","id":"9069aea6-6995-49ed-9ce9-d626b2b15dd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Org\",\r\n    \"data\" : {\r\n        \"org_uuid\": \"a89177f4-a82d-4a32-a68b-1851a96f99ef\",\r\n        \"org_owner\": \"API Test\",\r\n        \"org_name\": \"UPDATE API 1\"\r\n    },\r\n    \"data_custom\": {\r\n        \"org_org_teks_contoh\": \"Lorem ipsum X Editx\"\r\n    }\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/update_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for editing data from Org Module in Barantum CRM. There are three parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Org (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>org_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>a89177f4-a82d-4a32-a68b-1851a96f99ef</td>\n</tr>\n<tr>\n<td><code>org_unique_id</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>ORG-6303895</td>\n</tr>\n<tr>\n<td><code>org_name</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Org Dummy 1</td>\n</tr>\n<tr>\n<td><code>org_description</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Any description</td>\n</tr>\n<tr>\n<td><code>org_owner</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get Data API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","update_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9069aea6-6995-49ed-9ce9-d626b2b15dd6"},{"name":"[Org] Get Data","id":"79f72c77-bc43-4069-aaf0-86b31e73262c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Org\"\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/get_list_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for getting list data from Org Module in Barantum CRM. There are two parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Org (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>1</td>\n</tr>\n<tr>\n<td><code>org_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>d4e2a745-82fa-4b58-8490-f682bff30959</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<p>JSON</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"code\": \"200\",\n    \"result\": {\n        \"total\": 1,\n        \"page_total\": 1,\n        \"page_last\": 1,\n        \"page_first\": 1,\n        \"per_page\": 20,\n        \"page_current\": 1,\n        \"page_previous\": 0,\n        \"page_next\": 2,\n        \"content\": [\n            {\n                \"org_uuid\": \"d4e2a745-82fa-4b58-8490-f682bff30959\",\n                \"org_unique_id\": null,\n                \"org_name\": \"DeepMind Corp 2\",\n                \"org_email\": \"info@deepmindx.com\",\n                \"org_description\": \"AI Demo X\",\n                \"org_industry\": null,\n                \"org_website\": null,\n                \"org_phone_mobile\": \"621110000222\",\n                \"org_phone_work\": \"62217890098\",\n                \"org_phone_other\": null,\n                \"org_phone_fax\": null,\n                \"org_address_maps\": null,\n                \"org_address_lat\": \"0\",\n                \"org_address_long\": \"0\",\n                \"org_address_street\": \"Jl. Sudirman, Balikpapan. Indonesia\",\n                \"org_address_city\": null,\n                \"org_address_state\": null,\n                \"org_address_postalcode\": null,\n                \"org_address_country\": null,\n                \"org_owner\": \"API TEST\",\n                \"org_sales_type\": \"Pre-sales\",\n                \"date_created\": \"2022-07-28 15:35:30\",\n                \"created_by\": \"API TEST\",\n                \"date_modified\": null,\n                \"modified_by\": \"-\",\n                \"org_first_assign\": null,\n                \"org_picture\": null,\n                \"org_parent_id\": \"None\",\n                \"org_priority\": null,\n                \"first_activity_id\": 0,\n                \"first_activity_module\": null,\n                \"first_activity_date\": null,\n                \"last_activity_id\": 0,\n                \"last_activity_module\": null,\n                \"last_activity_date\": null,\n                \"upcoming_activity_id\": 0,\n                \"upcoming_activity_module\": null,\n                \"org_business_entity\": null,\n                \"attachments\": []\n            }\n        ]\n    }\n}\n\n</code></pre>","urlObject":{"protocol":"https","path":["api","get_list_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"79f72c77-bc43-4069-aaf0-86b31e73262c"},{"name":"[Org] Delete Data","id":"c7f7ba2f-baa7-4fef-ae6c-1d105c203f4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Org\",\r\n    \"data_uuid\" : \"6487def6-2dea-4cce-9136-57f63832d46d\"\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/delete_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for deleting data from Org Module in Barantum CRM. There are three parameters that are required as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Org (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>data_uuid</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>6487def6-2dea-4cce-9136-57f63832d46d</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","delete_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c7f7ba2f-baa7-4fef-ae6c-1d105c203f4f"}],"id":"2e17ab08-f10d-4017-9fbe-33d5a7914743","description":"<p>The Org Module is used to manage organization or company data. Org records can be linked to Contacts and Deals. Supports additional custom fields via <code>data_custom</code>.</p>\n<blockquote>\n<p>You must have a Barantum CRM account to use this API.</p>\n</blockquote>\n<p><strong>Key fields:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>org_name</code></td>\n<td>Yes</td>\n<td>Organization or company name</td>\n</tr>\n<tr>\n<td><code>org_owner</code></td>\n<td>Yes</td>\n<td>Name of the org data owner</td>\n</tr>\n<tr>\n<td><code>org_email</code></td>\n<td>Optional</td>\n<td>Company email address</td>\n</tr>\n<tr>\n<td><code>org_phone_mobile</code></td>\n<td>Optional</td>\n<td>Mobile phone number</td>\n</tr>\n<tr>\n<td><code>org_phone_work</code></td>\n<td>Optional</td>\n<td>Work phone number</td>\n</tr>\n<tr>\n<td><code>org_address_street</code></td>\n<td>Optional</td>\n<td>Full street address</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Custom fields</strong> are sent via <code>data_custom</code>. The key is the custom field name configured in CRM Settings → Custom Fields:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data_custom\": {\n        \"your_custom_field_name\": \"text value\"\n    }\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Endpoint</strong></th>\n<th><strong>Summary</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Save Data</td>\n<td>Create a new organization.</td>\n</tr>\n<tr>\n<td>Update Data</td>\n<td>Update an existing organization.</td>\n</tr>\n<tr>\n<td>Get Data</td>\n<td>Retrieve a list of organizations.</td>\n</tr>\n<tr>\n<td>Delete Data</td>\n<td>Delete an organization from Barantum CRM.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"2e17ab08-f10d-4017-9fbe-33d5a7914743"},{"name":"Notes","item":[{"name":"[Notes] Save Data","id":"00f39009-a429-4642-a16e-2c000b15ba39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Notes\",\r\n    \"data\" : {\r\n        \"notes_name\": \"Notes demo via API 2\",\r\n        \"notes_description\": \"Lorem API Test 1\",\r\n        \"related_org_uuid\": \"d4e2a745-82fa-4b58-8490-f682bff30959\",\r\n        \"notes_owner\": \"API Test\"\r\n    },\r\n    \"data_custom\": {\r\n        \"notes_field_kustomm\": \"Be Strong, Be Courageous\"\r\n    }\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/save_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for adding data to Notes Module in Barantum CRM. There are four parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Notes(first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>notes_unique_id</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>NOTES-6303895</td>\n</tr>\n<tr>\n<td><code>notes_name</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>Notes Dummy 1</td>\n</tr>\n<tr>\n<td><code>notes_description</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Any description</td>\n</tr>\n<tr>\n<td><code>notes_owner</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n<tr>\n<td><code>related_contacts_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>5ea1f586-43e6-446b-bd60-9a377fe9f2ef</td>\n</tr>\n<tr>\n<td><code>related_org_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>d4e2a745-82fa-4b58-8490-f682bff30959</td>\n</tr>\n<tr>\n<td><code>related_leads_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>(uuid lead terkait)</td>\n</tr>\n<tr>\n<td><code>related_deals_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>(uuid deal terkait)</td>\n</tr>\n<tr>\n<td><code>date_created</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>created_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n<tr>\n<td><code>date_modified</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>modified_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get Data API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true,\n    \"uuid\": \"21ce4680-b467-43fc-b64e-8ebf19096953\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","save_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"00f39009-a429-4642-a16e-2c000b15ba39"},{"name":"[Notes] Update Data","id":"1d50d5e1-b988-4871-9451-24b6c4308916","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Notes\",\r\n    \"data\" : {\r\n        \"notes_uuid\": \"59166489-6a65-4def-b1b9-973df08d8de1\",\r\n        \"notes_name\": \"UPDATE API 1 Update new\",\r\n        \"notes_description\": \"Update desc via API\"\r\n    },\r\n    \"data_custom\": {\r\n        \"notes_field_kustomm\": \"Lorem ipsum X Editx Notex\"\r\n    }\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/update_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for editing data from Notes Module in Barantum CRM. There are three parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Notes (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>notes_uuid</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>59166489-6a65-4def-b1b9-973df08d8de1</td>\n</tr>\n<tr>\n<td><code>notes_unique_id</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>NOTES-6303895</td>\n</tr>\n<tr>\n<td><code>notes_name</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Notes Dummy 1</td>\n</tr>\n<tr>\n<td><code>notes_description</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Any description</td>\n</tr>\n<tr>\n<td><code>notes_owner</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get Data API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","update_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1d50d5e1-b988-4871-9451-24b6c4308916"},{"name":"[Notes] Get Data","id":"214389d2-3c44-44e9-a1e0-6a3eb6b69efa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Notes\",\r\n    \"notes_uuid\": \"d157f24a-61e1-4732-b30a-588009afe9f8\"\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/get_list_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for getting list data from Notes Module in Barantum CRM. There are two parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Notes (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>1</td>\n</tr>\n<tr>\n<td><code>notes_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>d157f24a-61e1-4732-b30a-588009afe9f8</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<p>JSON</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"code\": \"200\",\n    \"result\": {\n        \"total\": 1,\n        \"page_total\": 1,\n        \"page_last\": 1,\n        \"page_first\": 1,\n        \"per_page\": 20,\n        \"page_current\": 1,\n        \"page_previous\": 0,\n        \"page_next\": 2,\n        \"content\": [\n            {\n                \"notes_uuid\": \"d157f24a-61e1-4732-b30a-588009afe9f8\",\n                \"notes_unique_id\": \"NOTES-43947201510\",\n                \"notes_name\": \"Notes demo via API 2\",\n                \"notes_file_mime_type\": null,\n                \"notes_filename\": null,\n                \"notes_contact_id\": null,\n                \"notes_description\": null,\n                \"notes_owner\": \"-\",\n                \"deals_serial_id\": 0,\n                \"date_created\": \"2022-07-28 16:14:58\",\n                \"created_by\": \"API TEST\",\n                \"date_modified\": null,\n                \"modified_by\": \"-\",\n                \"issue_serial_id\": 0,\n                \"notes_priority\": null,\n                \"tickets_serial_id\": 0,\n                \"users_uuid\": \"6b968640-693f-45ff-a04b-0b844401b455\",\n                \"users_name\": \"API TEST\",\n                \"related_leads_uuid\": \"-\",\n                \"related_leads_name\": \"-\",\n                \"related_contacts_uuid\": \"-\",\n                \"related_contacts_name\": \"-\",\n                \"related_org_uuid\": \"d4e2a745-82fa-4b58-8490-f682bff30959\",\n                \"related_org_name\": \"Test Org\",\n                \"related_deals_uuid\": \"-\",\n                \"related_deals_name\": \"-\",\n                \"attachments\": []\n            }\n        ]\n    }\n}\n\n</code></pre>","urlObject":{"protocol":"https","path":["api","get_list_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"214389d2-3c44-44e9-a1e0-6a3eb6b69efa"},{"name":"[Notes] Delete Data","id":"d82afcc9-84d4-4dca-8037-17ac7e3b4df0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Notes\",\r\n    \"data_uuid\" : \"2101edce-6437-487e-bf79-ba6d2a6fddb9\"\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/delete_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for deleting data from Notes Module in Barantum CRM. There are three parameters that are required as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Notes (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>data_uuid</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>0e785608-6213-4678-a990-dc8625ff5a87</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","delete_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d82afcc9-84d4-4dca-8037-17ac7e3b4df0"}],"id":"5b949386-1eba-4ea5-b21a-c2fb35614b6d","description":"<p>The Notes Module is used to add internal notes to other CRM records. Notes can be linked to Contacts, Org, Leads, or Deals via the corresponding UUID relation fields. Supports additional custom fields via <code>data_custom</code>.</p>\n<blockquote>\n<p>You must have a Barantum CRM account to use this API.</p>\n</blockquote>\n<p><strong>Key fields:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>notes_name</code></td>\n<td>Yes</td>\n<td>Note title</td>\n</tr>\n<tr>\n<td><code>notes_owner</code></td>\n<td>Yes</td>\n<td>Name of the note owner</td>\n</tr>\n<tr>\n<td><code>notes_description</code></td>\n<td>Optional</td>\n<td>Note content</td>\n</tr>\n<tr>\n<td><code>related_contacts_uuid</code></td>\n<td>Optional</td>\n<td>UUID of the related Contact</td>\n</tr>\n<tr>\n<td><code>related_org_uuid</code></td>\n<td>Optional</td>\n<td>UUID of the related Org</td>\n</tr>\n<tr>\n<td><code>related_leads_uuid</code></td>\n<td>Optional</td>\n<td>UUID of the related Lead</td>\n</tr>\n<tr>\n<td><code>related_deals_uuid</code></td>\n<td>Optional</td>\n<td>UUID of the related Deal</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Custom fields</strong> are sent via <code>data_custom</code>. The key is the custom field name configured in CRM Settings → Custom Fields:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data_custom\": {\n        \"your_custom_field_name\": \"text value\"\n    }\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Endpoint</strong></th>\n<th><strong>Summary</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Save Data</td>\n<td>Create a new note.</td>\n</tr>\n<tr>\n<td>Update Data</td>\n<td>Update an existing note.</td>\n</tr>\n<tr>\n<td>Get Data</td>\n<td>Retrieve a list of notes.</td>\n</tr>\n<tr>\n<td>Delete Data</td>\n<td>Delete a note from Barantum CRM.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"5b949386-1eba-4ea5-b21a-c2fb35614b6d"},{"name":"Tasks","item":[{"name":"[Tasks] Save Data","id":"bd12fe74-682e-4d4c-b3e8-478ec7bb458f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Tasks\",\r\n    \"data\" : {\r\n        \"tasks_name\": \"Tasks Demo via API\",\r\n        \"tasks_description\": \"Tasks ini dari hit API\",\r\n        \"tasks_status\": \"Planned\",\r\n        \"tasks_date_start\": \"2022-11-18 12:12:34\",\r\n        \"tasks_date_due\": \"2022-11-20 10:10:34\",\r\n        \"tasks_owner\": \"API Test\"\r\n    },\r\n    \"data_custom\": {\r\n        \"tasks_kustom_tasks_saja\": \"Be Strong, Be Courageous\"\r\n    }\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/save_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for adding data to Tasks Module in Barantum CRM. There are four parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Tasks (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>tasks_unique_id</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>TASKS-6303895</td>\n</tr>\n<tr>\n<td><code>tasks_name</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>Tasks Dummy 1</td>\n</tr>\n<tr>\n<td><code>tasks_description</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Any description</td>\n</tr>\n<tr>\n<td><code>tasks_status</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Planned</td>\n</tr>\n<tr>\n<td><code>tasks_owner</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n<tr>\n<td><code>related_contacts_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>5ea1f586-43e6-446b-bd60-9a377fe9f2ef</td>\n</tr>\n<tr>\n<td><code>related_leads_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>(uuid lead terkait)</td>\n</tr>\n<tr>\n<td><code>related_org_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>(uuid org terkait)</td>\n</tr>\n<tr>\n<td><code>date_created</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>created_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n<tr>\n<td><code>date_modified</code></td>\n<td>Optional</td>\n<td>date</td>\n<td>2022-07-28 10:59:17</td>\n</tr>\n<tr>\n<td><code>modified_by</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get Data API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true,\n    \"uuid\": \"dc5c065f-c12c-48ac-884a-64772ab02244\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","save_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd12fe74-682e-4d4c-b3e8-478ec7bb458f"},{"name":"[Tasks] Update Data","id":"9af2ffc1-3e89-4213-856c-cbc7799af7af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Tasks\",\r\n    \"data\" : {\r\n        \"tasks_uuid\": \"d05a64b0-3e76-4f59-9343-9b2c74bf3e8e\",\r\n        \"tasks_owner\": \"Aji Santoso\",\r\n        \"tasks_name\": \"UPDATE API 1 Update Tasks2\",\r\n        \"tasks_description\": \"Ini dari hit API\"\r\n    },\r\n    \"data_custom\": {\r\n        \"tasks_kustom_tasks_saja\": \"Lorem ipsum X Editx Tasksc\"\r\n    }\r\n\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/update_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for editing data from Tasks Module in Barantum CRM. There are three parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Tasks (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>tasks_uuid</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>d05a64b0-3e76-4f59-9343-9b2c74bf3e8e</td>\n</tr>\n<tr>\n<td><code>tasks_unique_id</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>TASKS-6303895</td>\n</tr>\n<tr>\n<td><code>tasks_name</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Tasks Dummy 1</td>\n</tr>\n<tr>\n<td><code>tasks_description</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>Any description</td>\n</tr>\n<tr>\n<td><code>tasks_owner</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>API TEST</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the Get Data API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","update_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9af2ffc1-3e89-4213-856c-cbc7799af7af"},{"name":"[Tasks] Get Data","id":"0e9b78a3-fa3d-4157-85ec-60ded6f4e90e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Tasks\",\r\n    \"tasks_uuid\": \"d05a64b0-3e76-4f59-9343-9b2c74bf3e8e\"\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/get_list_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for getting list data from Tasks Module in Barantum CRM. There are two parameters that are required and the others are optional as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Tasks (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>1</td>\n</tr>\n<tr>\n<td><code>tasks_uuid</code></td>\n<td>Optional</td>\n<td>varchar</td>\n<td>d05a64b0-3e76-4f59-9343-9b2c74bf3e8e</td>\n</tr>\n</tbody>\n</table>\n</div><p>See the API Response after sending the API request to Barantum CRM for the complete list.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": {\n        \"total\": 1,\n        \"page_total\": 1,\n        \"page_last\": 1,\n        \"page_first\": 1,\n        \"per_page\": 20,\n        \"page_current\": 1,\n        \"page_previous\": 0,\n        \"page_next\": 2,\n        \"content\": [\n            {\n                \"tasks_uuid\": \"d05a64b0-3e76-4f59-9343-9b2c74bf3e8e\",\n                \"tasks_unique_id\": \"TASKS-4394427481\",\n                \"tasks_name\": \"UPDATE API 1 Update Tasks2\",\n                \"tasks_description\": \"Ini dari hit API\",\n                \"tasks_status\": \"Planned\",\n                \"tasks_date_start\": \"2022-11-18 12:12:34\",\n                \"tasks_date_due\": \"2022-11-20 10:10:34\",\n                \"tasks_contact_id\": null,\n                \"tasks_priority\": null,\n                \"tasks_owner\": \"API TEST\",\n                \"deals_serial_id\": 0,\n                \"date_created\": \"2022-07-28 16:15:31\",\n                \"created_by\": \"API TEST\",\n                \"date_modified\": \"2022-07-28 16:20:10\",\n                \"modified_by\": \"API TEST\",\n                \"issue_serial_id\": 0,\n                \"tickets_serial_id\": 0,\n                \"tasks_held_reason\": null,\n                \"users_uuid\": \"6b968640-693f-45ff-a04b-0b844401b455\",\n                \"users_name\": \"API TEST\",\n                \"related_leads_uuid\": \"-\",\n                \"related_leads_name\": \"-\",\n                \"related_contacts_uuid\": \"-\",\n                \"related_contacts_name\": \"-\",\n                \"related_org_uuid\": \"d4e2a745-82fa-4b58-8490-f682bff30959\",\n                \"related_org_name\": \"Test Org\",\n                \"related_deals_uuid\": \"-\",\n                \"related_deals_name\": \"-\",\n                \"attachments\": []\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","get_list_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0e9b78a3-fa3d-4157-85ec-60ded6f4e90e"},{"name":"[Tasks] Delete Data","id":"38decc7e-fc27-4da1-9e15-fe0971648ce5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\" : \"{{vault:json-web-token}}\",\r\n    \"module\" : \"Tasks\",\r\n    \"data_uuid\" : \"11adfa75-ef73-45a0-a51d-0bd18f60a2dc\"\r\n}\r\n"},"url":"https://rest-api.barantum.com/api/delete_data","description":"<h3 id=\"input-parameters\">Input Parameters</h3>\n<p>This API request can be used for deleting data from Tasks Module in Barantum CRM. There are three parameters that are required as seen below in the table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>Yes</td>\n<td></td>\n<td>{{vault:json-web-token}}</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Yes</td>\n<td>text</td>\n<td>Tasks (first letter must be capitalized)</td>\n</tr>\n<tr>\n<td><code>data_uuid</code></td>\n<td>Yes</td>\n<td>varchar</td>\n<td>0e785608-6213-4678-a990-dc8625ff5a87</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"expected-response\">Expected Response</h3>\n<p>The API request will return a response whether the request failed or succeeded. The response will be <code>401 Unauthorized</code> if it failed and if it succeeded, it will return as written below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": true\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","delete_data"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"38decc7e-fc27-4da1-9e15-fe0971648ce5"}],"id":"73d72ec9-ca11-43c6-8a7a-44058e0bad7e","description":"<p>The Tasks Module is used to manage to-do tasks and activities. Supports scheduling with start and due dates. Supports additional custom fields via <code>data_custom</code>.</p>\n<blockquote>\n<p>You must have a Barantum CRM account to use this API.</p>\n</blockquote>\n<p><strong>Key fields:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>tasks_name</code></td>\n<td>Yes</td>\n<td>Task title</td>\n</tr>\n<tr>\n<td><code>tasks_owner</code></td>\n<td>Yes</td>\n<td>Name of the task owner</td>\n</tr>\n<tr>\n<td><code>tasks_description</code></td>\n<td>Optional</td>\n<td>Task description</td>\n</tr>\n<tr>\n<td><code>tasks_status</code></td>\n<td>Optional</td>\n<td>Status (e.g., Planned, Completed)</td>\n</tr>\n<tr>\n<td><code>tasks_date_start</code></td>\n<td>Optional</td>\n<td>Start date and time</td>\n</tr>\n<tr>\n<td><code>tasks_date_due</code></td>\n<td>Optional</td>\n<td>Due date and time</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Custom fields</strong> are sent via <code>data_custom</code>. The key is the custom field name configured in CRM Settings → Custom Fields:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data_custom\": {\n        \"your_custom_field_name\": \"text value\"\n    }\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Endpoint</strong></th>\n<th><strong>Summary</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Save Data</td>\n<td>Create a new task.</td>\n</tr>\n<tr>\n<td>Update Data</td>\n<td>Update an existing task.</td>\n</tr>\n<tr>\n<td>Get Data</td>\n<td>Retrieve a list of tasks.</td>\n</tr>\n<tr>\n<td>Delete Data</td>\n<td>Delete a task from Barantum CRM.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"73d72ec9-ca11-43c6-8a7a-44058e0bad7e"},{"name":"Auth Login","id":"fca2221d-d3c0-48c0-9732-234bb61fa8fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\"    : \"REGISTERED_CRM_EMAIL\",\r\n    \"password\" : \"YOUR_PASSWORD\"\r\n}"},"url":"https://rest-api.barantum.com/api/login","description":"<h1 id=\"login-authorization\">Login Authorization</h1>\n<p>To start using this Barantum CRM Public API, you need to login to the CRM (via API) using your Barantum CRM account.</p>\n<p>After receiving the API response, copy the token from the result that will be used for hitting the Barantum Public API.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"code\": \"200\",\n    \"result\": \"{{vault:json-web-token}}\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","login"],"host":["rest-api","barantum","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fca2221d-d3c0-48c0-9732-234bb61fa8fd"}],"id":"4a3fc8b1-b553-4586-90fb-c4c48ed174be","description":"<p>The Barantum CRM API enables programmatic management of data across 9 core CRM modules: <strong>Leads</strong>, <strong>Contacts</strong>, <strong>Deals</strong>, <strong>Tickets</strong>, <strong>Meetings</strong>, <strong>Calls</strong>, <strong>Org</strong>, <strong>Notes</strong>, and <strong>Tasks</strong>.</p>\n<p>All CRM operations use 4 unified REST endpoints. The target module is specified via the <code>module</code> parameter in the request body. Authentication is done by passing a JWT token in the <code>token</code> field of each request body.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>Method</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>/api/save_data</code></td>\n<td>POST</td>\n<td>Create a new record</td>\n</tr>\n<tr>\n<td><code>/api/update_data</code></td>\n<td>POST</td>\n<td>Update an existing record</td>\n</tr>\n<tr>\n<td><code>/api/get_list_data</code></td>\n<td>POST</td>\n<td>Retrieve a list of records</td>\n</tr>\n<tr>\n<td><code>/api/delete_data</code></td>\n<td>POST</td>\n<td>Delete a record</td>\n</tr>\n</tbody>\n</table>\n</div><p>Use the <strong>Auth Login</strong> endpoint to obtain your JWT token before making any requests.</p>\n","_postman_id":"4a3fc8b1-b553-4586-90fb-c4c48ed174be"},{"name":"Barantum Webhook Chat","item":[{"name":"Whatsapp","item":[{"name":"Text","id":"c164e76a-20eb-4303-b95d-8cff5e86ca41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\" : \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\" : \"Renhard\",\r\n    \"room_id\" : 2384689,\r\n    \"room_status\" : \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\" : \"2024-11-20 01:19:34\",\r\n    \"company_uuid\" : \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\" : \"6282121366322\",\r\n    \"message_id\" : \"wamid.HBgNNjI4MjEyMjU2NjM5NxUCABIYFDNGNENGREY0NDQ2MjY3QjZCRUNGAA==\",\r\n    \"message_text\" : \"Hi, welcome\",\r\n    \"type_file\" : \"text\",\r\n    \"file_name\" : \"\",\r\n    \"file_url\" : \"\",\r\n    \"file_mime_type\" : \"\",\r\n    \"owner\" : 88,\r\n    \"name_owner\" : \"Testing\",\r\n    \"channel\" : \"wa\",\r\n    \"bot_id\" : 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>WA customer ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>ID Chat received by Meta.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is a text only chat.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded. In this case, no file name provided because no file attached.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded. In this case, no file URL provided because no file attached.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded. In this case, no file MIME type provided because no file attached.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"c164e76a-20eb-4303-b95d-8cff5e86ca41"},{"name":"Image","id":"09f9ba85-0f42-4893-91fd-09e803f48369","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\" : \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\" : \"Renhard\",\r\n    \"room_id\" : 2384689,\r\n    \"room_status\" : \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\" : \"2024-11-20 01:19:34\",\r\n    \"company_uuid\" : \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\" : \"6282121366322\",\r\n    \"message_id\" : \"wamid.HBgNNjI4MjEyMjU2NjM5NxUCABIYFDNGNENGREY0NDQ2MjY3QjZCRUNGAA==\",\r\n    \"message_text\" : \"Hi, welcome\",\r\n    \"type_file\" : \"image\",\r\n    \"file_name\" : \"image.png\",\r\n    \"file_url\" : \"https://some-storage.com/image.png\",\r\n    \"file_mime_type\" : \"image/png\",\r\n    \"owner\" : 88,\r\n    \"name_owner\" : \"Testing\",\r\n    \"channel\" : \"wa\",\r\n    \"bot_id\" : 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>WA customer ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>ID Chat received by Meta.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is an image.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"09f9ba85-0f42-4893-91fd-09e803f48369"},{"name":"Document","id":"36c5960a-1069-45f0-9cbd-96802b592ccd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\" : \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\" : \"Renhard\",\r\n    \"room_id\" : 2384689,\r\n    \"room_status\" : \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\" : \"2024-11-20 01:19:34\",\r\n    \"company_uuid\" : \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\" : \"6282121366322\",\r\n    \"message_id\" : \"wamid.HBgNNjI4MjEyMjU2NjM5NxUCABIYFDNGNENGREY0NDQ2MjY3QjZCRUNGAA==\",\r\n    \"message_text\" : \"Hi, welcome\",\r\n    \"type_file\" : \"document\",\r\n    \"file_name\" : \"document.docx\",\r\n    \"file_url\" : \"https://some-storage.com/document.docx\",\r\n    \"file_mime_type\" : \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\",\r\n    \"owner\" : 88,\r\n    \"name_owner\" : \"Testing\",\r\n    \"channel\" : \"wa\",\r\n    \"bot_id\" : 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>WA customer ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>ID Chat received by Meta.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is a document.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"36c5960a-1069-45f0-9cbd-96802b592ccd"},{"name":"Location","id":"6dfd95a0-cb04-41d8-a7a7-bda955a42de5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\": \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\": \"Renhard\",\r\n    \"room_id\": 2384689,\r\n    \"room_status\": \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\": \"2024-11-20 01:19:34\",\r\n    \"company_uuid\": \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\": \"6282121366322\",\r\n    \"message_id\": \"wamid.HBgNNjI4MjEyMjU2NjM5NxUCABIYFDNGNENGREY0NDQ2MjY3QjZCRUNGAA==\",\r\n    \"message_text\": \"\",\r\n    \"type_file\": \"location\",\r\n    \"location\": {\r\n        \"lat\": -3.1208301,\r\n        \"lng\": 3.1208301\r\n    },\r\n    \"file_name\": \"\",\r\n    \"file_url\": \"\",\r\n    \"file_mime_type\": \"\",\r\n    \"owner\": 88,\r\n    \"name_owner\": \"Testing\",\r\n    \"channel\": \"wa\",\r\n    \"bot_id\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>WA customer ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>ID Chat received by Meta.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Empty for location type. See <code>location</code> field for GPS coordinates.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is a location share.</td>\n</tr>\n<tr>\n<td>location</td>\n<td>json</td>\n<td>Contain position GPS of shared location. Only contain latitude and longitude.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded. In this case, no file name provided because no file attached.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded. In this case, no file URL provided because no file attached.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded. In this case, no file MIME type provided because no file attached.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"6dfd95a0-cb04-41d8-a7a7-bda955a42de5"},{"name":"Audio","id":"36b5961d-feee-44c8-b1d4-d441b9588504","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\" : \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\" : \"Renhard\",\r\n    \"room_id\" : 2384689,\r\n    \"room_status\" : \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\" : \"2024-11-20 01:19:34\",\r\n    \"company_uuid\" : \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\" : \"6282121366322\",\r\n    \"message_id\" : \"wamid.HBgNNjI4MjEyMjU2NjM5NxUCABIYFDNGNENGREY0NDQ2MjY3QjZCRUNGAA==\",\r\n    \"message_text\" : \"\",\r\n    \"type_file\" : \"audio\",\r\n    \"file_name\" : \"audio.mp3\",\r\n    \"file_url\" : \"https://some-storage.com/audio.mp3\",\r\n    \"file_mime_type\" : \"audio/mpeg\",\r\n    \"owner\" : 88,\r\n    \"name_owner\" : \"Testing\",\r\n    \"channel\" : \"wa\",\r\n    \"bot_id\" : 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>WA customer ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>ID Chat received by Meta.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is an audio file.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"36b5961d-feee-44c8-b1d4-d441b9588504"},{"name":"Voice","id":"bf09d741-1859-4c58-8d89-aa7792fa89ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\" : \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\" : \"Renhard\",\r\n    \"room_id\" : 2384689,\r\n    \"room_status\" : \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\" : \"2024-11-20 01:19:34\",\r\n    \"company_uuid\" : \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\" : \"6282121366322\",\r\n    \"message_id\" : \"wamid.HBgNNjI4MjEyMjU2NjM5NxUCABIYFDNGNENGREY0NDQ2MjY3QjZCRUNGAA==\",\r\n    \"message_text\" : \"\",\r\n    \"type_file\" : \"voice\",\r\n    \"file_name\" : \"voice.ogg\",\r\n    \"file_url\" : \"https://some-storage.com/voice.ogg\",\r\n    \"file_mime_type\" : \"audio/ogg\",\r\n    \"owner\" : 88,\r\n    \"name_owner\" : \"Testing\",\r\n    \"channel\" : \"wa\",\r\n    \"bot_id\" : 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>WA customer ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>ID Chat received by Meta.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is a voice note.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"bf09d741-1859-4c58-8d89-aa7792fa89ef"},{"name":"Video","id":"ef136507-65b2-4179-897c-e386e76e24d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\" : \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\" : \"Renhard\",\r\n    \"room_id\" : 2384689,\r\n    \"room_status\" : \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\" : \"2024-11-20 01:19:34\",\r\n    \"company_uuid\" : \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\" : \"6282121366322\",\r\n    \"message_id\" : \"wamid.HBgNNjI4MjEyMjU2NjM5NxUCABIYFDNGNENGREY0NDQ2MjY3QjZCRUNGAA==\",\r\n    \"message_text\" : \"\",\r\n    \"type_file\" : \"video\",\r\n    \"file_name\" : \"video.mp4\",\r\n    \"file_url\" : \"https://some-storage.com/video.mp4\",\r\n    \"file_mime_type\" : \"video/mp4\",\r\n    \"owner\" : 88,\r\n    \"name_owner\" : \"Testing\",\r\n    \"channel\" : \"wa\",\r\n    \"bot_id\" : 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>WA customer ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>ID Chat received by Meta.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is a video.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"ef136507-65b2-4179-897c-e386e76e24d3"},{"name":"Sticker","id":"5ce10094-101e-46cc-9b8e-be46f9a359c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\" : \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\" : \"Renhard\",\r\n    \"room_id\" : 2384689,\r\n    \"room_status\" : \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\" : \"2024-11-20 01:19:34\",\r\n    \"company_uuid\" : \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\" : \"6282121366322\",\r\n    \"message_id\" : \"wamid.HBgNNjI4MjEyMjU2NjM5NxUCABIYFDNGNENGREY0NDQ2MjY3QjZCRUNGAA==\",\r\n    \"message_text\" : \"\",\r\n    \"type_file\" : \"sticker\",\r\n    \"file_name\" : \"sticker.svg\",\r\n    \"file_url\" : \"https://some-storage.com/sticker.svg\",\r\n    \"file_mime_type\" : \"image/svg+xml\",\r\n    \"owner\" : 88,\r\n    \"name_owner\" : \"Testing\",\r\n    \"channel\" : \"wa\",\r\n    \"bot_id\" : 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>WA customer ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>ID Chat received by Meta.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is a sticker.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"5ce10094-101e-46cc-9b8e-be46f9a359c4"},{"name":"Contacts","id":"5f372135-e61d-436d-b4b0-c87adbaae437","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\" : \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\" : \"Renhard\",\r\n    \"room_id\" : 2384689,\r\n    \"room_status\" : \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\" : \"2024-11-20 01:19:34\",\r\n    \"company_uuid\" : \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\" : \"6282121366322\",\r\n    \"message_id\" : \"wamid.HBgNNjI4MjEyMjU2NjM5NxUCABIYFDNGNENGREY0NDQ2MjY3QjZCRUNGAA==\",\r\n    \"message_text\" : \"{\\\"name\\\":\\\"Baba\\\",\\\"phone\\\":\\\"+62 821-2256-6397\\\"}\",\r\n    \"type_file\" : \"contacts\",\r\n    \"file_name\" : \"\",\r\n    \"file_url\" : \"\",\r\n    \"file_mime_type\" : \"\",\r\n    \"owner\" : 88,\r\n    \"name_owner\" : \"Testing\",\r\n    \"channel\" : \"wa\",\r\n    \"bot_id\" : 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>WA customer ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>ID Chat received by Meta.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Contains contact name and phone number as JSON string. e.g. <code>{\"name\":\"...\",\"phone\":\"...\"}</code></td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is a contact card share.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded. In this case, no file name provided because no file attached.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded. In this case, no file URL provided because no file attached.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded. In this case, no file MIME type provided because no file attached.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"5f372135-e61d-436d-b4b0-c87adbaae437"},{"name":"Reaction","id":"13292493-9118-4836-ab59-f0b1bf2ef3e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\" : \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\" : \"Renhard\",\r\n    \"room_id\" : 2384689,\r\n    \"room_status\" : \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\" : \"2024-11-20 01:19:34\",\r\n    \"company_uuid\" : \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\" : \"6282121366322\",\r\n    \"message_id\" : \"wamid.HBgNNjI4MjEyMjU2NjM5NxUCABIYFDNGNENGREY0NDQ2MjY3QjZCRUNGAA==\",\r\n    \"message_text\" : \"👏\",\r\n    \"type_file\" : \"reaction\",\r\n    \"file_name\" : \"\",\r\n    \"file_url\" : \"\",\r\n    \"file_mime_type\" : \"\",\r\n    \"owner\" : 88,\r\n    \"name_owner\" : \"Testing\",\r\n    \"channel\" : \"wa\",\r\n    \"bot_id\" : 8,\r\n    \"context\": {\r\n        \"from\": \"\",\r\n        \"message_id\": \"wamid.HBgNNjI4MjEyMjU2NjM5NxUCABEYEjM5NkU1NkEzMDU3RUVDNzEyNQA=\",\r\n        \"type\": \"text\",\r\n        \"message\": \"hoi\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>WA customer ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>ID Chat received by Meta.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Contains the emoji reaction character sent by the customer.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is an emoji reaction.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded. In this case, no file name provided because no file attached.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded. In this case, no file URL provided because no file attached.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded. In this case, no file MIME type provided because no file attached.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n<tr>\n<td>context</td>\n<td>object</td>\n<td>This object contains the context of reacted message.  <br />- from : WA customer ID if you react it or empty if customer react it.  <br />- message_id : Meta bubble ID.  <br />- type : Message type.  <br />- message : Message reacted bubble.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"13292493-9118-4836-ab59-f0b1bf2ef3e8"},{"name":"Error","id":"86ba5603-eea9-4615-ac1c-b73cb10a5fe6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\" : \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\" : \"Renhard\",\r\n    \"room_id\" : 2384689,\r\n    \"room_status\" : \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\" : \"2024-11-20 01:19:34\",\r\n    \"company_uuid\" : \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\" : \"6282121366322\",\r\n    \"message_id\" : \"wamid.HBgNNjI4MjEyMjU2NjM5NxUCABIYFDNGNENGREY0NDQ2MjY3QjZCRUNGAA==\",\r\n    \"message_text\" : \"Message type is currently not supported.\",\r\n    \"type_file\" : \"errors\",\r\n    \"file_name\" : \"\",\r\n    \"file_url\" : \"\",\r\n    \"file_mime_type\" : \"\",\r\n    \"owner\" : 88,\r\n    \"name_owner\" : \"Testing\",\r\n    \"channel\" : \"wa\",\r\n    \"bot_id\" : 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>WA customer ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>ID Chat received by Meta.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Contains error message.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is an unsupported message type error.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded. In this case, no file name provided because no file attached.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded. In this case, no file URL provided because no file attached.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded. In this case, no file MIME type provided because no file attached.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"86ba5603-eea9-4615-ac1c-b73cb10a5fe6"}],"id":"eb696fa9-46aa-40fc-b7b2-52037fe4d3b0","description":"<p>This is for channel Whatsapp.</p>\n","_postman_id":"eb696fa9-46aa-40fc-b7b2-52037fe4d3b0"},{"name":"Facebook","item":[{"name":"Text","id":"fb7bf47b-8313-430a-b71c-394790b40954","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\": \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\": \"John Doe\",\r\n    \"room_id\": 2384690,\r\n    \"room_status\": \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\": \"2024-11-20 01:19:34\",\r\n    \"company_uuid\": \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\": \"1234567890\",\r\n    \"message_id\": \"m_abc123xyz456def789\",\r\n    \"message_text\": \"Hello, I need help!\",\r\n    \"type_file\": \"text\",\r\n    \"file_name\": \"\",\r\n    \"file_url\": \"\",\r\n    \"file_mime_type\": \"\",\r\n    \"owner\": 88,\r\n    \"name_owner\": \"Testing\",\r\n    \"channel\": \"fb\",\r\n    \"bot_id\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>Facebook user ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>Facebook message ID.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is a text only chat.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded. In this case, no file name provided because no file attached.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded. In this case, no file URL provided because no file attached.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded. In this case, no file MIME type provided because no file attached.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"fb7bf47b-8313-430a-b71c-394790b40954"},{"name":"Image","id":"8bd7171d-58c7-4cb1-a320-baad8e6586b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\": \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\": \"John Doe\",\r\n    \"room_id\": 2384690,\r\n    \"room_status\": \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\": \"2024-11-20 01:19:34\",\r\n    \"company_uuid\": \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\": \"1234567890\",\r\n    \"message_id\": \"m_abc123xyz456def789\",\r\n    \"message_text\": \"\",\r\n    \"type_file\": \"image\",\r\n    \"file_name\": \"image.jpg\",\r\n    \"file_url\": \"https://some-storage.com/image.jpg\",\r\n    \"file_mime_type\": \"image/jpeg\",\r\n    \"owner\": 88,\r\n    \"name_owner\": \"Testing\",\r\n    \"channel\": \"fb\",\r\n    \"bot_id\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>Facebook user ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>Facebook message ID.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is an image.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"8bd7171d-58c7-4cb1-a320-baad8e6586b0"},{"name":"Document","id":"7803ec52-f955-4908-966f-7c8d31552760","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\": \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\": \"John Doe\",\r\n    \"room_id\": 2384690,\r\n    \"room_status\": \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\": \"2024-11-20 01:19:34\",\r\n    \"company_uuid\": \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\": \"1234567890\",\r\n    \"message_id\": \"m_abc123xyz456def789\",\r\n    \"message_text\": \"\",\r\n    \"type_file\": \"document\",\r\n    \"file_name\": \"document.pdf\",\r\n    \"file_url\": \"https://some-storage.com/document.pdf\",\r\n    \"file_mime_type\": \"application/pdf\",\r\n    \"owner\": 88,\r\n    \"name_owner\": \"Testing\",\r\n    \"channel\": \"fb\",\r\n    \"bot_id\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>Facebook user ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>Facebook message ID.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is a document.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"7803ec52-f955-4908-966f-7c8d31552760"},{"name":"Audio","id":"4a4c4985-c7c6-4714-89e8-e773108fff1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\": \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\": \"John Doe\",\r\n    \"room_id\": 2384690,\r\n    \"room_status\": \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\": \"2024-11-20 01:19:34\",\r\n    \"company_uuid\": \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\": \"1234567890\",\r\n    \"message_id\": \"m_abc123xyz456def789\",\r\n    \"message_text\": \"\",\r\n    \"type_file\": \"audio\",\r\n    \"file_name\": \"audio.mp3\",\r\n    \"file_url\": \"https://some-storage.com/audio.mp3\",\r\n    \"file_mime_type\": \"audio/mpeg\",\r\n    \"owner\": 88,\r\n    \"name_owner\": \"Testing\",\r\n    \"channel\": \"fb\",\r\n    \"bot_id\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>Facebook user ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>Facebook message ID.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is an audio file.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"4a4c4985-c7c6-4714-89e8-e773108fff1d"},{"name":"Video","id":"53f0cfe5-abdd-42eb-9489-d4e8d8680b51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\": \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\": \"John Doe\",\r\n    \"room_id\": 2384690,\r\n    \"room_status\": \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\": \"2024-11-20 01:19:34\",\r\n    \"company_uuid\": \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\": \"1234567890\",\r\n    \"message_id\": \"m_abc123xyz456def789\",\r\n    \"message_text\": \"\",\r\n    \"type_file\": \"video\",\r\n    \"file_name\": \"video.mp4\",\r\n    \"file_url\": \"https://some-storage.com/video.mp4\",\r\n    \"file_mime_type\": \"video/mp4\",\r\n    \"owner\": 88,\r\n    \"name_owner\": \"Testing\",\r\n    \"channel\": \"fb\",\r\n    \"bot_id\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>Facebook user ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>Facebook message ID.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is a video.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"53f0cfe5-abdd-42eb-9489-d4e8d8680b51"}],"id":"9dc46e09-0358-4554-857f-b4dacb76570d","description":"<p>This is for channel Facebook.</p>\n","_postman_id":"9dc46e09-0358-4554-857f-b4dacb76570d"},{"name":"Instagram","item":[{"name":"Text","id":"65e66fa6-3386-4203-bc69-e3a8be56825d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\": \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\": \"Jane Doe\",\r\n    \"contacts_username\": \"janedoe_ig\",\r\n    \"room_id\": 2384691,\r\n    \"room_status\": \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\": \"2024-11-20 01:19:34\",\r\n    \"company_uuid\": \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\": \"17841400000000001\",\r\n    \"message_id\": \"aWdfZGVmYWJjMTIzNDU2\",\r\n    \"message_text\": \"Hello, I need help!\",\r\n    \"type_file\": \"text\",\r\n    \"file_name\": \"\",\r\n    \"file_url\": \"\",\r\n    \"file_mime_type\": \"\",\r\n    \"owner\": 88,\r\n    \"name_owner\": \"Testing\",\r\n    \"channel\": \"ig\",\r\n    \"bot_id\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_username</td>\n<td>string</td>\n<td>Instagram username of the customer. Can be empty if not available.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>Instagram user ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>Instagram message ID.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is a text only chat.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded. In this case, no file name provided because no file attached.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded. In this case, no file URL provided because no file attached.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded. In this case, no file MIME type provided because no file attached.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"65e66fa6-3386-4203-bc69-e3a8be56825d"},{"name":"Image","id":"f68c931d-0aac-4101-82b1-8b9bfb29dea3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\": \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\": \"Jane Doe\",\r\n    \"contacts_username\": \"janedoe_ig\",\r\n    \"room_id\": 2384691,\r\n    \"room_status\": \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\": \"2024-11-20 01:19:34\",\r\n    \"company_uuid\": \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\": \"17841400000000001\",\r\n    \"message_id\": \"aWdfZGVmYWJjMTIzNDU2\",\r\n    \"message_text\": \"\",\r\n    \"type_file\": \"image\",\r\n    \"file_name\": \"image.jpg\",\r\n    \"file_url\": \"https://some-storage.com/image.jpg\",\r\n    \"file_mime_type\": \"image/jpeg\",\r\n    \"owner\": 88,\r\n    \"name_owner\": \"Testing\",\r\n    \"channel\": \"ig\",\r\n    \"bot_id\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_username</td>\n<td>string</td>\n<td>Instagram username of the customer. Can be empty if not available.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>Instagram user ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>Instagram message ID.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is an image.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"f68c931d-0aac-4101-82b1-8b9bfb29dea3"},{"name":"Document","id":"f15adb03-8c4e-4ef8-8939-b839c1dbcc67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\": \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\": \"Jane Doe\",\r\n    \"contacts_username\": \"janedoe_ig\",\r\n    \"room_id\": 2384691,\r\n    \"room_status\": \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\": \"2024-11-20 01:19:34\",\r\n    \"company_uuid\": \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\": \"17841400000000001\",\r\n    \"message_id\": \"aWdfZGVmYWJjMTIzNDU2\",\r\n    \"message_text\": \"\",\r\n    \"type_file\": \"document\",\r\n    \"file_name\": \"document.pdf\",\r\n    \"file_url\": \"https://some-storage.com/document.pdf\",\r\n    \"file_mime_type\": \"application/pdf\",\r\n    \"owner\": 88,\r\n    \"name_owner\": \"Testing\",\r\n    \"channel\": \"ig\",\r\n    \"bot_id\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_username</td>\n<td>string</td>\n<td>Instagram username of the customer. Can be empty if not available.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>Instagram user ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>Instagram message ID.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is a document.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"f15adb03-8c4e-4ef8-8939-b839c1dbcc67"},{"name":"Audio","id":"d0902dc7-7c4f-4021-b38d-033a5e65309a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\": \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\": \"Jane Doe\",\r\n    \"contacts_username\": \"janedoe_ig\",\r\n    \"room_id\": 2384691,\r\n    \"room_status\": \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\": \"2024-11-20 01:19:34\",\r\n    \"company_uuid\": \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\": \"17841400000000001\",\r\n    \"message_id\": \"aWdfZGVmYWJjMTIzNDU2\",\r\n    \"message_text\": \"\",\r\n    \"type_file\": \"audio\",\r\n    \"file_name\": \"audio.mp3\",\r\n    \"file_url\": \"https://some-storage.com/audio.mp3\",\r\n    \"file_mime_type\": \"audio/mpeg\",\r\n    \"owner\": 88,\r\n    \"name_owner\": \"Testing\",\r\n    \"channel\": \"ig\",\r\n    \"bot_id\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_username</td>\n<td>string</td>\n<td>Instagram username of the customer. Can be empty if not available.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>Instagram user ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>Instagram message ID.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is an audio file.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"d0902dc7-7c4f-4021-b38d-033a5e65309a"},{"name":"Video","id":"05e68a07-fb80-42a2-a5d7-5578ff83d0c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\": \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\": \"Jane Doe\",\r\n    \"contacts_username\": \"janedoe_ig\",\r\n    \"room_id\": 2384691,\r\n    \"room_status\": \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\": \"2024-11-20 01:19:34\",\r\n    \"company_uuid\": \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\": \"17841400000000001\",\r\n    \"message_id\": \"aWdfZGVmYWJjMTIzNDU2\",\r\n    \"message_text\": \"\",\r\n    \"type_file\": \"video\",\r\n    \"file_name\": \"video.mp4\",\r\n    \"file_url\": \"https://some-storage.com/video.mp4\",\r\n    \"file_mime_type\": \"video/mp4\",\r\n    \"owner\": 88,\r\n    \"name_owner\": \"Testing\",\r\n    \"channel\": \"ig\",\r\n    \"bot_id\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_username</td>\n<td>string</td>\n<td>Instagram username of the customer. Can be empty if not available.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>Instagram user ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>Instagram message ID.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is a video.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"05e68a07-fb80-42a2-a5d7-5578ff83d0c0"}],"id":"4c8bedd6-00fa-44b6-be8c-949876532199","description":"<p>This is for channel Instagram.</p>\n","_postman_id":"4c8bedd6-00fa-44b6-be8c-949876532199"},{"name":"Telegram","item":[{"name":"Text","id":"c232f830-42ec-4648-9f18-7abb980bd806","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\": \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\": \"Alex Smith\",\r\n    \"room_id\": 2384692,\r\n    \"room_status\": \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\": \"2024-11-20 01:19:34\",\r\n    \"company_uuid\": \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\": \"123456789\",\r\n    \"message_id\": \"12345\",\r\n    \"message_text\": \"Hello, I need help!\",\r\n    \"type_file\": \"text\",\r\n    \"file_name\": \"\",\r\n    \"file_url\": \"\",\r\n    \"file_mime_type\": \"\",\r\n    \"owner\": 88,\r\n    \"name_owner\": \"Testing\",\r\n    \"channel\": \"telegram\",\r\n    \"bot_id\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>Telegram user ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>Telegram message ID.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is a text only chat.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded. In this case, no file name provided because no file attached.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded. In this case, no file URL provided because no file attached.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded. In this case, no file MIME type provided because no file attached.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"c232f830-42ec-4648-9f18-7abb980bd806"},{"name":"Image","id":"5d54bb96-d343-404a-9ae7-68c63618fc05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\": \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\": \"Alex Smith\",\r\n    \"room_id\": 2384692,\r\n    \"room_status\": \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\": \"2024-11-20 01:19:34\",\r\n    \"company_uuid\": \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\": \"123456789\",\r\n    \"message_id\": \"12345\",\r\n    \"message_text\": \"\",\r\n    \"type_file\": \"image\",\r\n    \"file_name\": \"image.jpg\",\r\n    \"file_url\": \"https://some-storage.com/image.jpg\",\r\n    \"file_mime_type\": \"image/jpeg\",\r\n    \"owner\": 88,\r\n    \"name_owner\": \"Testing\",\r\n    \"channel\": \"telegram\",\r\n    \"bot_id\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>Telegram user ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>Telegram message ID.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is an image.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"5d54bb96-d343-404a-9ae7-68c63618fc05"},{"name":"Document","id":"b70bb980-b2b9-4685-8f09-83e456d03b33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\": \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\": \"Alex Smith\",\r\n    \"room_id\": 2384692,\r\n    \"room_status\": \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\": \"2024-11-20 01:19:34\",\r\n    \"company_uuid\": \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\": \"123456789\",\r\n    \"message_id\": \"12345\",\r\n    \"message_text\": \"\",\r\n    \"type_file\": \"document\",\r\n    \"file_name\": \"document.pdf\",\r\n    \"file_url\": \"https://some-storage.com/document.pdf\",\r\n    \"file_mime_type\": \"application/pdf\",\r\n    \"owner\": 88,\r\n    \"name_owner\": \"Testing\",\r\n    \"channel\": \"telegram\",\r\n    \"bot_id\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>Telegram user ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>Telegram message ID.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is a document.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"b70bb980-b2b9-4685-8f09-83e456d03b33"},{"name":"Audio","id":"15fb7072-d3ad-4877-be9a-9e6ee763d616","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\": \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\": \"Alex Smith\",\r\n    \"room_id\": 2384692,\r\n    \"room_status\": \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\": \"2024-11-20 01:19:34\",\r\n    \"company_uuid\": \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\": \"123456789\",\r\n    \"message_id\": \"12345\",\r\n    \"message_text\": \"\",\r\n    \"type_file\": \"audio\",\r\n    \"file_name\": \"audio.mp3\",\r\n    \"file_url\": \"https://some-storage.com/audio.mp3\",\r\n    \"file_mime_type\": \"audio/mpeg\",\r\n    \"owner\": 88,\r\n    \"name_owner\": \"Testing\",\r\n    \"channel\": \"telegram\",\r\n    \"bot_id\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>Telegram user ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>Telegram message ID.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is an audio file.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"15fb7072-d3ad-4877-be9a-9e6ee763d616"},{"name":"Video","id":"8aa83f4e-7cc7-4b98-b777-45a1efeb72d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\": \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\": \"Alex Smith\",\r\n    \"room_id\": 2384692,\r\n    \"room_status\": \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\": \"2024-11-20 01:19:34\",\r\n    \"company_uuid\": \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\": \"123456789\",\r\n    \"message_id\": \"12345\",\r\n    \"message_text\": \"\",\r\n    \"type_file\": \"video\",\r\n    \"file_name\": \"video.mp4\",\r\n    \"file_url\": \"https://some-storage.com/video.mp4\",\r\n    \"file_mime_type\": \"video/mp4\",\r\n    \"owner\": 88,\r\n    \"name_owner\": \"Testing\",\r\n    \"channel\": \"telegram\",\r\n    \"bot_id\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>Telegram user ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>Telegram message ID.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is a video.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"8aa83f4e-7cc7-4b98-b777-45a1efeb72d3"}],"id":"65ee2f12-2aad-4b5e-a034-3a687cef1afe","description":"<p>This is for channel Telegram.</p>\n","_postman_id":"65ee2f12-2aad-4b5e-a034-3a687cef1afe"},{"name":"Line","item":[{"name":"Text","id":"90ebdfe0-eb4e-40ba-856f-298adbb54117","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\": \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\": \"Sora Tanaka\",\r\n    \"room_id\": 2384693,\r\n    \"room_status\": \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\": \"2024-11-20 01:19:34\",\r\n    \"company_uuid\": \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\": \"Udeadbeefdeadbeef12345678901234\",\r\n    \"message_id\": \"100001\",\r\n    \"message_text\": \"Hello, I need help!\",\r\n    \"type_file\": \"text\",\r\n    \"file_name\": \"\",\r\n    \"file_url\": \"\",\r\n    \"file_mime_type\": \"\",\r\n    \"owner\": 88,\r\n    \"name_owner\": \"Testing\",\r\n    \"channel\": \"line\",\r\n    \"bot_id\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>Line user ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>Line message ID.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is a text only chat.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded. In this case, no file name provided because no file attached.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded. In this case, no file URL provided because no file attached.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded. In this case, no file MIME type provided because no file attached.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"90ebdfe0-eb4e-40ba-856f-298adbb54117"},{"name":"Image","id":"fe62076d-05ce-40de-8ef1-a58a683fed1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\": \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\": \"Sora Tanaka\",\r\n    \"room_id\": 2384693,\r\n    \"room_status\": \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\": \"2024-11-20 01:19:34\",\r\n    \"company_uuid\": \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\": \"Udeadbeefdeadbeef12345678901234\",\r\n    \"message_id\": \"100001\",\r\n    \"message_text\": \"\",\r\n    \"type_file\": \"image\",\r\n    \"file_name\": \"image.jpg\",\r\n    \"file_url\": \"https://some-storage.com/image.jpg\",\r\n    \"file_mime_type\": \"image/jpeg\",\r\n    \"owner\": 88,\r\n    \"name_owner\": \"Testing\",\r\n    \"channel\": \"line\",\r\n    \"bot_id\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>Line user ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>Line message ID.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is an image.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"fe62076d-05ce-40de-8ef1-a58a683fed1c"},{"name":"Document","id":"bb7a011c-2755-494b-ad0f-bc0b5268c525","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\": \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\": \"Sora Tanaka\",\r\n    \"room_id\": 2384693,\r\n    \"room_status\": \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\": \"2024-11-20 01:19:34\",\r\n    \"company_uuid\": \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\": \"Udeadbeefdeadbeef12345678901234\",\r\n    \"message_id\": \"100001\",\r\n    \"message_text\": \"\",\r\n    \"type_file\": \"document\",\r\n    \"file_name\": \"document.pdf\",\r\n    \"file_url\": \"https://some-storage.com/document.pdf\",\r\n    \"file_mime_type\": \"application/pdf\",\r\n    \"owner\": 88,\r\n    \"name_owner\": \"Testing\",\r\n    \"channel\": \"line\",\r\n    \"bot_id\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>Line user ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>Line message ID.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is a document.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"bb7a011c-2755-494b-ad0f-bc0b5268c525"},{"name":"Audio","id":"ff51b2ca-e3d1-45f9-9503-f2540c66a369","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\": \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\": \"Sora Tanaka\",\r\n    \"room_id\": 2384693,\r\n    \"room_status\": \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\": \"2024-11-20 01:19:34\",\r\n    \"company_uuid\": \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\": \"Udeadbeefdeadbeef12345678901234\",\r\n    \"message_id\": \"100001\",\r\n    \"message_text\": \"\",\r\n    \"type_file\": \"audio\",\r\n    \"file_name\": \"audio.mp3\",\r\n    \"file_url\": \"https://some-storage.com/audio.mp3\",\r\n    \"file_mime_type\": \"audio/mpeg\",\r\n    \"owner\": 88,\r\n    \"name_owner\": \"Testing\",\r\n    \"channel\": \"line\",\r\n    \"bot_id\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>Line user ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>Line message ID.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is an audio file.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"ff51b2ca-e3d1-45f9-9503-f2540c66a369"},{"name":"Video","id":"c4a5ba7e-5a41-4ae1-a225-5c8e44ce3ae1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contacts_uuid\": \"8a29a961-e69d-4922-80ed-e92eee2afff1\",\r\n    \"contacts_name\": \"Sora Tanaka\",\r\n    \"room_id\": 2384693,\r\n    \"room_status\": \"pending|in-progress|done-waiting|done\",\r\n    \"room_date_created\": \"2024-11-20 01:19:34\",\r\n    \"company_uuid\": \"a3bed9a9-f6aa-4cd8-9f3f-3cbf8728eb7d\",\r\n    \"message_users_id\": \"Udeadbeefdeadbeef12345678901234\",\r\n    \"message_id\": \"100001\",\r\n    \"message_text\": \"\",\r\n    \"type_file\": \"video\",\r\n    \"file_name\": \"video.mp4\",\r\n    \"file_url\": \"https://some-storage.com/video.mp4\",\r\n    \"file_mime_type\": \"video/mp4\",\r\n    \"owner\": 88,\r\n    \"name_owner\": \"Testing\",\r\n    \"channel\": \"line\",\r\n    \"bot_id\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This is an expected data that you will received from our webhook.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contacts_uuid</td>\n<td>string</td>\n<td>Barantum Contact UUID that relate to the room chat.</td>\n</tr>\n<tr>\n<td>contacts_name</td>\n<td>string</td>\n<td>Barantum Contact name that relate to the room chat.</td>\n</tr>\n<tr>\n<td>room_id</td>\n<td>integer</td>\n<td>Barantum Room Chat ID.</td>\n</tr>\n<tr>\n<td>room_status</td>\n<td>string</td>\n<td>Expected value:  <br />- <code>pending</code> : New room chat.  <br />- <code>in-progress</code> : Room chat is handled by agent.  <br />- <code>done-waiting</code> : Room chat is waiting for customer CSAT and NPS response.  <br />- <code>done</code> : Room chat is resolved.</td>\n</tr>\n<tr>\n<td>room_date_created</td>\n<td>date</td>\n<td>Date created of room chat.</td>\n</tr>\n<tr>\n<td>company_uuid</td>\n<td>string</td>\n<td>Registered Company UUID.</td>\n</tr>\n<tr>\n<td>message_users_id</td>\n<td>string</td>\n<td>Line user ID.</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>string</td>\n<td>Line message ID.</td>\n</tr>\n<tr>\n<td>message_text</td>\n<td>string</td>\n<td>Inbound message chat.</td>\n</tr>\n<tr>\n<td>type_file</td>\n<td>string</td>\n<td>Chat inbound type. In this case, is a video.</td>\n</tr>\n<tr>\n<td>file_name</td>\n<td>string</td>\n<td>File name that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_url</td>\n<td>string</td>\n<td>File URL that customer uploaded.</td>\n</tr>\n<tr>\n<td>file_mime_type</td>\n<td>string</td>\n<td>File mime type that customer uploaded.</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>integer</td>\n<td>Agent ID that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>name_owner</td>\n<td>string</td>\n<td>Agent name that handling the room chat which registered at Barantum.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>Room chat channel.</td>\n</tr>\n<tr>\n<td>bot_id</td>\n<td>integer</td>\n<td>Barantum bot ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"c4a5ba7e-5a41-4ae1-a225-5c8e44ce3ae1"}],"id":"a078c7f5-24bb-4886-816e-d82a1a5291b1","description":"<p>This is for channel Line.</p>\n","_postman_id":"a078c7f5-24bb-4886-816e-d82a1a5291b1"}],"id":"4b689f9e-54f4-4830-9f79-0424420170f8","description":"<p>This is documentation about the data sent by Barantum with Send Webhook at chat features.</p>\n<h4 id=\"prerequisite\">Prerequisite</h4>\n<ol>\n<li><p>You have developer team to handle this.</p>\n</li>\n<li><p>Enable Send Webhook Inbound and fill Send Webhook Endpoint When Inbound, then click Save button under the page. You can fill this as an admin user under page Barantumchat Settings then access General Settings.</p>\n</li>\n<li><p>Make sure your endpoint is available online. If you still on development, you can use either your sandbox or ngrok for receiving the data.</p>\n</li>\n</ol>\n","_postman_id":"4b689f9e-54f4-4830-9f79-0424420170f8"},{"name":"Barantum Call Center","item":[{"name":"Extensions","item":[{"name":"List Extensions","id":"6c1a812c-463f-40d4-9a4b-bbbd143da63f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/app/api/extensions/api-key{{{apiKey}}}","description":"<h3 id=\"retrieve-registered-extensions\">Retrieve Registered Extensions</h3>\n<p><strong>Method:</strong> GET<br /><strong>URL:</strong> <code>{{domain}}/app/api/extensions/api-key{{{apiKey}}}</code></p>\n<h4 id=\"description\">Description</h4>\n<p>This endpoint is used to retrieve the API key associated with the user's account. It is essential for authenticating subsequent requests to the API.</p>\n<h4 id=\"request-parameters\">Request Parameters</h4>\n<ul>\n<li><p><code>domain</code>: The unique identifier for your company given cloudpbx server. This is received by request to <code>support@barantum.com</code> and our sales will contact you for the detail.</p>\n</li>\n<li><p><strong>apiKey</strong> (path parameter): The unique identifier for the user's API key. This key is required to access the API and should be included in the URL. You will also get the API key after get the domain value.</p>\n</li>\n</ul>\n<h4 id=\"response-structure\">Response Structure</h4>\n<p>The response will contain the following:</p>\n<ul>\n<li><p><strong>Status Code:</strong></p>\n<ul>\n<li><p><code>200</code> - This indicates that the request API key is success.</p>\n</li>\n<li><p><code>404</code> - This indicates that the requested API key was not found.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Content-Type:</strong></p>\n<ul>\n<li><code>application/json</code></li>\n</ul>\n</li>\n<li><p><strong>Response Body:</strong></p>\n<ul>\n<li>List extensions in array collection.</li>\n</ul>\n</li>\n<li><p><strong>Response Error:</strong></p>\n<ul>\n<li><p><code>message</code>: A string that provides additional information about the status of the request.</p>\n<ul>\n<li><code>API not found.</code>: Message indicate you should check if your API key is valid or not. Also make sure the key is inserted between <code>{</code> and <code>}</code>.</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example-response-success\">Example Response Success</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"extension_uuid\": \"05f73de6-a623-4613-ab9f-8bf21674ef65\",\n        \"domain_uuid\": \"325f7473-5973-4501-8450-75c5bfa824db\",\n        \"extension\": \"789\",\n        \"number_alias\": null,\n        \"password\": \"PASSWORD\",\n        \"accountcode\": \"DOMAIN\",\n        \"effective_caller_id_name\": null,\n        \"effective_caller_id_number\": null,\n        \"outbound_caller_id_name\": null,\n        \"outbound_caller_id_number\": null,\n        \"emergency_caller_id_name\": null,\n        \"emergency_caller_id_number\": null,\n        \"directory_first_name\": null,\n        \"directory_last_name\": null,\n        \"directory_visible\": \"true\",\n        \"directory_exten_visible\": \"true\",\n        \"max_registrations\": null,\n        \"limit_max\": \"5\",\n        \"limit_destination\": \"!USER_BUSY\",\n        \"missed_call_app\": null,\n        \"missed_call_data\": null,\n        \"user_context\": \"DOMAIN\",\n        \"toll_allow\": null,\n        \"call_timeout\": \"30\",\n        \"call_group\": null,\n        \"call_screen_enabled\": \"false\",\n        \"user_record\": \"all\",\n        \"hold_music\": null,\n        \"auth_acl\": null,\n        \"cidr\": null,\n        \"sip_force_contact\": null,\n        \"nibble_account\": null,\n        \"sip_force_expires\": null,\n        \"mwi_account\": null,\n        \"sip_bypass_media\": null,\n        \"unique_id\": null,\n        \"dial_string\": null,\n        \"dial_user\": null,\n        \"dial_domain\": null,\n        \"do_not_disturb\": null,\n        \"forward_all_destination\": null,\n        \"forward_all_enabled\": null,\n        \"forward_busy_destination\": null,\n        \"forward_busy_enabled\": null,\n        \"forward_no_answer_destination\": null,\n        \"forward_no_answer_enabled\": null,\n        \"forward_user_not_registered_destination\": null,\n        \"forward_user_not_registered_enabled\": null,\n        \"follow_me_uuid\": null,\n        \"follow_me_enabled\": null,\n        \"follow_me_destinations\": null,\n        \"enabled\": \"true\",\n        \"description\": null,\n        \"absolute_codec_string\": null,\n        \"force_ping\": null,\n        \"insert_date\": \"2025-06-05 03:37:28.631375+00\",\n        \"insert_user\": \"b56b7a27-264d-4a8d-ab31-e4df8a1923eb\",\n        \"update_date\": null,\n        \"update_user\": null\n    },\n    {\n        \"extension_uuid\": \"9a30a19d-a2de-42c2-9fac-c626c98a5184\",\n        \"domain_uuid\": \"325f7473-5973-4501-8450-75c5bfa824db\",\n        \"extension\": \"790\",\n        \"number_alias\": null,\n        \"password\": \"PASSWORD\",\n        \"accountcode\": \"DOMAIN\",\n        \"effective_caller_id_name\": null,\n        \"effective_caller_id_number\": null,\n        \"outbound_caller_id_name\": null,\n        \"outbound_caller_id_number\": null,\n        \"emergency_caller_id_name\": null,\n        \"emergency_caller_id_number\": null,\n        \"directory_first_name\": null,\n        \"directory_last_name\": null,\n        \"directory_visible\": \"true\",\n        \"directory_exten_visible\": \"true\",\n        \"max_registrations\": null,\n        \"limit_max\": \"5\",\n        \"limit_destination\": \"!USER_BUSY\",\n        \"missed_call_app\": null,\n        \"missed_call_data\": null,\n        \"user_context\": \"DOMAIN\",\n        \"toll_allow\": null,\n        \"call_timeout\": \"30\",\n        \"call_group\": null,\n        \"call_screen_enabled\": \"false\",\n        \"user_record\": \"all\",\n        \"hold_music\": null,\n        \"auth_acl\": null,\n        \"cidr\": null,\n        \"sip_force_contact\": null,\n        \"nibble_account\": null,\n        \"sip_force_expires\": null,\n        \"mwi_account\": null,\n        \"sip_bypass_media\": null,\n        \"unique_id\": null,\n        \"dial_string\": null,\n        \"dial_user\": null,\n        \"dial_domain\": null,\n        \"do_not_disturb\": null,\n        \"forward_all_destination\": null,\n        \"forward_all_enabled\": null,\n        \"forward_busy_destination\": null,\n        \"forward_busy_enabled\": null,\n        \"forward_no_answer_destination\": null,\n        \"forward_no_answer_enabled\": null,\n        \"forward_user_not_registered_destination\": null,\n        \"forward_user_not_registered_enabled\": null,\n        \"follow_me_uuid\": null,\n        \"follow_me_enabled\": null,\n        \"follow_me_destinations\": null,\n        \"enabled\": \"true\",\n        \"description\": null,\n        \"absolute_codec_string\": null,\n        \"force_ping\": null,\n        \"insert_date\": \"2025-06-05 03:40:33.769444+00\",\n        \"insert_user\": \"b56b7a27-264d-4a8d-ab31-e4df8a1923eb\",\n        \"update_date\": null,\n        \"update_user\": null\n    }\n]\n\n</code></pre>\n<h4 id=\"notes\">Notes</h4>\n<ul>\n<li><p>Ensure that the <code>apiKey</code> is correctly formatted and corresponds to an existing user account to avoid receiving a 404 error.</p>\n</li>\n<li><p>If the API key is valid and exists, the response will provide relevant information about the API key.</p>\n</li>\n</ul>\n","urlObject":{"path":["app","api","extensions","api-key{{{apiKey}}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6c1a812c-463f-40d4-9a4b-bbbd143da63f"},{"name":"Search Extension By Number Extension","id":"5e96ed8b-8c7e-4d53-8ab8-19a6e854ceea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"extensions\": 1002\r\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/app/api/extensions-search/api-key{{{apiKey}}}","description":"<h3 id=\"search-extension-by-number-extension\">Search Extension By Number Extension</h3>\n<p><strong>Method:</strong> GET<br /><strong>URL:</strong> <code>{{domain}}/app/api/extensions-search/api-key{{{apiKey}}}</code></p>\n<h4 id=\"description\">Description</h4>\n<p>This endpoint is used to get specified detail data extension by searching based on extension number.</p>\n<h4 id=\"request-parameters\">Request Parameters</h4>\n<ul>\n<li><p><code>domain</code>: The unique identifier for your company given cloudpbx server. This is received by request to <code>support@barantum.com</code> and our sales will contact you for the detail.</p>\n</li>\n<li><p><strong>apiKey</strong> (path parameter): The unique identifier for the user's API key. This key is required to access the API and should be included in the URL. You will also get the API key after get the domain value.</p>\n</li>\n</ul>\n<h4 id=\"response-structure\">Response Structure</h4>\n<p>The response will contain the following:</p>\n<ul>\n<li><p><strong>Status Code:</strong></p>\n<ul>\n<li><p><code>200</code> - This indicates that the request API key is success.</p>\n</li>\n<li><p><code>404</code> - This indicates that the requested API key was not found.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Content-Type:</strong></p>\n<ul>\n<li><code>application/json</code></li>\n</ul>\n</li>\n<li><p><strong>Response Body:</strong></p>\n<ul>\n<li>A list extensions.</li>\n</ul>\n</li>\n<li><p><strong>Response Error:</strong></p>\n<ul>\n<li><p><code>message</code>: A string that provides additional information about the status of the request.</p>\n<ul>\n<li><code>API not found.</code>: Message indicate you should check if your API key is valid or not. Also make sure the key is inserted between <code>{</code> and <code>}</code>.</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example-response-success\">Example Response Success</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    \"message\": 200,\n    \"extensions\": 1002,\n    \"uuid\": \"UUID\"\n]\n\n</code></pre>\n<h4 id=\"notes\">Notes</h4>\n<ul>\n<li><p>Ensure that the <code>apiKey</code> is correctly formatted and corresponds to an existing user account to avoid receiving a 404 error.</p>\n</li>\n<li><p>If the API key is valid and exists, the response will provide relevant information about the API key.</p>\n</li>\n</ul>\n","urlObject":{"path":["app","api","extensions-search","api-key{{{apiKey}}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5e96ed8b-8c7e-4d53-8ab8-19a6e854ceea"},{"name":"Delete Extensions","id":"b3707294-d84d-4808-900f-510cc3b5311e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{domain}}/app/api/extensions{{{extension_uuid}}}/api-key{{{apiKey}}}","description":"<h2 id=\"delete-extension\">Delete Extension</h2>\n<p>This endpoint is used to delete a specific extension. By sending a DELETE request to this endpoint, users can remove unused extension.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<ul>\n<li><p><strong>extension_uuid</strong> (string): The unique identifier for the extension from which the API key is to be deleted.</p>\n</li>\n<li><p><strong>apiKey</strong> (string): The API key that needs to be deleted.</p>\n</li>\n</ul>\n<h3 id=\"response-structure\">Response Structure</h3>\n<p>Upon successful deletion, the response will indicate the status of the operation. The expected response will typically include by this JSON.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"OK\"\n}\n</code></pre>\n<p>Ensure that you have the necessary permissions to delete the specified API key before making this request.</p>\n","urlObject":{"path":["app","api","extensions{{{extension_uuid}}}","api-key{{{apiKey}}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b3707294-d84d-4808-900f-510cc3b5311e"},{"name":"Add New Extension","id":"00e90f93-8f40-4f9a-a508-c23af8a9b3b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"extension\": \"1000\",\r\n    \"number_alias\": \"\",\r\n    \"password\": \"PASSWORD\",\r\n    \"accountcode\": \"DOMAIN\",\r\n    \"effective_caller_id_name\": 1000,\r\n    \"effective_caller_id_number\": 1000,\r\n    \"outbound_caller_id_name\": 1000,\r\n    \"outbound_caller_id_number\": 1000,\r\n    \"emergency_caller_id_name\": null,\r\n    \"emergency_caller_id_number\": null,\r\n    \"directory_first_name\": null,\r\n    \"directory_last_name\": null,\r\n    \"directory_visible\": \"true\",\r\n    \"directory_exten_visible\": \"true\",\r\n    \"max_registrations\": null,\r\n    \"limit_max\": 5,\r\n    \"limit_destination\": \"!USER_BUSY\",\r\n    \"missed_call_app\": null,\r\n    \"missed_call_data\": null,\r\n    \"user_context\": \"DOMAIN\",\r\n    \"toll_allow\": null,\r\n    \"call_timeout\": 30,\r\n    \"call_group\": null,\r\n    \"call_screen_enabled\": \"false\",\r\n    \"user_record\": \"all\",\r\n    \"hold_music\": null,\r\n    \"auth_acl\": null,\r\n    \"cidr\": null,\r\n    \"sip_force_contact\": null,\r\n    \"nibble_account\": null,\r\n    \"sip_force_expires\": null,\r\n    \"mwi_account\": null,\r\n    \"sip_bypass_media\": null,\r\n    \"unique_id\": null,\r\n    \"dial_string\": null,\r\n    \"dial_user\": null,\r\n    \"dial_domain\": null,\r\n    \"do_not_disturb\": null,\r\n    \"forward_all_destination\": null,\r\n    \"forward_all_enabled\": null,\r\n    \"forward_busy_destination\": null,\r\n    \"forward_busy_enabled\": null,\r\n    \"forward_no_answer_destination\": null,\r\n    \"forward_no_answer_enabled\": null,\r\n    \"forward_user_not_registered_destination\": null,\r\n    \"forward_user_not_registered_enabled\": null,\r\n    \"follow_me_uuid\": null,\r\n    \"follow_me_enabled\": null,\r\n    \"follow_me_destinations\": null,\r\n    \"enabled\": \"true\",\r\n    \"description\": null,\r\n    \"absolute_codec_string\": null,\r\n    \"force_ping\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/app/api/extensions/api-key{{{apiKey}}}","description":"<h2 id=\"create-or-update-extension\">Create or Update Extension</h2>\n<h3 id=\"method\">Method</h3>\n<p><code>POST</code></p>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>{{domain}}/app/api/extensions/api-key{{{apiKey}}}</code></p>\n<h3 id=\"description\">Description</h3>\n<p>This endpoint is used to create or update an extension in the application. It requires a JSON payload containing various parameters that define the extension's configuration.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<p>The following parameters should be included in the request body as a JSON object:</p>\n<ul>\n<li><p><strong>extension</strong> (string): The unique identifier for the extension.</p>\n</li>\n<li><p><strong>number_alias</strong> (string or null): Alias for the number, if applicable.</p>\n</li>\n<li><p><strong>password</strong> (string): The password for the extension.</p>\n</li>\n<li><p><strong>accountcode</strong> (string): The account code associated with the extension.</p>\n</li>\n<li><p><strong>effective_caller_id_name</strong> (string or number): The name that will be displayed as the caller ID.</p>\n</li>\n<li><p><strong>effective_caller_id_number</strong> (string or number): The number that will be displayed as the caller ID.</p>\n</li>\n<li><p><strong>outbound_caller_id_name</strong> (string or number): The outbound caller ID name.</p>\n</li>\n<li><p><strong>outbound_caller_id_number</strong> (string or number): The outbound caller ID number.</p>\n</li>\n<li><p><strong>emergency_caller_id_name</strong> (string or null): Caller ID name for emergency calls.</p>\n</li>\n<li><p><strong>emergency_caller_id_number</strong> (string or null): Caller ID number for emergency calls.</p>\n</li>\n<li><p><strong>directory_first_name</strong> (string or null): First name for directory listing.</p>\n</li>\n<li><p><strong>directory_last_name</strong> (string or null): Last name for directory listing.</p>\n</li>\n<li><p><strong>directory_visible</strong> (string): Visibility status in the directory (e.g., \"true\" or \"false\").</p>\n</li>\n<li><p><strong>directory_exten_visible</strong> (string): Visibility status of the extension in the directory (e.g., \"true\" or \"false\").</p>\n</li>\n<li><p><strong>max_registrations</strong> (string or null): Maximum number of registrations allowed.</p>\n</li>\n<li><p><strong>limit_max</strong> (number): Maximum number of concurrent calls.</p>\n</li>\n<li><p><strong>limit_destination</strong> (string): Destination to route calls when limits are reached.</p>\n</li>\n<li><p><strong>missed_call_app</strong> (string or null): Application to handle missed calls.</p>\n</li>\n<li><p><strong>missed_call_data</strong> (string or null): Additional data for missed calls.</p>\n</li>\n<li><p><strong>user_context</strong> (string): Context for the user.</p>\n</li>\n<li><p><strong>toll_allow</strong> (string or null): Toll allowance settings.</p>\n</li>\n<li><p><strong>call_timeout</strong> (number): Timeout duration for calls.</p>\n</li>\n<li><p><strong>call_group</strong> (string or null): Group for call handling.</p>\n</li>\n<li><p><strong>call_screen_enabled</strong> (string): Indicates if call screening is enabled (e.g., \"true\" or \"false\").</p>\n</li>\n<li><p><strong>user_record</strong> (string): Recording settings for the user (e.g., \"all\").</p>\n</li>\n<li><p><strong>hold_music</strong> (string or null): Music played while on hold.</p>\n</li>\n<li><p><strong>auth_acl</strong> (string or null): Access control list for authentication.</p>\n</li>\n<li><p><strong>cidr</strong> (string or null): CIDR notation for IP access.</p>\n</li>\n<li><p><strong>sip_force_contact</strong> (string or null): Force contact for SIP.</p>\n</li>\n<li><p><strong>nibble_account</strong> (string or null): Nibble account settings.</p>\n</li>\n<li><p><strong>sip_force_expires</strong> (string or null): Force expiration for SIP.</p>\n</li>\n<li><p><strong>mwi_account</strong> (string or null): MWI account settings.</p>\n</li>\n<li><p><strong>sip_bypass_media</strong> (string or null): Bypass media for SIP.</p>\n</li>\n<li><p><strong>unique_id</strong> (string or null): Unique identifier for the request.</p>\n</li>\n<li><p><strong>dial_string</strong> (string or null): Dial string configuration.</p>\n</li>\n<li><p><strong>dial_user</strong> (string or null): User for dialing.</p>\n</li>\n<li><p><strong>dial_domain</strong> (string or null): Domain for dialing.</p>\n</li>\n<li><p><strong>do_not_disturb</strong> (string or null): Do not disturb settings.</p>\n</li>\n<li><p><strong>forward_all_destination</strong> (string or null): Destination for forwarding all calls.</p>\n</li>\n<li><p><strong>forward_all_enabled</strong> (string or null): Status of forwarding all calls.</p>\n</li>\n<li><p><strong>forward_busy_destination</strong> (string or null): Destination for forwarding busy calls.</p>\n</li>\n<li><p><strong>forward_busy_enabled</strong> (string or null): Status of forwarding busy calls.</p>\n</li>\n<li><p><strong>forward_no_answer_destination</strong> (string or null): Destination for forwarding no answer calls.</p>\n</li>\n<li><p><strong>forward_no_answer_enabled</strong> (string or null): Status of forwarding no answer calls.</p>\n</li>\n<li><p><strong>forward_user_not_registered_destination</strong> (string or null): Destination for forwarding when user is not registered.</p>\n</li>\n<li><p><strong>forward_user_not_registered_enabled</strong> (string or null): Status of forwarding when user is not registered.</p>\n</li>\n<li><p><strong>follow_me_uuid</strong> (string or null): UUID for follow-me functionality.</p>\n</li>\n<li><p><strong>follow_me_enabled</strong> (string or null): Status of follow-me functionality.</p>\n</li>\n<li><p><strong>follow_me_destinations</strong> (string or null): Destinations for follow-me functionality.</p>\n</li>\n<li><p><strong>enabled</strong> (string): Indicates if the extension is enabled (e.g., \"true\" or \"false\").</p>\n</li>\n<li><p><strong>description</strong> (string or null): Description of the extension.</p>\n</li>\n<li><p><strong>absolute_codec_string</strong> (string or null): Codec settings.</p>\n</li>\n<li><p><strong>force_ping</strong> (string or null): Force ping settings.</p>\n</li>\n</ul>\n<h3 id=\"expected-response-format\">Expected Response Format</h3>\n<p>The response will typically include a confirmation of the operation's success or failure, along with any relevant data regarding the created or updated extension. The exact structure of the response will depend on the implementation but will generally include status codes and messages indicating the outcome of the request.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"OK\"\n}\n\n</code></pre>\n","urlObject":{"path":["app","api","extensions","api-key{{{apiKey}}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"00e90f93-8f40-4f9a-a508-c23af8a9b3b9"},{"name":"Detail Extension","id":"1a832358-b83b-484e-b96a-067c40dfdedc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/app/api/extensions/extension_uuid{{{extension_uuid}}}/api-key{{{apiKey}}}","description":"<h2 id=\"retrieve-detailed-extension-by-extension-uuid\">Retrieve Detailed Extension By Extension Uuid</h2>\n<p>This endpoint allows users to retrieve a detailed specific extension identified by its unique UUID.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<ul>\n<li><p><strong>extension_uuid</strong> (string, required): The unique identifier for the extension whose API key is being requested.</p>\n</li>\n<li><p><strong>apiKey</strong> (string, required): The API key used for authentication to access this endpoint.</p>\n</li>\n</ul>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>Upon a successful request, the response will include details regarding the specified extension. The response will typically contain in this JSON response.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"extension_uuid\": \"05f73de6-a623-4613-ab9f-8bf21674ef65\",\n    \"domain_uuid\": \"325f7473-5973-4501-8450-75c5bfa824db\",\n    \"extension\": \"789\",\n    \"number_alias\": null,\n    \"password\": \"PASSWORD\",\n    \"accountcode\": \"DOMAIN\",\n    \"effective_caller_id_name\": null,\n    \"effective_caller_id_number\": null,\n    \"outbound_caller_id_name\": null,\n    \"outbound_caller_id_number\": null,\n    \"emergency_caller_id_name\": null,\n    \"emergency_caller_id_number\": null,\n    \"directory_first_name\": null,\n    \"directory_last_name\": null,\n    \"directory_visible\": \"true\",\n    \"directory_exten_visible\": \"true\",\n    \"max_registrations\": null,\n    \"limit_max\": \"5\",\n    \"limit_destination\": \"!USER_BUSY\",\n    \"missed_call_app\": null,\n    \"missed_call_data\": null,\n    \"user_context\": \"DOMAIN\",\n    \"toll_allow\": null,\n    \"call_timeout\": \"30\",\n    \"call_group\": null,\n    \"call_screen_enabled\": \"false\",\n    \"user_record\": \"all\",\n    \"hold_music\": null,\n    \"auth_acl\": null,\n    \"cidr\": null,\n    \"sip_force_contact\": null,\n    \"nibble_account\": null,\n    \"sip_force_expires\": null,\n    \"mwi_account\": null,\n    \"sip_bypass_media\": null,\n    \"unique_id\": null,\n    \"dial_string\": null,\n    \"dial_user\": null,\n    \"dial_domain\": null,\n    \"do_not_disturb\": null,\n    \"forward_all_destination\": null,\n    \"forward_all_enabled\": null,\n    \"forward_busy_destination\": null,\n    \"forward_busy_enabled\": null,\n    \"forward_no_answer_destination\": null,\n    \"forward_no_answer_enabled\": null,\n    \"forward_user_not_registered_destination\": null,\n    \"forward_user_not_registered_enabled\": null,\n    \"follow_me_uuid\": null,\n    \"follow_me_enabled\": null,\n    \"follow_me_destinations\": null,\n    \"enabled\": \"true\",\n    \"description\": null,\n    \"absolute_codec_string\": null,\n    \"force_ping\": null,\n    \"insert_date\": \"2025-06-05 03:37:28.631375+00\",\n    \"insert_user\": \"b56b7a27-264d-4a8d-ab31-e4df8a1923eb\",\n    \"update_date\": null,\n    \"update_user\": null\n  }\n]\n\n</code></pre>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>Ensure that the provided <code>extension_uuid</code> and <code>apiKey</code> are valid and correctly formatted.</p>\n</li>\n<li><p>This endpoint requires proper authentication; invalid or expired API keys will result in an error response.</p>\n</li>\n</ul>\n","urlObject":{"path":["app","api","extensions","extension_uuid{{{extension_uuid}}}","api-key{{{apiKey}}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1a832358-b83b-484e-b96a-067c40dfdedc"}],"id":"d20d5cf4-da31-4664-8f4e-7bb1e04e4dee","description":"<p>This folder provides a complete set of API endpoints to manage <strong>VoIP Extensions</strong> within the Call Center system.</p>\n<p>It supports full <strong>CRUD</strong> (Create, Read, Update, Delete) operations, as well as managing extension-user associations.</p>\n<hr />\n<h2 id=\"📌-key-functionalities\">📌 Key Functionalities</h2>\n<ul>\n<li><p>🔍 <strong>List Extensions:</strong> Retrieve a list of all registered extensions.</p>\n</li>\n<li><p>➕ <strong>Add Extension:</strong> Create a new extension with configuration options.</p>\n</li>\n<li><p>🖊️ <strong>Update Extension:</strong> Modify an existing extension.</p>\n</li>\n<li><p>❌ <strong>Delete Extension:</strong> Remove an unused or deactivated extension.</p>\n</li>\n<li><p>📄 <strong>View Details:</strong> Get detailed information on a specific extension.</p>\n</li>\n</ul>\n<hr />\n<p>📘 <strong>Note</strong></p>\n<ul>\n<li><p>All requests must include a valid API key in the URL using the format <code>api-key{{apiKey}}</code>.</p>\n</li>\n<li><p>Make sure the extension number registered under the domain.</p>\n</li>\n</ul>\n","_postman_id":"d20d5cf4-da31-4664-8f4e-7bb1e04e4dee"},{"name":"Click To Call","item":[{"name":"Click To Call","id":"150c9ac1-41ed-46ef-a2d8-f599ee17d253","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"extention\": \"EXTENSION_NUMBER\",\r\n    \"number\": \"DESTINATION_NUMBER\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/app/api/click_to_call/api-key{{{apiKey}}}","description":"<h3 id=\"click-to-call-api\">Click to Call API</h3>\n<p>This endpoint allows users to initiate a click-to-call action by sending a POST request. The request requires an API key for authentication and includes the following parameters in the request body:</p>\n<ul>\n<li><p><strong>extention</strong> (string): The extension number to which the call will be directed.</p>\n</li>\n<li><p><strong>number</strong> (string): The extension or phone number that will be called.</p>\n</li>\n</ul>\n<p>Upon successful execution, the API returns a status code of 200 along with a JSON response containing a message object. The response includes a <code>message</code> field and a <code>uuid</code> field, which can be used for tracking or further processing of the call.</p>\n<h4 id=\"request-example\">Request Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"extention\": \"EXTENSION_NUMBER\",\n  \"number\": \"DESTINATION_NUMBER\"\n}\n\n</code></pre>\n<h4 id=\"response-example\">Response Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"message\": {\n    \"message\": \"OK\",\n    \"uuid\": \"UUID\"\n  }\n}\n\n</code></pre>\n<p>This API is useful for integrating click-to-call functionality into applications, facilitating seamless communication directly from the user interface.</p>\n","urlObject":{"path":["app","api","click_to_call","api-key{{{apiKey}}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"150c9ac1-41ed-46ef-a2d8-f599ee17d253"}],"id":"d2c12041-5455-4f34-a6c8-466b742442ee","description":"<p>This folder provides an endpoint to initiate outbound phone calls through a call center system using a simple HTTP POST request. It is designed for systems that require <strong>click-to-call integration</strong>, enabling agents or users to trigger calls directly from a web interface or internal dashboard.</p>\n<hr />\n<h3 id=\"✅-purpose\">✅ Purpose</h3>\n<p>Enable seamless interaction by initiating a phone call from a specified <strong>call center extension</strong> to a <strong>target number</strong> (such as a customer's phone number).</p>\n<hr />\n<h3 id=\"🧩-use-cases\">🧩 Use Cases</h3>\n<ul>\n<li><p>CRM tools initiating calls to customers</p>\n</li>\n<li><p>Helpdesk agents connecting with clients via a single click</p>\n</li>\n<li><p>Automating outbound calls from dashboards or internal portals</p>\n</li>\n</ul>\n<hr />\n<p>📘 <strong>Note</strong></p>\n<ul>\n<li><p>All requests must include a valid API key in the URL using the format <code>api-key{{apiKey}}</code>.</p>\n</li>\n<li><p>Make sure the extension number registered under the domain.</p>\n</li>\n</ul>\n","_postman_id":"d2c12041-5455-4f34-a6c8-466b742442ee"},{"name":"Report","item":[{"name":"Retrieve Call Detail Records (CDR)","id":"05a890f1-7853-43eb-a72c-9450b88b79f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"page\": 1,\r\n    \"limit\": 15,\r\n    \"start_stamp_begin\": \"2025-06-20 08:45\",\r\n    \"start_stamp_end\": \"2025-06-20 09:15\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/app/api/cdr/api-key{{{apiKey}}}","description":"<h2 id=\"retrieve-call-detail-records-cdr\">Retrieve Call Detail Records (CDR)</h2>\n<p>This endpoint allows you to retrieve Call Detail Records (CDR) based on specified criteria such as time range and pagination settings. The request is made using the HTTP POST method.</p>\n<h3 id=\"request-format\">Request Format</h3>\n<ul>\n<li><p><strong>URL</strong>: <code>{{domain}}/app/api/cdr/api-key{{{apiKey}}}</code></p>\n</li>\n<li><p><strong>Method</strong>: POST</p>\n</li>\n<li><p><strong>Content-Type</strong>: application/json</p>\n</li>\n</ul>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request body must be a JSON object with the following parameters:</p>\n<ul>\n<li><p><strong>page</strong> (integer): The page number of the results to retrieve. This is used for pagination.</p>\n</li>\n<li><p><strong>limit</strong> (integer): The maximum number of records to return per page.</p>\n</li>\n<li><p><strong>start_stamp_begin</strong> (string): The start timestamp for filtering records, formatted as \"YYYY-MM-DD HH:MM\" <strong>(optional)</strong>.</p>\n</li>\n<li><p><strong>start_stamp_end</strong> (string): The end timestamp for filtering records, formatted as \"YYYY-MM-DD HH:MM\" <strong>(optional)</strong>.</p>\n</li>\n</ul>\n<h4 id=\"example-request-body\">Example Request Body:</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"page\": 1,\n  \"limit\": 15,\n  \"start_stamp_begin\": \"2025-06-20 08:45\",\n  \"start_stamp_end\": \"2025-06-20 09:15\"\n}\n\n</code></pre>\n<h3 id=\"response-structure\">Response Structure</h3>\n<p>The response will contain a JSON object with the details of the retrieved Call Detail Records based on the specified parameters. The structure of the response will include in message object with:</p>\n<ul>\n<li><p><strong>limit</strong> (integer): The maximum data shown.</p>\n</li>\n<li><p><strong>page</strong> (integer): Current page accessed.</p>\n</li>\n<li><p><strong>data</strong> (array): An array of CDR objects, each containing details such as call duration, caller ID, receiver ID, and timestamps.</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": {\n        \"limit\": 15,\n        \"page\": 1,\n        \"data\": [...]\n    }\n}\n\n</code></pre>\n<p>This endpoint is essential for applications that need to analyze call data within a specified timeframe, facilitating effective data management and reporting.</p>\n","urlObject":{"path":["app","api","cdr","api-key{{{apiKey}}}"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"05a890f1-7853-43eb-a72c-9450b88b79f4"}],"id":"6d87fc94-910c-4223-bcb1-7ad2b33b210f","description":"<h2 id=\"📈-report-folder\">📈 Report Folder</h2>\n<p>The <strong>Report</strong> folder contains endpoints designed for retrieving analytical and historical data related to your call center operations. These APIs allow external systems, administrators, or dashboards to query <strong>Call Detail Records (CDRs)</strong> based on time filters, pagination, and other parameters.</p>\n<hr />\n<h3 id=\"🔍-key-functionalities\">🔍 Key Functionalities</h3>\n<ul>\n<li>Fetch call history logs using flexible time-based filters</li>\n<li>Support for pagination to manage large datasets</li>\n<li>Integration-ready format for dashboards, reports, and audits</li>\n<li>Enables data-driven insights for agent performance and system usage</li>\n</ul>\n<hr />\n<h3 id=\"📘-common-use-cases\">📘 Common Use Cases</h3>\n<ul>\n<li>Viewing inbound and outbound call activity</li>\n<li>Generating performance or billing reports</li>\n<li>Building internal analytics dashboards</li>\n<li>Performing audits or regulatory compliance checks</li>\n</ul>\n<hr />\n<h3 id=\"🔐-access-requirements\">🔐 Access Requirements</h3>\n<p>All endpoints in this folder require:</p>\n<ul>\n<li>A valid <code>{{apiKey}}</code> as part of the URL</li>\n<li>Proper formatting of timestamps (e.g., <code>YYYY-MM-DD HH:MM</code>)</li>\n<li>JSON-formatted request bodies for POST endpoints</li>\n</ul>\n<hr />\n<blockquote>\n<p>⚠️ <strong>Note:</strong> Always validate timestamp inputs and handle pagination to ensure accurate data retrieval in large-scale systems.</p>\n</blockquote>\n","_postman_id":"6d87fc94-910c-4223-bcb1-7ad2b33b210f"}],"id":"df593279-cc3a-42b1-9ca7-5e6e4ec859f0","description":"<p>This collection provides a complete set of RESTful APIs to manage the Call Center's extension system.</p>\n<p>It is designed for system integrators or developers who need to programmatically interact with Barantum's CloudPBX services.</p>\n<hr />\n<h2 id=\"🛡️-authentication\">🛡️ Authentication</h2>\n<p>All endpoints require an <strong>API key</strong> (<code>apiKey</code>) and a <strong>domain</strong> (<code>domain</code>) as part of the URL path. These credentials are provided upon request:</p>\n<ul>\n<li><p>Request via: <code>support@barantum.com</code></p>\n</li>\n<li><p>Once approved, you will receive:</p>\n<ul>\n<li><p>Your domain URL</p>\n</li>\n<li><p>The associated <code>apiKey</code></p>\n</li>\n</ul>\n</li>\n</ul>\n<p>Authentication is passed as a <strong>path parameter</strong> in the format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{{domain}}/app/api/.../api-key{{apiKey}}\n\n</code></pre><hr />\n<h2 id=\"📦-modules-covered\">📦 Modules Covered</h2>\n<ul>\n<li><p>📁 <strong>Extensions</strong></p>\n<ul>\n<li><p>Create, read, update, and delete extensions</p>\n</li>\n<li><p>Retrieve detailed extension data</p>\n</li>\n</ul>\n</li>\n<li><p>📁 <strong>Click To Call</strong></p>\n<ul>\n<li>Initiating click to call from agent to specified phone number</li>\n</ul>\n</li>\n<li><p>📁 <strong>Report</strong></p>\n<ul>\n<li>Summarized report telephony</li>\n</ul>\n</li>\n</ul>\n<hr />\n<p>📘 <strong>Tip:</strong> Use the Postman environment variables (<code>{{domain}}</code>, <code>{{apiKey}}</code>, <code>{{extension_uuid}}</code>) to streamline testing.</p>\n<p>For support or integration guidance, contact Barantum Support.</p>\n","_postman_id":"df593279-cc3a-42b1-9ca7-5e6e4ec859f0"}]}