{"info":{"_postman_id":"415c2564-f93f-412f-bc38-9b63806ff990","name":"Chatalo API Documentation","description":"<html><head></head><body><p>Welcome to the Wapro API Documentation<br>Following are some of the prerequisites for using the Wapro API<br><strong>Steps to get started:</strong></p>\n<ul>\n<li><p>Base API URL: <a href=\"https://chatalo.com/api/v1\">https://chatalo.com/api/v1</a></p>\n</li>\n<li><p>You can get the API Key from the Member Area <strong>Integration &gt; API Key &amp; Apps</strong></p>\n</li>\n<li><p>Sending data using JSON format</p>\n</li>\n</ul>\n<h4 id=\"response-code\">Response Code</h4>\n<p><strong>200</strong> Success</p>\n<p><strong>403</strong> Unauthorized</p>\n<p><strong>400</strong> Invalid Fields or Inputs</p>\n<p><strong>500</strong> Fatal Error</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10201011","collectionId":"415c2564-f93f-412f-bc38-9b63806ff990","publishedId":"2s946o3UQX","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-07-25T03:30:44.000Z"},"item":[{"name":"Profile","item":[{"name":"Get Profile","id":"8ce05e73-e38f-441a-b74d-8529076a907d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"url":"https://chatalo.com/api/v1/profile","description":"<p>The endpoint <strong>profile</strong> is useful for checking the status of your API Key, Profile Details related to the API Key and a list of connected devices and their status. The device can be used when the status shows <code>AUTHENTICATED</code> status. Other statuses are <code>AUTHENTICATED</code>, <code>CONNECTED</code>, <code>CONNECTING</code>, <code>DISCONNECTED</code>, <code>DISCONNECTING</code>.</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://chatalo.com/api/v1/profile',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["profile"],"host":["https://chatalo.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"30ed7035-4503-47d3-a6f1-67ff37235a7d","name":"Get Profile","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"url":"https://chatalo.com/api/v1/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Jul 2023 07:53:29 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"first_name\": \"Trimun\",\n        \"last_name\": \"Su\",\n        \"email\": \"demo@gmail.com\",\n        \"expires_on\": \"20 Jul 2023, 09:50 am (10 days remaining)\",\n        \"plan\": \"Premium\",\n        \"assigned_devices\": [\n            {\n                \"id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\",\n                \"name\": \"Andi - CS\",\n                \"whatsapp_number\": \"628517663xxxx\",\n                \"status\": \"AUTHENTICATED\"\n            },\n            {\n                \"id\": \"5333e99a-ed4e-40ab-8dfc-xxxxxxxxxxxx\",\n                \"name\": \"Dita - CS\",\n                \"whatsapp_number\": \"628897909xxxx\",\n                \"status\": \"DISCONNECTED\"\n            }\n        ]\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"8ce05e73-e38f-441a-b74d-8529076a907d"},{"name":"Get Logs","id":"c0ca6c39-0745-472d-8cc2-c8af6b1ea5e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"url":"https://chatalo.com/api/v1/profile/logs?page=1&limit=15","description":"<p>Get all the history of changes and actions performed by the user.</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Query parameters\n$query_params = array(\n    'page' =&gt; 1,\n    'limit' =&gt; 15,\n    'action' =&gt; '',\n    'ip' =&gt; '',\n    'date_from' =&gt; '',\n    'date_to' =&gt; '',\n);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://chatalo.com/api/v1/profile/logs?' . http_build_query($query_params),\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["profile","logs"],"host":["https://chatalo.com/api/v1"],"query":[{"description":{"content":"<p>Numeric</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Numeric, default is 15</p>\n","type":"text/plain"},"key":"limit","value":"15"},{"disabled":true,"description":{"content":"<p>Keyword that maybe contain in action</p>\n","type":"text/plain"},"key":"action","value":""},{"disabled":true,"description":{"content":"<p>IP address</p>\n","type":"text/plain"},"key":"ip","value":""},{"disabled":true,"description":{"content":"<p>Date with format Y-m-d H:i</p>\n","type":"text/plain"},"key":"date_from","value":""},{"disabled":true,"description":{"content":"<p>Date with format Y-m-d H:i</p>\n","type":"text/plain"},"key":"date_to","value":""}],"variable":[]}},"response":[{"id":"209b2fdd-8172-49b0-a507-c1ea368fcccb","name":"Get Logs","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"url":{"raw":"https://chatalo.com/api/v1/profile/logs?page=1&limit=15","host":["https://chatalo.com/api/v1"],"path":["profile","logs"],"query":[{"key":"page","value":"1","description":"Numeric"},{"key":"action","value":"","description":"Keyword that maybe contain in action","disabled":true},{"key":"ip","value":null,"description":"IP address","disabled":true},{"key":"date_from","value":null,"description":"Date with format Y-m-d H:i","disabled":true},{"key":"date_to","value":null,"description":"Date with format Y-m-d H:i","disabled":true},{"key":"limit","value":"15"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Jul 2023 10:18:43 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"b99bc973-95ce-4a55-868f-17b6ff785dbf\",\n            \"date\": \"20 Jul 2023, 11:35:04 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"172.20.0.1\",\n            \"browser\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"89c863e7-c91c-49f4-9d5c-ed278ff5927a\",\n            \"date\": \"20 Jul 2023, 11:35:01 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"172.20.0.1\",\n            \"browser\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"fc6be61a-02dd-4932-ae94-37461a43e89e\",\n            \"date\": \"20 Jul 2023, 11:34:20 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"172.20.0.1\",\n            \"browser\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"14d29812-fb57-4ef0-98d5-a8b852b7901e\",\n            \"date\": \"20 Jul 2023, 11:33:57 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"172.20.0.1\",\n            \"browser\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"36c2b414-2062-4a38-bd69-2e341531f0d9\",\n            \"date\": \"20 Jul 2023, 11:33:48 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"172.20.0.1\",\n            \"browser\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"f86972b3-8074-4c21-bcf4-bed0efbb84b5\",\n            \"date\": \"20 Jul 2023, 11:33:40 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"172.20.0.1\",\n            \"browser\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"4983a765-6811-42e9-959e-399e871078a5\",\n            \"date\": \"20 Jul 2023, 11:32:50 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"172.20.0.1\",\n            \"browser\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"96dadf12-dcdf-4454-9999-0848841b0bd7\",\n            \"date\": \"20 Jul 2023, 11:32:28 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"172.20.0.1\",\n            \"browser\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"4878cd4d-422f-42df-81ee-6448e231d4c7\",\n            \"date\": \"20 Jul 2023, 11:32:06 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"172.20.0.1\",\n            \"browser\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"147a0b93-34a9-45b0-af98-40ad96a53bef\",\n            \"date\": \"20 Jul 2023, 11:29:46 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"172.20.0.1\",\n            \"browser\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"82f091e5-b22a-4668-bf5a-fb793cfa9509\",\n            \"date\": \"20 Jul 2023, 11:29:20 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"172.20.0.1\",\n            \"browser\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"2b6c06e5-4e78-4232-a46a-5b1fe6604eb7\",\n            \"date\": \"20 Jul 2023, 11:29:18 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"172.20.0.1\",\n            \"browser\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"32772c8e-aa2d-4c5a-bd39-e4ec06c815cf\",\n            \"date\": \"20 Jul 2023, 11:29:17 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"172.20.0.1\",\n            \"browser\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"7be08f1c-6419-4dcd-aaa0-72f83d649aa1\",\n            \"date\": \"20 Jul 2023, 11:29:15 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"172.20.0.1\",\n            \"browser\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        },\n        {\n            \"id\": \"9aa0884b-9557-4347-81af-b44d992bf55f\",\n            \"date\": \"20 Jul 2023, 11:28:48 am\",\n            \"action\": \"Update API Key\",\n            \"ip_address\": \"172.20.0.1\",\n            \"browser\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n        }\n    ],\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\",\n        \"pagination\": {\n            \"current_page\": 1,\n            \"total\": 749,\n            \"per_page\": 15,\n            \"last_page\": 50\n        }\n    }\n}"}],"_postman_id":"c0ca6c39-0745-472d-8cc2-c8af6b1ea5e3"}],"id":"bd69a6c5-cbfd-4bd6-9c47-291ec6a40cc0","_postman_id":"bd69a6c5-cbfd-4bd6-9c47-291ec6a40cc0","description":""},{"name":"Contact","item":[{"name":"Get Contact List","id":"eb986c61-f6c1-457d-aa9b-482cd1419d3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/contacts?page=1&limit=15","description":"<p>Get list of contacts</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Query parameters\n$query_params = array(\n    'page' =&gt; 1,\n    'limit' =&gt; 15,\n);\n// Create an associative array containing the JSON post data\n$data = array(\n    'device_id' =&gt; 'c7276ae0-c306-4896-8fda-xxxxxxxxxxxx'\n);\n// Convert the array post data to a JSON string\n$jsonData = json_encode($data);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://chatalo.com/api/v1/contacts?' . http_build_query($query_params),\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'POST',\n  CURLOPT_POSTFIELDS =&gt; $jsonData,\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["contacts"],"host":["https://chatalo.com/api/v1"],"query":[{"description":{"content":"<p>Numeric</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Numeric, default is 15</p>\n","type":"text/plain"},"key":"limit","value":"15"}],"variable":[]}},"response":[{"id":"42da138a-8f1c-44b6-8f85-4d29b83d945b","name":"Get Contact List","originalRequest":{"method":"POST","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://chatalo.com/api/v1/contacts?page=1&limit=15","host":["https://chatalo.com/api/v1"],"path":["contacts"],"query":[{"key":"page","value":"1","description":"Numeric"},{"key":"limit","value":"15","description":"Numeric, default is 15"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Jul 2023 11:23:14 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"53"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"number\": \"628785827xxxx\",\n            \"name\": \"Arik\"\n        },\n        {\n            \"number\": \"6289541359xxxx\",\n            \"name\": \"Angga\"\n        },\n        {\n            \"number\": \"628232967xxxx\",\n            \"name\": \"Zumy\"\n        },\n        {\n            \"number\": \"628177289xxxx\",\n            \"name\": \"Miftah\"\n        },\n        {\n            \"number\": \"628127150xxxx\",\n            \"name\": \"Ramdani\"\n        },\n        {\n            \"number\": \"6281668xxxx\",\n            \"name\": \"Ibu Mardhiya\"\n        },\n        {\n            \"number\": \"628222199xxxx\",\n            \"name\": \"Miftahul Huda\"\n        },\n        {\n            \"number\": \"628132815xxxx\",\n            \"name\": \"Ellysia\"\n        },\n        {\n            \"number\": \"628121643xxxx\",\n            \"name\": \"Edo\"\n        },\n        {\n            \"number\": \"628123331xxxx\",\n            \"name\": \"Hendy\"\n        },\n        {\n            \"number\": \"628129227xxxx\",\n            \"name\": \"Fiyas\"\n        },\n        {\n            \"number\": \"628134538xxxx\",\n            \"name\": \"Fizza\"\n        },\n        {\n            \"number\": \"628233933xxxx\",\n            \"name\": \"Fani\"\n        },\n        {\n            \"number\": \"628127217xxxx\",\n            \"name\": \"Jeki\"\n        },\n        {\n            \"number\": \"628587588xxxx\",\n            \"name\": \"Burhan\"\n        }\n    ],\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\",\n        \"pagination\": {\n            \"current_page\": 1,\n            \"total\": 1896,\n            \"limit\": 15,\n            \"last_page\": 127\n        }\n    }\n}"}],"_postman_id":"eb986c61-f6c1-457d-aa9b-482cd1419d3a"},{"name":"Get Profile Picture","id":"5bbf76b8-bd20-4f8d-8c61-b35d2e2e65ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\",\n    \"number\": \"628177062xxxx\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/contacts/picture","description":"<p>Get someone's profile picture</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Create an associative array containing the JSON post data\n$data = array(\n    'device_id' =&gt; 'c7276ae0-c306-4896-8fda-xxxxxxxxxxxx',\n    'number' =&gt; '628177062xxxx'\n);\n// Convert the array post data to a JSON string\n$jsonData = json_encode($data);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://chatalo.com/api/v1/contacts/picture',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'POST',\n  CURLOPT_POSTFIELDS =&gt; $jsonData,\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["contacts","picture"],"host":["https://chatalo.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"ab6545f1-33e6-497b-83f3-b7ed6ad5da5a","name":"Get Profile Picture","originalRequest":{"method":"POST","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\",\n    \"number\": \"628177062xxxx\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/contacts/picture"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Jul 2023 16:07:22 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"number\": \"628177062xxxx\",\n        \"url\": \"WHATSAPP-PROFILE-PICTURE-URL\"\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"5bbf76b8-bd20-4f8d-8c61-b35d2e2e65ef"},{"name":"Check Number","id":"647311d6-3d31-41a3-ad87-d6334d57ad4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\",\n    \"number\": \"628177062xxxx\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/contacts/check","description":"<p>Check if number exists on WhatsApp or not</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Create an associative array containing the JSON post data\n$data = array(\n    'device_id' =&gt; 'c7276ae0-c306-4896-8fda-xxxxxxxxxxxx',\n    'number' =&gt; '628177062xxxx'\n);\n// Convert the array post data to a JSON string\n$jsonData = json_encode($data);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://chatalo.com/api/v1/contacts/check',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'POST',\n  CURLOPT_POSTFIELDS =&gt; $jsonData,\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["contacts","check"],"host":["https://chatalo.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"4c24b770-168f-49fb-88f9-88ef135b9266","name":"Check Number","originalRequest":{"method":"POST","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\",\n    \"number\": \"628177062xxxx\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/contacts/check"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Jul 2023 16:11:42 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"number\": \"628177062xxxx\",\n        \"exists\": true\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"647311d6-3d31-41a3-ad87-d6334d57ad4a"}],"id":"889e56f0-03f5-4786-9cd1-77a413909f2a","_postman_id":"889e56f0-03f5-4786-9cd1-77a413909f2a","description":""},{"name":"Group","item":[{"name":"Get Group List","id":"0e0bfc4b-42a9-4aa5-8394-69ad9eddfbcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/groups?page=1&limit=15","description":"<p>Get list of groups</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Query parameters\n$query_params = array(\n    'page' =&gt; 1,\n    'limit' =&gt; 15,\n);\n// Create an associative array containing the JSON post data\n$data = array(\n    'device_id' =&gt; 'c7276ae0-c306-4896-8fda-xxxxxxxxxxxx'\n);\n// Convert the array post data to a JSON string\n$jsonData = json_encode($data);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://chatalo.com/api/v1/groups?' . http_build_query($query_params),\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'POST',\n  CURLOPT_POSTFIELDS =&gt; $jsonData,\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["groups"],"host":["https://chatalo.com/api/v1"],"query":[{"description":{"content":"<p>Numeric</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Numeric, default is 15</p>\n","type":"text/plain"},"key":"limit","value":"15"}],"variable":[]}},"response":[{"id":"584b3b52-366f-4244-9769-1b8d835a23d4","name":"Get Group List","originalRequest":{"method":"POST","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://chatalo.com/api/v1/groups?page=1&limit=15","host":["https://chatalo.com/api/v1"],"path":["groups"],"query":[{"key":"page","value":"1","description":"Numeric"},{"key":"limit","value":"15","description":"Numeric, default is 15"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Jul 2023 16:30:53 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"628156875832-1503xxxxxx\",\n            \"name\": \"GROUP 1\",\n            \"participants\": 27\n        },\n        {\n            \"id\": \"120363028887xxxxxx\",\n            \"name\": \"GROUP 2\",\n            \"participants\": 548\n        },\n        {\n            \"id\": \"6281259414005-1569xxxxxx\",\n            \"name\": \"GROUP 3\",\n            \"participants\": 238\n        },\n        {\n            \"id\": \"120363047134xxxxxx\",\n            \"name\": \"GROUP 4\",\n            \"participants\": 746\n        },\n        {\n            \"id\": \"120363037968xxxxxx\",\n            \"name\": \"GROUP 5\",\n            \"participants\": 15\n        },\n        {\n            \"id\": \"6285747015011-1441xxxxxx\",\n            \"name\": \"GROUP 6\",\n            \"participants\": 163\n        },\n        {\n            \"id\": \"120363045904xxxxxx\",\n            \"name\": \"GROUP 7\",\n            \"participants\": 5\n        },\n        {\n            \"id\": \"6285747263108-1491xxxxxx\",\n            \"name\": \"GROUP 8\",\n            \"participants\": 48\n        },\n        {\n            \"id\": \"6281316024569-1633xxxxxx\",\n            \"name\": \"GROUP 9\",\n            \"participants\": 3\n        },\n        {\n            \"id\": \"6285693993527-1524xxxxxx\",\n            \"name\": \"GROUP 10\",\n            \"participants\": 244\n        },\n        {\n            \"id\": \"6289632745429-1499xxxxxx\",\n            \"name\": \"GROUP 11\",\n            \"participants\": 232\n        },\n        {\n            \"id\": \"6289696758999-1544xxxxxx\",\n            \"name\": \"GROUP 12\",\n            \"participants\": 22\n        },\n        {\n            \"id\": \"919811865050-1580xxxxxx\",\n            \"name\": \"GROUP 13\",\n            \"participants\": 202\n        },\n        {\n            \"id\": \"628562551617-1498xxxxxx\",\n            \"name\": \"GROUP 14\",\n            \"participants\": 10\n        },\n        {\n            \"id\": \"6289632745429-1507xxxxxx\",\n            \"name\": \"GROUP 15\",\n            \"participants\": 171\n        }\n    ],\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\",\n        \"pagination\": {\n            \"current_page\": 1,\n            \"total\": 206,\n            \"limit\": 15,\n            \"last_page\": 14\n        }\n    }\n}"}],"_postman_id":"0e0bfc4b-42a9-4aa5-8394-69ad9eddfbcb"},{"name":"Get Group Detail","id":"d9f0aa10-8346-4118-ba54-41734dee5b32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\",\n    \"group_id\": \"120363037968xxxxxx\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/groups/detail","description":"<p>Get group details and all participant list in group</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Create an associative array containing the JSON post data\n$data = array(\n    'device_id' =&gt; 'c7276ae0-c306-4896-8fda-xxxxxxxxxxxx',\n    'group_id' =&gt; '120363037968xxxxxx'\n);\n// Convert the array post data to a JSON string\n$jsonData = json_encode($data);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://chatalo.com/api/v1/groups/detail',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'POST',\n  CURLOPT_POSTFIELDS =&gt; $jsonData,\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["groups","detail"],"host":["https://chatalo.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"4bdc769d-45c5-4ae5-b2c3-fbac4a4c69da","name":"Get Group Detail","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\",\n    \"group_id\": \"120363037968xxxxxx\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/groups/detail"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 25 Jul 2023 01:16:28 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"120363037968xxxxxx\",\n        \"name\": \"GROUP 5\",\n        \"desc\": null,\n        \"owner\": \"628233933xxxx\",\n        \"creation\": 1642144181,\n        \"restrict\": false,\n        \"announce\": false,\n        \"size\": 15,\n        \"participants\": [\n            {\n                \"number\": \"628121643xxxx\",\n                \"admin\": null\n            },\n            {\n                \"number\": \"628127150xxxx\",\n                \"admin\": null\n            },\n            {\n                \"number\": \"628132333xxxx\",\n                \"admin\": null\n            },\n            {\n                \"number\": \"628219355xxxx\",\n                \"admin\": null\n            },\n            {\n                \"number\": \"628225411xxxx\",\n                \"admin\": null\n            },\n            {\n                \"number\": \"628233933xxxx\",\n                \"admin\": \"superadmin\"\n            },\n            {\n                \"number\": \"628238730xxxx\",\n                \"admin\": null\n            },\n            {\n                \"number\": \"628516110xxxx\",\n                \"admin\": null\n            },\n            {\n                \"number\": \"628517163xxxx\",\n                \"admin\": null\n            },\n            {\n                \"number\": \"628522984xxxx\",\n                \"admin\": null\n            },\n            {\n                \"number\": \"628529885xxxx\",\n                \"admin\": null\n            },\n            {\n                \"number\": \"628785401xxxx\",\n                \"admin\": null\n            },\n            {\n                \"number\": \"628950596xxxx\",\n                \"admin\": null\n            },\n            {\n                \"number\": \"628951276xxxx\",\n                \"admin\": null\n            },\n            {\n                \"number\": \"62897020xxxx\",\n                \"admin\": null\n            }\n        ]\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"d9f0aa10-8346-4118-ba54-41734dee5b32"}],"id":"d28cfc47-065c-4ecb-a7d3-539779cb049b","_postman_id":"d28cfc47-065c-4ecb-a7d3-539779cb049b","description":""},{"name":"Message","item":[{"name":"Personal","item":[{"name":"Send Text Message","id":"0d84329c-4001-4834-a45a-348d27c96f18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\",\n    \"type\": \"text\",\n    \"number\": \"628897509xxxx\",\n    \"message\": \"YOUR-MESSAGE\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/messages","description":"<p>Send text message only to any WhatsApp number</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Create an associative array containing the JSON post data\n$data = array(\n    'device_id' =&gt; 'c7276ae0-c306-4896-8fda-xxxxxxxxxxxx',\n    'type' =&gt; 'text',\n    'number' =&gt; '628177062xxxx',\n    'message' =&gt; 'YOUR-MESSAGE'\n);\n// Convert the array post data to a JSON string\n$jsonData = json_encode($data);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://chatalo.com/api/v1/messages',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'POST',\n  CURLOPT_POSTFIELDS =&gt; $jsonData,\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["messages"],"host":["https://chatalo.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"8559ab46-c2ce-4196-846e-2b6d56bdb128","name":"Send Text Message","originalRequest":{"method":"POST","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\",\n    \"type\": \"text\",\n    \"number\": \"628897509xxxx\",\n    \"message\": \"YOUR-MESSAGE\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/messages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 21 Jul 2023 01:51:51 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"is_sent\": true,\n        \"number\": \"628897509xxxx\",\n        \"url\": null,\n        \"type\": \"text\"\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"0d84329c-4001-4834-a45a-348d27c96f18"},{"name":"Send Caption Message","id":"b39c6594-d873-4a40-b92c-0ea0148b4ca3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\",\n    \"type\": \"caption\",\n    \"number\": \"628897509xxxx\",\n    \"message\": \"YOUR-MESSAGE\",\n    \"url\": \"https://i.imgflip.com/2zxmg9.jpg\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/messages","description":"<p>Send text message (caption) with file to any WhatsApp number</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Create an associative array containing the JSON post data\n$data = array(\n    'device_id' =&gt; 'c7276ae0-c306-4896-8fda-xxxxxxxxxxxx',\n    'type' =&gt; 'caption',\n    'number' =&gt; '628177062xxxx',\n    'message' =&gt; 'YOUR-MESSAGE',\n    'url' =&gt; 'https://i.imgflip.com/2zxmg9.jpg',\n);\n// Convert the array post data to a JSON string\n$jsonData = json_encode($data);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://chatalo.com/api/v1/messages',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'POST',\n  CURLOPT_POSTFIELDS =&gt; $jsonData,\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["messages"],"host":["https://chatalo.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"80a088a5-e8ec-41c7-8687-d656946d1848","name":"Send Caption Message","originalRequest":{"method":"POST","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\",\n    \"type\": \"caption\",\n    \"number\": \"628897509xxxx\",\n    \"message\": \"YOUR-MESSAGE\",\n    \"url\": \"https://i.imgflip.com/2zxmg9.jpg\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/messages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 21 Jul 2023 01:53:15 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"is_sent\": true,\n        \"number\": \"628897509xxxx\",\n        \"url\": \"https://i.imgflip.com/2zxmg9.jpg\",\n        \"type\": \"caption\"\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"b39c6594-d873-4a40-b92c-0ea0148b4ca3"},{"name":"Send File","id":"9b071e2d-6cef-47b3-934a-c54945792ebe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\",\n    \"type\": \"file\",\n    \"number\": \"628897509xxxx\",\n    \"url\": \"https://i.imgflip.com/2zxmg9.jpg\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/messages","description":"<p>Send file only to any WhatsApp number</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Create an associative array containing the JSON post data\n$data = array(\n    'device_id' =&gt; 'c7276ae0-c306-4896-8fda-xxxxxxxxxxxx',\n    'type' =&gt; 'file',\n    'number' =&gt; '628177062xxxx',\n    'url' =&gt; 'https://i.imgflip.com/2zxmg9.jpg',\n);\n// Convert the array post data to a JSON string\n$jsonData = json_encode($data);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://chatalo.com/api/v1/messages',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'POST',\n  CURLOPT_POSTFIELDS =&gt; $jsonData,\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["messages"],"host":["https://chatalo.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"b7ad43fc-00ce-427b-aa19-14828d6f8227","name":"Send File","originalRequest":{"method":"POST","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\",\n    \"type\": \"file\",\n    \"number\": \"628897509xxxx\",\n    \"url\": \"https://i.imgflip.com/2zxmg9.jpg\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/messages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 21 Jul 2023 01:54:32 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"is_sent\": true,\n        \"number\": \"628897509xxxx\",\n        \"url\": \"https://i.imgflip.com/2zxmg9.jpg\",\n        \"type\": \"file\"\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"9b071e2d-6cef-47b3-934a-c54945792ebe"}],"id":"efe7ce70-5c31-4993-9b66-923e2f15691c","_postman_id":"efe7ce70-5c31-4993-9b66-923e2f15691c","description":""},{"name":"Group","item":[{"name":"Send Text Message","id":"5c28e318-62fd-406f-91bc-165e4572ced6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\",\n    \"type\": \"text\",\n    \"group_id\": \"120363037968xxxxxx\",\n    \"message\": \"YOUR-MESSAGE\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/messages/group","description":"<p>Send text message only to any WhatsApp group</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Create an associative array containing the JSON post data\n$data = array(\n    'device_id' =&gt; 'c7276ae0-c306-4896-8fda-xxxxxxxxxxxx',\n    'type' =&gt; 'text',\n    'group_id' =&gt; '120363037968xxxxxx',\n    'message' =&gt; 'YOUR-MESSAGE'\n);\n// Convert the array post data to a JSON string\n$jsonData = json_encode($data);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://chatalo.com/api/v1/messages/group',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'POST',\n  CURLOPT_POSTFIELDS =&gt; $jsonData,\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["messages","group"],"host":["https://chatalo.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"b90ccc7d-cced-4d1e-accc-430c1b8fd2fe","name":"Send Text Message","originalRequest":{"method":"POST","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\",\n    \"type\": \"text\",\n    \"group_id\": \"120363037968xxxxxx\",\n    \"message\": \"YOUR-MESSAGE\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/messages/group"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 21 Jul 2023 02:15:31 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"is_sent\": true,\n        \"group_id\": \"120363037968xxxxxx\",\n        \"url\": null,\n        \"type\": \"text\"\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"5c28e318-62fd-406f-91bc-165e4572ced6"},{"name":"Send Caption Message","id":"750a729c-5bbf-440f-b9ee-1a3d0ec15aea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\",\n    \"type\": \"caption\",\n    \"group_id\": \"120363037968xxxxxx\",\n    \"message\": \"YOUR-MESSAGE\",\n    \"url\": \"https://i.imgflip.com/2zxmg9.jpg\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/messages/group","description":"<p>Send text message (caption) with file to any WhatsApp group</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Create an associative array containing the JSON post data\n$data = array(\n    'device_id' =&gt; 'c7276ae0-c306-4896-8fda-xxxxxxxxxxxx',\n    'type' =&gt; 'caption',\n    'group_id' =&gt; '120363037968xxxxxx',\n    'message' =&gt; 'YOUR-MESSAGE',\n    'url' =&gt; 'https://i.imgflip.com/2zxmg9.jpg'\n);\n// Convert the array post data to a JSON string\n$jsonData = json_encode($data);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://chatalo.com/api/v1/messages/group',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'POST',\n  CURLOPT_POSTFIELDS =&gt; $jsonData,\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["messages","group"],"host":["https://chatalo.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"a9bf8315-2c9e-43da-b53d-5bfec565e040","name":"Send Caption Message","originalRequest":{"method":"POST","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\",\n    \"type\": \"caption\",\n    \"group_id\": \"120363037968xxxxxx\",\n    \"message\": \"YOUR-MESSAGE\",\n    \"url\": \"https://i.imgflip.com/2zxmg9.jpg\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/messages/group"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 21 Jul 2023 02:16:21 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"is_sent\": true,\n        \"group_id\": \"120363037968xxxxxx\",\n        \"url\": \"https://i.imgflip.com/2zxmg9.jpg\",\n        \"type\": \"caption\"\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"750a729c-5bbf-440f-b9ee-1a3d0ec15aea"},{"name":"Send File","id":"6bacf1cc-da62-40e1-838a-682d1350a254","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\",\n    \"type\": \"file\",\n    \"group_id\": \"120363037968xxxxxx\",\n    \"url\": \"https://i.imgflip.com/2zxmg9.jpg\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/messages/group","description":"<p>Send file only to any WhatsApp group</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Create an associative array containing the JSON post data\n$data = array(\n    'device_id' =&gt; 'c7276ae0-c306-4896-8fda-xxxxxxxxxxxx',\n    'type' =&gt; 'file',\n    'group_id' =&gt; '120363037968xxxxxx',\n    'url' =&gt; 'https://i.imgflip.com/2zxmg9.jpg'\n);\n// Convert the array post data to a JSON string\n$jsonData = json_encode($data);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://chatalo.com/api/v1/messages/group',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'POST',\n  CURLOPT_POSTFIELDS =&gt; $jsonData,\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["messages","group"],"host":["https://chatalo.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"0aa926ed-98b6-42b1-ac79-89b59206dd96","name":"Send File","originalRequest":{"method":"POST","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\",\n    \"type\": \"file\",\n    \"group_id\": \"120363037968xxxxxx\",\n    \"url\": \"https://i.imgflip.com/2zxmg9.jpg\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/messages/group"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 21 Jul 2023 02:17:22 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"is_sent\": true,\n        \"group_id\": \"120363037968xxxxxx\",\n        \"url\": \"https://i.imgflip.com/2zxmg9.jpg\",\n        \"type\": \"file\"\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"6bacf1cc-da62-40e1-838a-682d1350a254"}],"id":"7ba962f1-923c-448d-9583-d03ba5a43284","_postman_id":"7ba962f1-923c-448d-9583-d03ba5a43284","description":""},{"name":"Download Message Media","id":"19d3d3f8-559e-4205-8fe3-92d24819319d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxxx\",\n    \"file_encoded\": \"eyJpdiI6ImV3d...\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/messages/download","description":"<p>Download media from a message. You can get incoming message information through Webhook. Return the media with its associated content type on success</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Create an associative array containing the JSON post data\n$data = array(\n    'device_id' =&gt; 'c7276ae0-c306-4896-8fda-xxxxxxxxxxxx',\n    'file_encoded' =&gt; 'eyJpdiI6ImV3d...'\n);\n// Convert the array post data to a JSON string\n$jsonData = json_encode($data);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://chatalo.com/api/v1/messages/download',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'POST',\n  CURLOPT_POSTFIELDS =&gt; $jsonData,\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["messages","download"],"host":["https://chatalo.com/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"19d3d3f8-559e-4205-8fe3-92d24819319d"}],"id":"e570cdda-b4aa-42d5-83ad-d5268b6c5b1b","_postman_id":"e570cdda-b4aa-42d5-83ad-d5268b6c5b1b","description":""},{"name":"Webhook","item":[{"name":"Get Webhook","id":"498c46b7-ecc3-4014-a427-09f2bb5a69f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"url":"https://chatalo.com/api/v1/webhook","description":"<p>Get current webhook url</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://chatalo.com/api/v1/webhook',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'GET',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["webhook"],"host":["https://chatalo.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"7678c0a3-3c4c-4112-a783-a99547a23614","name":"Get Webhook","originalRequest":{"method":"GET","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"url":"https://chatalo.com/api/v1/webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 21 Jul 2023 03:05:14 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"url\": \"YOUR-WEBHOOK-URL\"\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"498c46b7-ecc3-4014-a427-09f2bb5a69f9"},{"name":"Set Webhook","id":"32f7e8fb-d7ca-4917-b297-625b93bba662","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"url\": \"YOUR-WEBHOOK-URL\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/setWebhook","description":"<p>Set webhook url to receive any WhatsApp incoming message and additional data</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Create an associative array containing the JSON post data\n$data = array(\n    'url' =&gt; 'YOUR-WEBHOOK-URL',\n);\n// Convert the array post data to a JSON string\n$jsonData = json_encode($data);\n// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://chatalo.com/api/v1/setWebhook',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'POST',\n  CURLOPT_POSTFIELDS =&gt; $jsonData,\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["setWebhook"],"host":["https://chatalo.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"05ae1b22-5dbb-4eb6-b20f-6f62b6892d85","name":"Set Webhook","originalRequest":{"method":"POST","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"url\": \"YOUR-WEBHOOK-URL\"\n}","options":{"raw":{"language":"json"}}},"url":"https://chatalo.com/api/v1/setWebhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 21 Jul 2023 03:03:27 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"url\": \"YOUR-WEBHOOK-URL\"\n    },\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"32f7e8fb-d7ca-4917-b297-625b93bba662"},{"name":"Unset Webhook","id":"942442eb-41f5-4c6d-9f74-8971016a3fd4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"url":"https://chatalo.com/api/v1/unsetWebhook","description":"<p>Removes the Webhook that has been set</p>\n<p>PHP Script Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Initialize cURL session\n$curl = curl_init();\n// Set cURL options\ncurl_setopt_array($curl, array(\n  CURLOPT_URL =&gt; 'https://chatalo.com/api/v1/unsetWebhook',\n  CURLOPT_RETURNTRANSFER =&gt; true,\n  CURLOPT_ENCODING =&gt; '',\n  CURLOPT_MAXREDIRS =&gt; 10,\n  CURLOPT_TIMEOUT =&gt; 0,\n  CURLOPT_FOLLOWLOCATION =&gt; true,\n  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST =&gt; 'DELETE',\n  CURLOPT_HTTPHEADER =&gt; array(\n    'Content-Type: application/json',\n    'X-Public-Key: YOUR-PUBLIC-KEY',\n    'X-Secret-Key: YOUR-SECRET-KEY'\n  ),\n));\n// Execute cURL request\n$response = curl_exec($curl);\n// Close cURL session\ncurl_close($curl);\n// Show the response\necho $response;\n\n</code></pre>\n","urlObject":{"path":["unsetWebhook"],"host":["https://chatalo.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"d59197f0-4cc9-4715-af18-12b949294585","name":"Unset Webhook","originalRequest":{"method":"DELETE","header":[{"key":"X-Public-Key","value":"YOUR-PUBLIC-KEY","type":"text"},{"key":"X-Secret-Key","value":"YOUR-SECRET-KEY","type":"text"}],"url":"https://chatalo.com/api/v1/unsetWebhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 25 Jul 2023 02:10:21 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [],\n    \"meta\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"}],"_postman_id":"942442eb-41f5-4c6d-9f74-8971016a3fd4"},{"name":"Example Webhook Request","id":"b4a9076a-5ef3-435e-874c-e50562ccadbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"device_id\": \"c7276ae0-c306-4896-8fda-xxxxxxxxxxx\",\n  \"chat_id\": \"D073D8Bxxxx\",\n  \"sender\": {\n    \"name\": \"SENDER-NAME\",\n    \"number\": \"628897509xxxx\",\n    \"in_group\": false,\n    \"group_id\": null\n  },\n  \"from_me\": false,\n  \"is_forwarded\": false,\n  \"is_sticker\": false,\n  \"timestamp\": 1689930829,\n  \"broadcast\": false,\n  \"message\": false,\n  \"has_media\": true,\n  \"media_info\": {\n    \"mimetype\": \"image\\\\/jpeg\",\n    \"file_encoded\": \"eyJpdiI6ImV3d...\"\n  },\n  \"location_attached\": {\n    \"latitude\": null,\n    \"longitude\": null\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://domain.tld/webhook","urlObject":{"protocol":"https","path":["webhook"],"host":["domain","tld"],"query":[],"variable":[]}},"response":[],"_postman_id":"b4a9076a-5ef3-435e-874c-e50562ccadbd"}],"id":"c4a87d7d-0aee-4406-b006-5b9018e2e5b3","_postman_id":"c4a87d7d-0aee-4406-b006-5b9018e2e5b3","description":""}],"event":[{"listen":"prerequest","script":{"id":"1f0ff649-eb1e-4076-9d42-987d7d990ebf","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b440ff94-89ac-48bd-9f91-c037954cf455","type":"text/javascript","exec":[""]}}],"variable":[{"key":"API_URL","value":"https://chatalo.com/api/v1","type":"string"},{"key":"PUBLIC_KEY","value":"YOUR-PUBLIC-KEY","type":"string"},{"key":"SECRET_KEY","value":"YOUR-SECRET-KEY","type":"string"}]}