{"info":{"_postman_id":"de3dad6d-6c64-4310-87ed-a9d226f9f4d5","name":"Messengers API[public]","description":"<html><head></head><body><h2 id=\"messenger-converter-api--public-webhook-documentation\">Messenger Converter API – Public Webhook Documentation</h2>\n<p>This documentation provides details about the public version of the Messenger Converter API and the structure of incoming webhooks.</p>\n<p>Webhooks are triggered by events such as incoming messages, delivery statuses, reactions, shared media, and more. Each event includes metadata about the source platform, message content, sender, and recipient.</p>\n<h3 id=\"🔐-authentication\">🔐 Authentication</h3>\n<p>To make requests and receive webhooks, you <strong>must be authenticated</strong> using:</p>\n<ul>\n<li><p><code>login</code> – your account identifier</p>\n</li>\n<li><p><code>token</code> – your secure access token</p>\n</li>\n</ul>\n<p>These credentials must be included in every request for proper authorization.</p>\n<h3 id=\"📡-supported-sources\">📡 Supported Sources</h3>\n<p>The API currently supports the following messenger platforms:</p>\n<ul>\n<li><p><code>whatsapp</code></p>\n</li>\n<li><p><code>telegram</code></p>\n</li>\n<li><p><code>sms</code></p>\n</li>\n<li><p><code>telegram-bot</code></p>\n</li>\n<li><p><code>viber-bot</code></p>\n</li>\n<li><p><code>vk</code></p>\n</li>\n<li><p><code>max</code></p>\n</li>\n<li><p><code>max-bot</code></p>\n</li>\n<li><p><code>instagram</code></p>\n</li>\n<li><p><code>fbm</code></p>\n</li>\n<li><p><code>waba</code></p>\n</li>\n<li><p><code>avito</code></p>\n</li>\n</ul>\n<h3 id=\"☎️-phone-number-format\">☎️ Phone Number Format</h3>\n<p>Phone numbers must be provided in the <strong>international E.164 format</strong>, without any symbols, spaces, or special characters.</p>\n<p>✅ Correct format example: <code>12345678901</code><br>❌ Incorrect examples: <code>+12 (345) 678-901</code>, <code>+12-345-678-901</code>, <code>0123456789</code></p>\n<hr>\n<p>Below you will find a detailed list of supported webhook types, payload examples, and content structures.</p>\n<hr>\n<h4 id=\"📩-hook_type-message\">📩 <code>hook_type: message</code></h4>\n<p>Used for incoming/outgoing messages.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"from\": \"&lt;sender_id&gt;\",\n  \"to\": \"&lt;receiver_id&gt;\",\n  \"time\": &lt;timestamp&gt;,\n  \"text\": \"&lt;text_message_or_null&gt;\",\n  \"source\": \"whatsapp\",\n  \"thread\": \"&lt;chat_thread_id&gt;\",\n  \"item\": \"&lt;message_id&gt;\",\n  \"outgoing\": &lt;true_or_false&gt;,\n  \"replyTo\": \"&lt;original_message_id_or_null&gt;\",\n  \"content\": [],\n  \"hook_type\": \"message\"\n}\n\n</code></pre>\n<hr>\n<h4 id=\"🔄-hook_type-message_status\">🔄 <code>hook_type: message_status</code></h4>\n<p>Indicates a change in message status (delivered, read, server ack, etc.).</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"from\": \"&lt;sender_id&gt;\",\n  \"to\": \"&lt;receiver_id&gt;\",\n  \"time\": &lt;timestamp&gt;,\n  \"text\": null,\n  \"source\": \"whatsapp\",\n  \"thread\": \"&lt;chat_thread_id&gt;\",\n  \"item\": \"&lt;message_id&gt;\",\n  \"outgoing\": true,\n  \"replyTo\": null,\n  \"content\": [\n    { \"type\": \"server\" } // or \"delivered\", etc.\n  ],\n  \"hook_type\": \"message_status\"\n}\n\n</code></pre>\n<hr>\n<h4 id=\"💬-hook_type-add_message_reaction\">💬 <code>hook_type: add_message_reaction</code></h4>\n<p>Triggered when a user reacts to a message.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"from\": \"&lt;user_id&gt;\",\n  \"to\": \"&lt;user_id&gt;\",\n  \"time\": &lt;timestamp&gt;,\n  \"text\": null,\n  \"source\": \"whatsapp\",\n  \"thread\": \"&lt;chat_thread_id&gt;\",\n  \"item\": \"&lt;message_id&gt;\",\n  \"outgoing\": false,\n  \"content\": [\n    { \"type\": \"reaction\", \"src\": \"👍\" }\n  ],\n  \"replyTo\": \"&lt;original_message_id&gt;\",\n  \"hook_type\": \"add_message_reaction\"\n}\n\n</code></pre>\n<hr>\n<h4 id=\"🖼️-type-image\">🖼️ <code>type: image</code></h4>\n<p>Image content in message.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"image\",\n  \"src\": \"&lt;image_url&gt;\"\n}\n\n</code></pre>\n<hr>\n<p><code>type: call</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n\"type\": \"call\",\n\"src\": \"\" //duration of call (can be empty)\n}\n\n</code></pre>\n<h4 id=\"📎-type-file\">📎 <code>type: file</code></h4>\n<p>File (e.g. ZIP, PDF) attachment.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"file\",\n  \"src\": \"&lt;file_url&gt;\"\n}\n\n</code></pre>\n<hr>\n<h4 id=\"📍-type-geo\">📍 <code>type: geo</code></h4>\n<p>Geolocation shared via message.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"geo\",\n  \"src\": \"{\\\"latitude\\\":52.22709274291992,\\\"longitude\\\":20.95680809020996}\"\n}\n\n</code></pre>\n<hr>\n<h4 id=\"👤-type-contact\">👤 <code>type: contact</code></h4>\n<p>Single contact shared.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"contact\",\n  \"src\": \"{\\\"firstName\\\":\\\"Contact Name\\\",\\\"phone\\\":\\\"&lt;phone_number&gt;\\\"}\"\n}\n\n</code></pre>\n<hr>\n<h4 id=\"👥-type-multi-contact\">👥 <code>type: multi-contact</code></h4>\n<p>Multiple contacts shared.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"multi-contact\",\n  \"src\": \"[{\\\"firstName\\\":\\\"Contact A\\\",\\\"phone\\\":\\\"&lt;phone_number&gt;\\\"}, {...}]\"\n}\n\n</code></pre>\n<hr>\n<h4 id=\"📅-type-scheduled-event\">📅 <code>type: scheduled-event</code></h4>\n<p>An event with a date/time shared in chat.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"scheduled-event\",\n  \"src\": \"{\\\"title\\\":\\\"Event Title\\\",\\\"description\\\":\\\"Event details\\\",\\\"start\\\":&lt;timestamp&gt;}\"\n}\n\n</code></pre>\n<hr>\n<h3 id=\"📬-message-status-types-hook_type-message_status\">📬 Message Status Types (<code>hook_type: message_status</code>)</h3>\n<p>The <code>content</code> array in <code>message_status</code> webhooks contains objects describing the current state of a message.<br>Each object includes a <code>type</code>, which represents the delivery or read status.</p>\n<p>Below are the possible <code>type</code> values and their meanings:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>server</code></td>\n<td>Message was received by the server</td>\n</tr>\n<tr>\n<td><code>delivered</code></td>\n<td>Message was delivered to the device</td>\n</tr>\n<tr>\n<td><code>has_seen</code></td>\n<td>Message was read or played by recipient</td>\n</tr>\n<tr>\n<td><code>pending</code></td>\n<td>Message has not yet been delivered</td>\n</tr>\n<tr>\n<td><code>errored</code></td>\n<td>Delivery failed due to an error</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>ℹ️ These values are derived from internal WhatsApp <code>MessageAck</code> statuses and normalized for webhook consumption. </p>\n</blockquote>\n<hr>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"5389397","collectionId":"de3dad6d-6c64-4310-87ed-a9d226f9f4d5","publishedId":"2sA3BuVoNW","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-04-28T13:23:32.000Z"},"item":[{"name":"getInfo","event":[{"listen":"test","script":{"id":"d047a064-a171-47d5-a082-2bd4f239da73","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"c2acea86-d5ba-4766-af67-29a48e6db72c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"source\": \"\",\n    \"token\": \"\",\n    \"login\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"/getInfo","description":"<p><strong>Description:</strong><br />Retrieves detailed information about the current state and configuration of the connected account. Useful for checking whether the account is active, authenticated, and what settings are applied.</p>\n<p><strong>What it returns:</strong></p>\n<ul>\n<li><p>Current connection status (<code>status</code>)</p>\n</li>\n<li><p>Activation state (<code>activated</code>, <code>state</code>)</p>\n</li>\n<li><p>Hook configuration (e.g. <code>webhookUrls</code>)</p>\n</li>\n<li><p>Authentication method (<code>qr</code> or <code>code</code>)</p>\n</li>\n<li><p>Additional metadata and flags (e.g. <code>isBeta</code>, <code>takeover</code>, etc.)</p>\n</li>\n</ul>\n<p><strong>Required Authentication:</strong><br />✅ <code>login</code> and <code>token</code> headers required.</p>\n<p><strong>Response Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"state\": true,\n  \"activated\": true,\n  \"status\": \"ok\",\n  \"webhookUrls\": [\"https://your-webhook-url.com\"],\n  \"apiV\": \"stable/sXX\",\n  \"additional\": {\n    \"isBeta\": false,\n    \"config\": {\n      \"services\": {\n        \"authMethod\": \"qr\"\n      }\n    }\n  },\n  ...\n}\n\n</code></pre>\n<hr />\n<h3 id=\"whatsapp-connection-statuses-step\">WhatsApp connection statuses <code>step</code></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Значение (<code>value</code>)</th>\n<th>Сообщение (<code>message</code>)</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>0</code></td>\n<td>Account just started to start</td>\n</tr>\n<tr>\n<td><code>0.1</code></td>\n<td>Account force stopping</td>\n</tr>\n<tr>\n<td><code>0.2</code></td>\n<td>Account stopping</td>\n</tr>\n<tr>\n<td><code>1.5</code></td>\n<td>Network error</td>\n</tr>\n<tr>\n<td><code>2.0</code></td>\n<td>False session</td>\n</tr>\n<tr>\n<td><code>2.2</code></td>\n<td>QR code received</td>\n</tr>\n<tr>\n<td><code>2.22</code></td>\n<td>Auth code received</td>\n</tr>\n<tr>\n<td><code>2.3</code></td>\n<td>Can not update QR</td>\n</tr>\n<tr>\n<td><code>2.33</code></td>\n<td>Can not update auth code</td>\n</tr>\n<tr>\n<td><code>2.5</code></td>\n<td>Another error</td>\n</tr>\n<tr>\n<td><code>3.0</code></td>\n<td>Connection with phone was timeouted and will be retried in 20 seconds (LEGAGY)</td>\n</tr>\n<tr>\n<td><code>3.7</code></td>\n<td>Trying to run two Whatsapp instances (LEGAGY)</td>\n</tr>\n<tr>\n<td><code>3.9</code></td>\n<td>Trying to reconnect with phone (LEGAGY)</td>\n</tr>\n<tr>\n<td><code>4</code></td>\n<td>Loading screen <em>(доп. поле:</em> <code>_percent_</code><em>)</em></td>\n</tr>\n<tr>\n<td><code>5</code></td>\n<td>Account started successfully</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"telegram-connection-statuses-step\">Telegram connection statuses <code>step</code></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Значение (<code>value</code>)</th>\n<th>Сообщение (<code>message</code>)</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>0</code></td>\n<td>Account just started to start</td>\n</tr>\n<tr>\n<td><code>0.1</code></td>\n<td>Account force stopping</td>\n</tr>\n<tr>\n<td><code>0.2</code></td>\n<td>Account stopping</td>\n</tr>\n<tr>\n<td><code>1.5</code></td>\n<td>Network error</td>\n</tr>\n<tr>\n<td><code>1.6</code></td>\n<td>Banned phone number</td>\n</tr>\n<tr>\n<td><code>1.9</code></td>\n<td>Invalid phone number</td>\n</tr>\n<tr>\n<td><code>2.1</code></td>\n<td>This account needs 2FA solving, API Docs 2.1</td>\n</tr>\n<tr>\n<td><code>2.2</code></td>\n<td>QR code received</td>\n</tr>\n<tr>\n<td><code>2.25</code></td>\n<td>This account needs challenge solving, API Docs 2.2</td>\n</tr>\n<tr>\n<td><code>2.3</code></td>\n<td>Can not update QR</td>\n</tr>\n<tr>\n<td><code>2.35</code></td>\n<td>Too many auth attempts</td>\n</tr>\n<tr>\n<td><code>2.5</code></td>\n<td>Another error during account launch</td>\n</tr>\n<tr>\n<td><code>5</code></td>\n<td>Account started successfully &amp; realtime init done</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"sms-api-connection-statuses-step\">SMS API connection statuses <code>step</code></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Значение (<code>value</code>)</th>\n<th>Сообщение (<code>message</code>)</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>5</code></td>\n<td>Account started successfully</td>\n</tr>\n<tr>\n<td><code>2.2</code></td>\n<td>Mobile app is not connected</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["getInfo"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"eee920ab-67dc-42bd-9927-73425f3a737b","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"source\": \"\",\n    \"token\": \"\",\n    \"login\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"/getInfo"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 08 Nov 2024 10:22:39 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"36e-NB54pzy9rIXw/LJD4ncAyps9IP0\""},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=tiTqdxZviX4vaQFNjN9V24ie%2BSF0z6FXBq%2BGOfEEE6O6mxN2M4LrwEvpCREFiWgMm7XRu%2FD3Ykm9wTVmicf%2Fk6S10bYrtWS1szUxKeZGmxdK3UJ5H9Ddy6nqpMCgtSdmwtqYC0aZ4sNBQIpaTfYmDA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8df4d7d46ee6059d-IAD"},{"key":"Content-Encoding","value":"gzip"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=2070&sent=5&recv=6&lost=0&retrans=0&sent_bytes=1529&recv_bytes=858&delivery_rate=2188413&cwnd=211&unsent_bytes=0&cid=0000000000000000&ts=0&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n  \"step\": null,\n  \"state\": false,\n  \"webhookUrls\": [\n    \"https://your-webhook-url.com\"\n  ],\n  \"activated\": false,\n  \"defaultState\": false,\n  \"apiV\": \"stable/sXX\",\n  \"additional\": {\n    \"isBeta\": true,\n    \"_id\": \"<hidden>\",\n    \"config\": {\n      \"_id\": \"<hidden>\",\n      \"services\": {\n        \"outgoingOnlyHook\": false,\n        \"authMethod\": \"qr\",\n        \"_id\": \"<hidden>\",\n        \"stateHook\": false\n      },\n      \"conflict\": {\n        \"_id\": \"<hidden>\",\n        \"takeover\": false,\n        \"takeoverTimeoutMs\": 10000\n      },\n      \"authPhone\": null\n    }\n  },\n  \"_id\": \"<hidden>\",\n  \"owner\": \"\",\n  \"login\": \"\",\n  \"proxyString\": \"\",\n  \"webhookUrl\": null,\n  \"addedTime\": 1698663744088,\n  \"__v\": 0,\n  \"lastAuthorizedAt\": 1715693764960,\n  \"status\": \"ok\",\n  \"uuid\": \"<uuid-hidden>\"\n}"},{"id":"f4c7e1d1-6b00-4ded-a3f6-80e840458d81","name":"error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"source\": \"\",\n    \"token\": \"\",\n    \"login\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"/getInfo"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 08 Nov 2024 10:22:19 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"36-Ziu29uvmJtaEBG4QsSpBS98vW9A\""},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=FuF5IRH1bhLpYGN3XlaL%2BChodHvK%2BPSG7yS9%2Bvt08XVix984wjDmZC3NVjq2q3wsInyu45n5%2FkXM78ipHGP0CWmX%2FQMfjKQWOpUc6FzEPUV3kmls3rMALkZ2ZTbNluylI2RVx5TgG%2F%2BKZAaWlW4u%2Fw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8df4d75a1958059d-IAD"},{"key":"Content-Encoding","value":"gzip"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=2103&sent=1&recv=3&lost=0&retrans=0&sent_bytes=0&recv_bytes=441&delivery_rate=0&cwnd=208&unsent_bytes=0&cid=0000000000000000&ts=0&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"message\": \"Access denied\"\n    }\n}"}],"_postman_id":"c2acea86-d5ba-4766-af67-29a48e6db72c"},{"name":"getInfoByToken","id":"e0b586b6-abf3-44af-9214-2efb46cdc1d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"source\": \"\",\r\n    \"token\": \"\",\r\n    \"skipDetails\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"/getInfoByToken","description":"<p><strong>Description:</strong><br />Returns information about <strong>all accounts</strong> connected under the provided <code>token</code>.<br />The response includes an array of objects, each structured similarly to the <code>/getInfo</code> response for an individual account.</p>\n<p><strong>Use Case:</strong><br />Useful when managing multiple messenger accounts under the same token and you want to fetch their statuses and settings in bulk.</p>\n<p><strong>Request Body:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{ \n  \"source\": \"whatsapp\",\n  \"token\": \"your_api_token\"\n}\n\n</code></pre>\n<p><strong>Response Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"login\": \"account_1\",\n    \"state\": true,\n    \"activated\": true,\n    \"status\": \"ok\",\n    ...\n  },\n  {\n    \"login\": \"account_2\",\n    \"state\": false,\n    \"activated\": false,\n    \"status\": \"ok\",\n    ...\n  }\n]\n\n</code></pre>\n<hr />\n","urlObject":{"path":["getInfoByToken"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"42259aed-4e94-41fc-9a37-11e4a7c432d3","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"source\": \"\",\r\n    \"token\": \"\",\r\n    \"skipDetails\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"/getInfoByToken"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 08 Nov 2024 10:30:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"Expect-CT","value":"max-age=0"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"3dd-pamA+wyKT+dhIVsiaKkiNCjGVqE\""},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=okFEbfSAwmV1%2Bjrm2Ux7Tffxggnwuv%2BdAcLGv0NF1JBkmvAaGsPn%2FyzHJEtOx%2F%2Bca4ltOJAImCvXsYlQ9rVKatIZ1wpBxDWX9pq14ktSUNsCjVp0JBeBNgZGpqTOooMXvMEa71o8Lq%2FHgkWxsbeYNw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8df4e2da1cbd824e-IAD"},{"key":"Content-Encoding","value":"gzip"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=2210&sent=1&recv=3&lost=0&retrans=0&sent_bytes=0&recv_bytes=424&delivery_rate=0&cwnd=239&unsent_bytes=0&cid=0000000000000000&ts=0&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"clients\": [{}], //all accounts of token in array\n    \"summary\": {\n        \"active\": 0,\n        \"activated\": 0,\n        \"demo\": 1,\n        \"count\": 1,\n        \"payment\": {\n            \"mode\": \"per day\",\n            \"balance\": 0\n        }\n    },\n    \"status\": \"ok\",\n    \"uuid\": \"60ab864a-e35d-469f-912a-9bb146dd5da7\"\n}"}],"_postman_id":"e0b586b6-abf3-44af-9214-2efb46cdc1d0"},{"name":"updateAccount","event":[{"listen":"test","script":{"id":"d047a064-a171-47d5-a082-2bd4f239da73","exec":[""],"type":"text/javascript","packages":{}}}],"id":"c94418bd-b468-4263-891b-7975e622d15d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"source\": \"\",\n    \"token\": \"\",\n    \"login\": \"\",\n    \"proxyString\": \"\",\n    \"webhookUrls\": []\n}","options":{"raw":{"language":"json"}}},"url":"/updateAccount","description":"<h3 id=\"post-updateaccount\">POST <code>/updateAccount</code></h3>\n<p><strong>Description:</strong><br />Updates the settings of an existing messenger account. This can include changing webhook URLs, enabling/disabling certain features, or modifying account preferences.</p>\n<p><strong>Requirements:</strong></p>\n<ul>\n<li><p><code>login</code> (string) – identifies the account to be updated</p>\n</li>\n<li><p><code>token</code> – for authentication</p>\n</li>\n<li><p>Any settings to be updated should be included in the request body</p>\n</li>\n</ul>\n<p><strong>Request Body Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"source\": \"telegram\",\n  \"login\": \"your_account_login\",\n  \"token\": \"your_api_token\",\n  \"webhookUrls\": [\"https://your-updated-webhook-url.com\"],\n  \"state\": true,\n  \"config\": {\n    \"services\": {\n      \"stateHook\": true\n    }\n  }\n}\n\n</code></pre>\n<p><strong>Response Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"ok\",\n  \"uuid\": \"\"\n}\n\n</code></pre>\n","urlObject":{"path":["updateAccount"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"c94418bd-b468-4263-891b-7975e622d15d"},{"name":"addWebhook","id":"1775eede-d642-4140-8f87-ef25240d18e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"source\": \"\",\r\n    \"token\": \"\",\r\n    \"login\": \"\",\r\n    \"webhookUrl\": \"{{webhookUrl}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/addWebhook","description":"<h3 id=\"post-addwebhook\">POST <code>/addWebhook</code></h3>\n<p><strong>Description:</strong><br />Registers one or more webhook URLs for an existing account. These webhooks will be triggered on specific events (e.g. message received, message status updated, reactions, etc.).</p>\n<p><strong>Requirements:</strong></p>\n<ul>\n<li><p><code>login</code> – account identifier</p>\n</li>\n<li><p><code>token</code> – for authentication</p>\n</li>\n<li><p><code>webhookUrl</code> – URL for webhook</p>\n</li>\n</ul>\n<p><strong>Request Body Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"source\": \"telegram\",\n  \"login\": \"your_account_login\",\n  \"token\": \"your_api_token\",\n  \"webhookUrl\": \"https://your-webhook-url.com\"\n}\n\n</code></pre>\n<p><strong>Response Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"ok\",\n  \"uuid\": \"c3350248-c91f-4b24-993d-xxxxxx\"\n}\n\n</code></pre>\n<hr />\n","urlObject":{"path":["addWebhook"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"1775eede-d642-4140-8f87-ef25240d18e1"},{"name":"deleteWebhook","id":"3fe2ab95-c6ed-4979-bffd-b7321d4fdf8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"source\": \"\",\r\n    \"token\": \"\",\r\n    \"login\": \"\",\r\n    \"webhookUrl\": \"{{webhookUrl}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/addWebhook","description":"<h3 id=\"post-addwebhook\">POST <code>/addWebhook</code></h3>\n<p><strong>Description:</strong><br />Registers a webhook URL for the specified messenger account and source.<br />This webhook will be used to deliver event notifications (messages, statuses, reactions, etc.).</p>\n<p><strong>Required Fields:</strong></p>\n<ul>\n<li><p><code>source</code> – messenger platform (e.g., <code>whatsapp</code>, <code>telegram</code>, etc.)</p>\n</li>\n<li><p><code>login</code> – account login</p>\n</li>\n<li><p><code>token</code> – your API access token</p>\n</li>\n<li><p><code>webhookUrl</code> – URL to which webhook events will be sent</p>\n</li>\n</ul>\n<p><strong>Request Body Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"source\": \"whatsapp\",\n  \"token\": \"your_api_token\",\n  \"login\": \"your_account_login\",\n  \"webhookUrl\": \"https://your-webhook-url.com\"\n}\n\n</code></pre>\n<p><strong>Response Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"ok\",\n  \"uuid\": \"c3350248-c91f-4b24-993d-xxxxxx\"\n}\n\n</code></pre>\n<hr />\n","urlObject":{"path":["addWebhook"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"3fe2ab95-c6ed-4979-bffd-b7321d4fdf8a"},{"name":"clearSession","id":"7f60058a-a9e0-4449-9f3d-be7d0c1c967b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"source\": \"\",\r\n    \"token\": \"\",\r\n    \"login\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/clearSession","description":"<h3 id=\"post-clearsession\">POST <code>/clearSession</code></h3>\n<p><strong>Description:</strong><br />Clears the current session of the specified messenger account.<br />This is useful when a session becomes invalid, the device is disconnected, or you want to force re-authentication.</p>\n<p><strong>Effect:</strong></p>\n<ul>\n<li><p>Logs out the account from the current session.</p>\n</li>\n<li><p>Requires a new authentication step (e.g. QR code or code login) to reestablish the connection.</p>\n</li>\n</ul>\n<p><strong>Required Fields:</strong></p>\n<ul>\n<li><p><code>source</code> – messenger platform (<code>whatsapp</code>, <code>telegram</code>, etc.)</p>\n</li>\n<li><p><code>login</code> – account login</p>\n</li>\n<li><p><code>token</code> – your API access token</p>\n</li>\n</ul>\n<p><strong>Request Body Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"source\": \"whatsapp\",\n  \"token\": \"your_api_token\",\n  \"login\": \"your_account_login\"\n}\n\n</code></pre>\n<p><strong>Response Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"ok\",\n  \"uuid\": \"c3350248-c91f-4b24-993d-xxxxxx\"\n}\n\n</code></pre>\n<hr />\n","urlObject":{"path":["clearSession"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"7f60058a-a9e0-4449-9f3d-be7d0c1c967b"},{"name":"getUserInfo","id":"6a449cf3-9f16-47f6-bf20-71c1784df2b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"source\": \"\",\r\n    \"token\": \"\",\r\n    \"login\": \"\",\r\n    \"to\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/getUserInfo","description":"<h3 id=\"post-getuserinfo\">POST <code>/getUserInfo</code></h3>\n<p><strong>Description:</strong><br />Fetches basic profile information about a specific contact in the context of a connected account.<br />Depending on the platform, this can return details such as the name, profile picture, or status.</p>\n<p><strong>Use Case:</strong><br />Useful for identifying unknown contacts, enriching chat UI, or verifying if a user exists.</p>\n<p><strong>Required Fields:</strong></p>\n<ul>\n<li><p><code>source</code> – messenger platform (e.g., <code>whatsapp</code>, <code>telegram</code>, etc.)</p>\n</li>\n<li><p><code>login</code> – account login</p>\n</li>\n<li><p><code>token</code> – your API access token</p>\n</li>\n<li><p><code>to</code> – target contact's phone number or user ID (in international format without symbols)</p>\n</li>\n</ul>\n<p><strong>Request Body Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"source\": \"whatsapp\",\n  \"token\": \"your_api_token\",\n  \"login\": \"your_account_login\",\n  \"to\": \"12345678901\"\n}\n\n</code></pre>\n<p><strong>Response Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"number\": \"***********\",\n  \"isBusiness\": false,\n  \"isEnterprise\": false,\n  \"name\": \"Contact Name\",\n  \"pushname\": \"Display Name\",\n  \"shortName\": \"\",\n  \"type\": \"in\",\n  \"isMe\": false,\n  \"isUser\": true,\n  \"isGroup\": false,\n  \"isWAContact\": true,\n  \"isMyContact\": true,\n  \"isBlocked\": false,\n  \"pictureUrl\": \"https://example.com/path-to-profile-image.jpg\",\n  \"status\": \"ok\",\n  \"uuid\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\n</code></pre>\n","urlObject":{"path":["getUserInfo"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"6a449cf3-9f16-47f6-bf20-71c1784df2b3"},{"name":"sendMessage[v1]","id":"8263adc7-3ba2-418e-beaa-820e8d4314ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"source\": \"\",\r\n    \"token\": \"\",\r\n    \"login\": \"\",\r\n    \"msg\": {\r\n        \"to\": \"\",\r\n        \"text\": \"{{text}}\",\r\n        \"content\": [\r\n            {\r\n                \"type\": \"\",\r\n                \"src\": \"\",\r\n                \"filename\":\"\"\r\n            }\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"/sendMessage","description":"<h3 id=\"post-sendmessage\">POST <code>/sendMessage</code></h3>\n<p><strong>Description:</strong><br />Sends a message to a contact or group via the specified messenger platform.<br />Supports plain text, media attachments, location sharing, contact cards, and more.</p>\n<hr />\n<h3 id=\"🔐-authentication-in-body\">🔐 Authentication (in body):</h3>\n<ul>\n<li><p><code>token</code>: Your API access token</p>\n</li>\n<li><p><code>login</code>: Your account identifier</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"📨-request-body\">📨 Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"source\": \"whatsapp\",\n  \"token\": \"your_api_token\",\n  \"login\": \"your_account_login\",\n  \"msg\": {\n    \"to\": \"12345678901\",\n    \"text\": \"Your message here\",\n    \"content\": [\n      {\n        \"type\": \"image\",\n        \"src\": \"https://example.com/image.jpg\",\n        \"filename\": \"photo.jpg\"\n      }\n    ]\n  }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"✅-success-response\">✅ Success Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"ok\",\n  \"uuid\": \"e58081c3-b762-4247-8288-856961a4d3a7\",\n  \"results\": [\n    {\n      \"status\": \"ok\",\n      \"text\": \"Your full message text\",\n      \"result\": {\n        \"thread\": \"12345678901@c.us\",\n        \"item\": \"MESSAGE_ID\",\n        \"timestamp\": 1744038792000000\n      }\n    }\n  ]\n}\n\n</code></pre>\n<ul>\n<li><p><code>results[0].status</code> — status of message delivery attempt</p>\n</li>\n<li><p><code>results[0].text</code> — actual message content sent</p>\n</li>\n<li><p><code>result.thread</code> — conversation identifier</p>\n</li>\n<li><p><code>result.item</code> — internal message ID</p>\n</li>\n<li><p><code>result.timestamp</code> — message timestamp (microseconds)</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"❌-error-response\">❌ Error Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"error\",\n  \"error\": {\n    \"message\": \"Evaluation failed: TypeError: Cannot read properties of undefined (reading 'WidFactory')\"\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["sendMessage"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"8263adc7-3ba2-418e-beaa-820e8d4314ba"},{"name":"sendMessage[v2]","id":"be3ffdc7-5901-4b7b-a205-5afe867695e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"source\": \"\",\r\n    \"token\": \"\",\r\n    \"login\": \"\",\r\n    \"msg_to\": \"\",\r\n    \"msg_text\": \"{{text}}\",\r\n    \"msg_content_type\": \"\",\r\n    \"msg_content_src\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/sendMessage","description":"<h3 id=\"post-sendmessage-flat-parameters-version\">POST <code>/sendMessage</code> (Flat Parameters Version)</h3>\n<p><strong>Description:</strong><br />Alternate version of the <code>/sendMessage</code> method using <strong>flat parameters</strong> instead of nested <code>msg</code> object.<br />Functionally identical — used in simpler clients or tools where nested objects are harder to construct.</p>\n<hr />\n<h3 id=\"🔐-authentication-in-body\">🔐 Authentication (in body):</h3>\n<ul>\n<li><p><code>token</code>: Your API access token</p>\n</li>\n<li><p><code>login</code>: Your account identifier</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"📥-request-body\">📥 Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"source\": \"whatsapp\",\n  \"token\": \"your_api_token\",\n  \"login\": \"your_account_login\",\n  \"msg_to\": \"12345678901\",\n  \"msg_text\": \"Your message text\",\n  \"msg_content_type\": \"image\",\n  \"msg_content_src\": \"https://example.com/image.jpg\"\n}\n\n</code></pre>\n<ul>\n<li><p><code>msg_to</code> – recipient's phone number or user ID</p>\n</li>\n<li><p><code>msg_text</code> – (optional) message text</p>\n</li>\n<li><p><code>msg_content_type</code> – (optional) type of media (<code>image</code>, <code>file</code>, <code>geo</code>, etc.)</p>\n</li>\n<li><p><code>msg_content_src</code> – (optional) URL or payload of media</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"✅-success-response\">✅ Success Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"ok\",\n  \"uuid\": \"e58081c3-b762-4247-8288-856961a4d3a7\",\n  \"results\": [\n    {\n      \"status\": \"ok\",\n      \"text\": \"Your full message text\",\n      \"result\": {\n        \"thread\": \"12345678901@c.us\",\n        \"item\": \"MESSAGE_ID\",\n        \"timestamp\": 1744038792000000\n      }\n    }\n  ]\n}\n\n</code></pre>\n<hr />\n<h3 id=\"❌-error-response\">❌ Error Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"error\",\n  \"error\": {\n    \"message\": \"Evaluation failed: TypeError: Cannot read properties of undefined (reading 'WidFactory')\"\n  }\n}\n\n</code></pre>\n<hr />\n<blockquote>\n<p>☑️ Both versions of <code>/sendMessage</code> return the same structure. You can use either depending on your client’s capabilities.</p>\n</blockquote>\n","urlObject":{"path":["sendMessage"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"be3ffdc7-5901-4b7b-a205-5afe867695e8"},{"name":"getChatMessageByItem","id":"97514465-cfcb-4546-ae9d-5fdb7c8ccbcf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"source\": \"\",\r\n    \"token\": \"\",\r\n    \"login\": \"\",\r\n    \"to\": \"{{to}}\",// or use \"thread\": {{thread}}\r\n    \"item\": \"item\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/getChatMessageByItem","description":"<h3 id=\"post-getchatmessagebyitem\">POST <code>/getChatMessageByItem</code></h3>\n<h3 id=\"description\"><strong>Description:</strong></h3>\n<p>Method to get message by item</p>\n<hr />\n<h3 id=\"🔐-authentication-in-body\">🔐 Authentication (in body):</h3>\n<ul>\n<li><p><code>token</code>: Your API access token</p>\n</li>\n<li><p><code>login</code>: Your account identifier</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"📥-request-body\">📥 Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"source\": \"whatsapp\",\n  \"token\": \"your_api_token\",\n  \"login\": \"your_account_login\",\n  \"to\": \"12345678901\",\n  \"item\": \"123123123123\"\n}\n\n</code></pre>\n<ul>\n<li><p><code>to</code> – phone number or user id,</p>\n</li>\n<li><p><code>item</code> – message id</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"✅-success-response\">✅ Success Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"ok\",\n  \"uuid\": \"e58081c3-b762-4247-8288-856961a4d3a7\",\n  \"message\": [\n  ]\n}\n\n</code></pre>\n<hr />\n<h3 id=\"❌-error-response\">❌ Error Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"error\"\n}\n\n</code></pre>\n<hr />\n","urlObject":{"path":["getChatMessageByItem"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"97514465-cfcb-4546-ae9d-5fdb7c8ccbcf"},{"name":"setState","id":"69d0cf71-a087-4a80-9792-8b4e1bf0f6cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"source\": \"\",\r\n    \"token\": \"\",\r\n    \"login\": \"\",\r\n    \"setState\": true //or false\r\n}","options":{"raw":{"language":"json"}}},"url":"/setState","description":"<h3 id=\"post-setstate\">POST <code>/setState</code></h3>\n<p><strong>Description:</strong><br />Turns the account <strong>on</strong> or <strong>off</strong> depending on the <code>setState</code> value.<br />Used to control whether the messenger account should be actively connected and processing messages.</p>\n<hr />\n<h3 id=\"🔐-authentication-in-body\">🔐 Authentication (in body):</h3>\n<ul>\n<li><p><code>source</code>: Messenger platform (<code>whatsapp</code>, <code>telegram</code>, etc.)</p>\n</li>\n<li><p><code>token</code>: Your API access token</p>\n</li>\n<li><p><code>login</code>: Your account identifier</p>\n</li>\n<li><p><code>setState</code>: <code>true</code> to activate, <code>false</code> to deactivate</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"📥-request-body-example\">📥 Request Body Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"source\": \"whatsapp\",\n  \"token\": \"your_api_token\",\n  \"login\": \"your_account_login\",\n  \"setState\": true\n}\n\n</code></pre>\n<hr />\n<h3 id=\"✅-success-response-account-is-authorized\">✅ Success Response (Account is authorized)</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"ok\",\n  \"uuid\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"❌-error-response-authorization-required\">❌ Error Response (Authorization required)</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"error\",\n  \"error\": {\n    \"message\": \"Account is not authorized\"\n  }\n}\n\n</code></pre>\n<blockquote>\n<p>ℹ️ Before enabling an account, make sure it has been successfully authenticated using a QR code or code-based login method.</p>\n</blockquote>\n","urlObject":{"path":["setState"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"69d0cf71-a087-4a80-9792-8b4e1bf0f6cc"},{"name":"forceStop","id":"cc5b3857-33f2-497d-8c85-426b27c2154e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"source\": \"\",\r\n    \"token\": \"\",\r\n    \"login\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/forceStop","description":"<h3 id=\"post-forcestop\">POST <code>/forceStop</code></h3>\n<p><strong>Description:</strong><br />Forcibly stops the messenger account session and terminates all background processes associated with it.<br />Use this when the account is stuck, unresponsive, or needs a full reset before re-authentication.</p>\n<hr />\n<h3 id=\"🔐-authentication-in-body\">🔐 Authentication (in body):</h3>\n<ul>\n<li><p><code>source</code>: Messenger platform (<code>whatsapp</code>, <code>telegram</code>, etc.)</p>\n</li>\n<li><p><code>token</code>: Your API access token</p>\n</li>\n<li><p><code>login</code>: Your account identifier</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"📥-request-body-example\">📥 Request Body Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"source\": \"whatsapp\",\n  \"token\": \"your_api_token\",\n  \"login\": \"your_account_login\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"✅-response-example\">✅ Response Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"ok\",\n  \"uuid\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\n</code></pre>\n<blockquote>\n<p>⚠️ After calling this method, the account may need to be re-activated using <code>/setState</code> or re-authorized if the session becomes invalid. </p>\n</blockquote>\n<hr />\n","urlObject":{"path":["forceStop"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"cc5b3857-33f2-497d-8c85-426b27c2154e"},{"name":"getQr","id":"b3e94c48-5547-472a-8e98-c0b67b1197da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"source\": \"\",\r\n    \"token\": \"\",\r\n    \"login\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/getQr","description":"<h3 id=\"post-getqr\">POST <code>/getQr</code></h3>\n<p><strong>Description:</strong><br />Generates a QR code for account authentication.<br />This is used when the account requires QR-based login (e.g., for WhatsApp Web-style authentication).</p>\n<hr />\n<h3 id=\"🔐-authentication-in-body\">🔐 Authentication (in body):</h3>\n<ul>\n<li><p><code>source</code>: Messenger platform (<code>whatsapp</code>, etc.)</p>\n</li>\n<li><p><code>token</code>: Your API access token</p>\n</li>\n<li><p><code>login</code>: Your account identifier</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"📥-request-body-example\">📥 Request Body Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"source\": \"whatsapp\",\n  \"token\": \"your_api_token\",\n  \"login\": \"your_account_login\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"✅-response-example\">✅ Response Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"ok\",\n  \"uuid\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\n  \"value\": \"12314adsgfadfgsDfawert5tewey6sdfh.\"\n}\n\n</code></pre>\n<ul>\n<li><code>value</code> – string representing the QR code</li>\n</ul>\n<blockquote>\n<p>🟡 You can render the QR in your frontend using an <code>![](...)</code> tag with the <code>value</code>. </p>\n</blockquote>\n<hr />\n","urlObject":{"path":["getQr"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"b3e94c48-5547-472a-8e98-c0b67b1197da"},{"name":"enablePhoneAuth","id":"2b707b40-01bf-4762-8bce-f06d598f2fec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"source\": \"\",\n    \"token\": \"\",\n    \"login\": \"\",\n    \"phone\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"/enablePhoneAuth","description":"<h3 id=\"post-enablephoneauth\">POST <code>/enablePhoneAuth</code></h3>\n<p><strong>Description:</strong><br />Initiates <strong>phone number–based authentication</strong> for the selected messenger platform.<br />Used when QR code login is not available or when a code needs to be sent to a phone number for verification.</p>\n<hr />\n<h3 id=\"🔐-authentication-in-body\">🔐 Authentication (in body):</h3>\n<ul>\n<li><p><code>source</code>: Messenger platform (<code>whatsapp</code>, etc.)</p>\n</li>\n<li><p><code>token</code>: Your API access token</p>\n</li>\n<li><p><code>login</code>: Your account identifier</p>\n</li>\n<li><p><code>phone</code>: Phone number in international format (digits only)</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"📥-request-body-example\">📥 Request Body Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"source\": \"whatsapp\",\n  \"token\": \"your_api_token\",\n  \"login\": \"your_account_login\",\n  \"phone\": \"12345678901\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"✅-response-example\">✅ Response Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"ok\",\n  \"uuid\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\n</code></pre>\n<blockquote>\n<p>📲 After calling this method, a confirmation code should be sent to the provided number or whown in /getAuthCode for WhatsApp. Use <code>/solveChallenge</code> to complete the login process. </p>\n</blockquote>\n<hr />\n","urlObject":{"path":["enablePhoneAuth"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"2b707b40-01bf-4762-8bce-f06d598f2fec"},{"name":"disablePhoneAuth","id":"6e1bd68d-8e66-4fa1-8d2e-9152148fe688","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"source\": \"\",\n    \"token\": \"\",\n    \"login\": \"\",\n    \"phone\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"/disablePhoneAuth","description":"<h3 id=\"post-disablephoneauth\">POST <code>/disablePhoneAuth</code></h3>\n<p><strong>Description:</strong><br />Disables <strong>phone-based authentication</strong> for the specified account.<br />After this call, the account will require QR code authentication again (if supported by the platform).</p>\n<hr />\n<h3 id=\"🔐-authentication-in-body\">🔐 Authentication (in body):</h3>\n<ul>\n<li><p><code>source</code>: Messenger platform (<code>whatsapp</code>, etc.)</p>\n</li>\n<li><p><code>token</code>: Your API access token</p>\n</li>\n<li><p><code>login</code>: Your account identifier</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"📥-request-body-example\">📥 Request Body Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"source\": \"whatsapp\",\n  \"token\": \"your_api_token\",\n  \"login\": \"your_account_login\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"✅-response-example\">✅ Response Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"ok\",\n  \"uuid\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\n</code></pre>\n<blockquote>\n<p>🔁 You can re-enable phone-based auth later using <code>/enablePhoneAuth</code>.</p>\n</blockquote>\n","urlObject":{"path":["disablePhoneAuth"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"6e1bd68d-8e66-4fa1-8d2e-9152148fe688"},{"name":"[wa]getAuthCode","id":"cf99e5b7-4845-432d-b337-b92ed5f099af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"source\": \"\",\n    \"token\": \"\",\n    \"login\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"/getAuthCode","description":"<h3 id=\"post-getauthcode\">POST <code>/getAuthCode</code></h3>\n<p><strong>Description:</strong><br />Retrieves an authorization code for WhatsApp accounts that are using <strong>phone-based login</strong>.<br />This code is usually sent via SMS or call to the provided phone number and is required to complete the login process.</p>\n<blockquote>\n<p>⚠️ This method is <strong>only available for</strong> <strong><code>source: whatsapp</code></strong>. </p>\n</blockquote>\n<hr />\n<h3 id=\"🔐-authentication-in-body\">🔐 Authentication (in body):</h3>\n<ul>\n<li><p><code>source</code>: Must be <code>\"whatsapp\"</code></p>\n</li>\n<li><p><code>token</code>: Your API access token</p>\n</li>\n<li><p><code>login</code>: Your account identifier</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"📥-request-body-example\">📥 Request Body Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"source\": \"whatsapp\",\n  \"token\": \"your_api_token\",\n  \"login\": \"your_account_login\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"✅-response-example\">✅ Response Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"ok\",\n  \"uuid\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\n  \"value\": \"123456\" // The actual auth code sent to the user\n}\n\n</code></pre>\n<hr />\n","urlObject":{"path":["getAuthCode"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"cf99e5b7-4845-432d-b337-b92ed5f099af"},{"name":"[tg]solveChallenge","id":"6a79de3c-0151-479c-8cde-8e886357e760","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"source\": \"\",\n    \"token\": \"\",\n    \"login\": \"\",\n    \"code\": \"{{code}}\"\n}","options":{"raw":{"language":"json"}}},"url":"/solveChallenge","description":"<h3 id=\"post-solvechallenge\">POST <code>/solveChallenge</code></h3>\n<p><strong>Description:</strong><br />Submits a verification code to complete the login process for <strong>Telegram accounts</strong> that require user challenge validation (such as 2FA or initial device login).</p>\n<blockquote>\n<p>⚠️ This method is <strong>only available for</strong> <strong><code>source: telegram</code></strong>. </p>\n</blockquote>\n<hr />\n<h3 id=\"🔐-authentication-in-body\">🔐 Authentication (in body):</h3>\n<ul>\n<li><p><code>source</code>: Must be <code>\"telegram\"</code></p>\n</li>\n<li><p><code>token</code>: Your API access token</p>\n</li>\n<li><p><code>login</code>: Your account identifier</p>\n</li>\n<li><p><code>code</code>: Code received via Telegram (e.g. SMS or in-app message)</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"📥-request-body-example\">📥 Request Body Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"source\": \"telegram\",\n  \"token\": \"your_api_token\",\n  \"login\": \"your_account_login\",\n  \"code\": \"12345\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"✅-response-example\">✅ Response Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"ok\",\n  \"uuid\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\n</code></pre>\n<blockquote>\n<p>✅ If the code is correct, the account will be successfully authenticated and ready to use. </p>\n</blockquote>\n<hr />\n","urlObject":{"path":["solveChallenge"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"6a79de3c-0151-479c-8cde-8e886357e760"},{"name":"[tg]twoFactorAuth","id":"7b2c6e10-1ee0-4df8-ae3c-c0604b213a0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"source\": \"\",\n    \"token\": \"\",\n    \"login\": \"\",\n    \"code\": \"{{code}}\"\n}","options":{"raw":{"language":"json"}}},"url":"/twoFactorAuth","description":"<h3 id=\"post-twofactorauth\">POST <code>/twoFactorAuth</code></h3>\n<p><strong>Description:</strong><br />Submits a <strong>two-factor authentication password</strong> required for completing login to a <strong>Telegram</strong> account.<br />This is used when 2FA is enabled on the Telegram account and must be provided after the initial login code.</p>\n<blockquote>\n<p>⚠️ This method is <strong>only available for</strong> <strong><code>source: telegram</code></strong>. </p>\n</blockquote>\n<hr />\n<h3 id=\"🔐-authentication-in-body\">🔐 Authentication (in body):</h3>\n<ul>\n<li><p><code>source</code>: Must be <code>\"telegram\"</code></p>\n</li>\n<li><p><code>token</code>: Your API access token</p>\n</li>\n<li><p><code>login</code>: Your account identifier</p>\n</li>\n<li><p><code>password</code>: The Telegram 2FA password set by the user</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"📥-request-body-example\">📥 Request Body Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"source\": \"telegram\",\n  \"token\": \"your_api_token\",\n  \"login\": \"your_account_login\",\n  \"password\": \"your_2fa_password\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"✅-response-example\">✅ Response Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"ok\",\n  \"uuid\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\n</code></pre>\n<blockquote>\n<p>🔒 Make sure the password is correct — otherwise, authentication will fail. </p>\n</blockquote>\n<hr />\n","urlObject":{"path":["twoFactorAuth"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"7b2c6e10-1ee0-4df8-ae3c-c0604b213a0e"},{"name":"sendTyping","id":"79176fdb-96b3-4017-878e-f5c46ac9472a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"source\": \"\",\n    \"token\": \"\",\n    \"login\": \"\",\n    \"to\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"/sendTyping","description":"<h3 id=\"post-sendtyping\">POST <code>/sendTyping</code></h3>\n<p><strong>Description:</strong><br />Send to recipient status Typing for 20 seconds</p>\n<blockquote>\n<p>⚠️ This method is <strong>only available for</strong> <strong><code>source: whatsapp</code></strong>. </p>\n</blockquote>\n<hr />\n<h3 id=\"🔐-authentication-in-body\">🔐 Authentication (in body):</h3>\n<ul>\n<li><p><code>source</code>: Must be <code>\"whatsapp\"</code></p>\n</li>\n<li><p><code>token</code>: Your API access token</p>\n</li>\n<li><p><code>login</code>: Your account identifier</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"📥-request-body-example\">📥 Request Body Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"source\": \"whatsapp\",\n  \"token\": \"your_api_token\",\n  \"login\": \"your_account_login\",\n  \"to\": \"phone\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"✅-response-example\">✅ Response Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"ok\",\n  \"uuid\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\n</code></pre>\n<blockquote>\n<p>🔒 Make sure the password is correct — otherwise, authentication will fail. </p>\n</blockquote>\n<hr />\n","urlObject":{"path":["sendTyping"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"79176fdb-96b3-4017-878e-f5c46ac9472a"},{"name":"resetTyping","id":"21de8bd5-27f3-4394-80c7-ed263e9db65f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"source\": \"\",\n    \"token\": \"\",\n    \"login\": \"\",\n    \"to\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"/resetTyping","description":"<h3 id=\"post-resettyping\">POST <code>/resetTyping</code></h3>\n<p><strong>Description:</strong><br />reset to recipient status Typing</p>\n<blockquote>\n<p>⚠️ This method is <strong>only available for</strong> <strong><code>source: whatsapp</code></strong>. </p>\n</blockquote>\n<hr />\n<h3 id=\"🔐-authentication-in-body\">🔐 Authentication (in body):</h3>\n<ul>\n<li><p><code>source</code>: Must be <code>\"whatsapp\"</code></p>\n</li>\n<li><p><code>token</code>: Your API access token</p>\n</li>\n<li><p><code>login</code>: Your account identifier</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"📥-request-body-example\">📥 Request Body Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"source\": \"whatsapp\",\n  \"token\": \"your_api_token\",\n  \"login\": \"your_account_login\",\n  \"to\": \"phone\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"✅-response-example\">✅ Response Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"ok\",\n  \"uuid\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\n</code></pre>\n<blockquote>\n<p>🔒 Make sure the password is correct — otherwise, authentication will fail. </p>\n</blockquote>\n<hr />\n","urlObject":{"path":["resetTyping"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"21de8bd5-27f3-4394-80c7-ed263e9db65f"},{"name":"sendRecording","id":"1da60f2e-c0a0-41f2-ae65-1e58d5a42e2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"source\": \"\",\n    \"token\": \"\",\n    \"login\": \"\",\n    \"to\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"/sendRecording","description":"<h3 id=\"post-sendrecording\">POST <code>/sendRecording</code></h3>\n<p><strong>Description:</strong><br />Sends status of audio message recording for 20 seconds</p>\n<p>⚠️ This method is <strong>only available for</strong> <strong><code>source: whatsapp</code></strong>.</p>\n<hr />\n<h3 id=\"🔐-authentication-in-body\">🔐 Authentication (in body):</h3>\n<ul>\n<li><p><code>source</code>: Must be <code>\"whatsapp\"</code></p>\n</li>\n<li><p><code>token</code>: Your API access token</p>\n</li>\n<li><p><code>login</code>: Your account identifier</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"📥-request-body-example\">📥 Request Body Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"source\": \"whatsapp\",\n  \"token\": \"your_api_token\",\n  \"login\": \"your_account_login\",\n  \"to\": \"phone\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"✅-response-example\">✅ Response Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"ok\",\n  \"uuid\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\n</code></pre>\n<blockquote>\n<p>🔒 Make sure the password is correct — otherwise, authentication will fail. </p>\n</blockquote>\n<hr />\n","urlObject":{"path":["sendRecording"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"1da60f2e-c0a0-41f2-ae65-1e58d5a42e2d"}],"event":[{"listen":"prerequest","script":{"id":"c3b0f171-4874-459c-bb62-b61bfbdc3c64","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"b983c77d-db24-4af2-8759-f549e0b075e6","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"variable":[{"key":"apiUrl","value":""},{"key":"source","value":""},{"key":"token","value":""},{"key":"login","value":""},{"key":"phone","value":""}]}