{"info":{"_postman_id":"762b9b82-de87-4468-b053-2d1fce095aac","name":"Sunsal Wapim","description":"<html><head></head><body><p>Sunsal Wapim is a <strong>self-hosted WhatsApp API</strong> powered by <strong>waha.devlike.pro</strong>, built as an alternative to Wablas.</p>\n<p>It allows you to manage WhatsApp sessions, devices, and messages with <strong>flexible CRUD operations</strong> and direct WAPI endpoints for sending text, images, and attachments.</p>\n<p>This collection is structured into <strong>three main folders</strong>:</p>\n<ol>\n<li><p><strong>API</strong> → Database-level management of devices and messages (create, read, update, delete, restore).</p>\n</li>\n<li><p><strong>WAPI</strong> → WhatsApp client endpoints for handling sessions and sending messages directly.</p>\n</li>\n<li><p><strong>Utility</strong> → Helper endpoints for QR generation, authentication tokens, and phone validation.</p>\n</li>\n</ol>\n<p>Use this collection with Postman environments (<code>SERVER_API</code>, <code>API_URL</code>, <code>SESSION_ID, SESSION_SECRET_TOKEN</code>) for quick testing and integration into your backend.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"25983627","collectionId":"762b9b82-de87-4468-b053-2d1fce095aac","publishedId":"2sB3Hkrgbr","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-09-08T03:09:29.000Z"},"item":[{"name":"API","item":[{"name":"Device","item":[{"name":"Get All","id":"768aeb51-2661-4fb5-8aff-4afb88f4654d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/devices","description":"<p>Fetch a list of all devices registered in the system.<br />Useful for dashboards or monitoring multiple WhatsApp devices.</p>\n","urlObject":{"path":["devices"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[]}},"response":[{"id":"1ada40c2-904e-43c0-8d5e-cc51af1f813a","name":"Response Get All","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/devices"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:37:51 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"\",\n    \"data\": {\n        \"list\": [\n            {\n                \"id\": 1,\n                \"name\": \"WAPI Test\",\n                \"session_id\": \"wapi-test\",\n                \"phone_number\": \"62811010010010\",\n                \"status\": \"scan_qr_code\",\n                \"secret_token\": \"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee\",\n                \"webhook_status\": 1,\n                \"webhook_url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\n                \"webhook_options\": \"[\\\"message\\\",\\\"message.ack\\\",\\\"message.waiting\\\"]\",\n                \"opening_message\": \"Hello\",\n                \"closing_message\": \"Hola\",\n                \"auto_reply\": \"Hai\",\n                \"auto_forward\": \"Hei\",\n                \"auto_forward_number\": \"62811010010010\"\n            }\n        ],\n        \"meta\": {\n            \"links\": [\n                \"http://127.0.0.1:8000/api/devices?sort=id%20DESC&page=1\"\n            ],\n            \"total\": 1\n        }\n    }\n}"}],"_postman_id":"768aeb51-2661-4fb5-8aff-4afb88f4654d"},{"name":"Get Detail","id":"e8aa18d1-f3f9-43a1-84cd-5cd4335f9b71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/devices/:id","description":"<p>Retrieve complete information about a single device by ID.<br />Returns metadata such as device name, status, and linked account.</p>\n","urlObject":{"path":["devices",":id"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[{"description":{"content":"<p>Unique resource identifier.</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"85367188-73a7-4894-a82a-7216ef717d1b","name":"Response Get Detail","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/api/devices/:id","host":["http://127.0.0.1:8000/api"],"path":["devices",":id"],"variable":[{"key":"id","value":"1","description":"Unique resource identifier."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:38:05 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"WAPI Test\",\n        \"session_id\": \"wapi-test\",\n        \"phone_number\": \"62811010010010\",\n        \"status\": \"scan_qr_code\",\n        \"secret_token\": \"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee\",\n        \"webhook_status\": 1,\n        \"webhook_url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\n        \"webhook_options\": \"[\\\"message\\\",\\\"message.ack\\\",\\\"message.waiting\\\"]\",\n        \"opening_message\": \"Hello\",\n        \"closing_message\": \"Hola\",\n        \"auto_reply\": \"Hai\",\n        \"auto_forward\": \"Hei\",\n        \"auto_forward_number\": \"62811010010010\"\n    }\n}"}],"_postman_id":"e8aa18d1-f3f9-43a1-84cd-5cd4335f9b71"},{"name":"Create","id":"f64de750-362c-4dc0-b0df-e0a26e621ceb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"WAPI Test\",\r\n    \"phone_number\": \"0811010010010\",\r\n    \"secret_token\": \"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee\",\r\n    \"webhook_status\": true,\r\n    \"webhook_url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\r\n    \"webhook_options\": [\r\n        \"message\",\r\n        \"message.ack\",\r\n        \"message.waiting\"\r\n    ],\r\n    \"opening_message\": \"Hello\",\r\n    \"closing_message\": \"Hola\",\r\n    \"auto_reply\": \"Hai\",\r\n    \"auto_forward\": \"Hei\",\r\n    \"auto_forward_number\": \"811010010010\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/devices","description":"<p>Add a new device entry into the system.<br />Often used when setting up a new WhatsApp client.</p>\n","urlObject":{"path":["devices"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[]}},"response":[{"id":"30c02081-c3a8-4038-b717-648024876816","name":"Response Create","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"WAPI Test\",\r\n    \"phone_number\": \"0811010010010\",\r\n    \"secret_token\": \"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee\",\r\n    \"webhook_status\": true,\r\n    \"webhook_url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\r\n    \"webhook_options\": [\r\n        \"message\",\r\n        \"message.ack\",\r\n        \"message.waiting\"\r\n    ],\r\n    \"opening_message\": \"Hello\",\r\n    \"closing_message\": \"Hola\",\r\n    \"auto_reply\": \"Hai\",\r\n    \"auto_forward\": \"Hei\",\r\n    \"auto_forward_number\": \"811010010010\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/devices"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:37:22 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Data successfully added\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"WAPI Test\",\n        \"session_id\": \"wapi-test\",\n        \"phone_number\": \"62811010010010\",\n        \"status\": \"scan_qr_code\",\n        \"secret_token\": \"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee\",\n        \"webhook_status\": true,\n        \"webhook_url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\n        \"webhook_options\": \"[\\\"message\\\",\\\"message.ack\\\",\\\"message.waiting\\\"]\",\n        \"opening_message\": \"Hello\",\n        \"closing_message\": \"Hola\",\n        \"auto_reply\": \"Hai\",\n        \"auto_forward\": \"Hei\",\n        \"auto_forward_number\": \"62811010010010\"\n    }\n}"}],"_postman_id":"f64de750-362c-4dc0-b0df-e0a26e621ceb"},{"name":"Update","id":"bb8faba9-4886-45b9-aaec-394e098197f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"WAPI Test\",\r\n    \"phone_number\": \"0811010010010\",\r\n    \"secret_token\": \"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee\",\r\n    \"webhook_status\": true,\r\n    \"webhook_url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\r\n    \"webhook_options\": [\r\n        \"message\",\r\n        \"message.ack\",\r\n        \"message.waiting\"\r\n    ],\r\n    \"opening_message\": \"Hello\",\r\n    \"closing_message\": \"Hola\",\r\n    \"auto_reply\": \"Hai\",\r\n    \"auto_forward\": \"Hei\",\r\n    \"auto_forward_number\": \"811010010010\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/devices/:id","description":"<p>Modify device details (name, configuration, webhook URL, etc.).</p>\n","urlObject":{"path":["devices",":id"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[{"description":{"content":"<p>Unique resource identifier.</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"d38a5dde-f663-40e6-8bba-6d91fc8f5ae6","name":"Response Update","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"WAPI Test\",\r\n    \"phone_number\": \"0811010010010\",\r\n    \"secret_token\": \"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee\",\r\n    \"webhook_status\": true,\r\n    \"webhook_url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\r\n    \"webhook_options\": [\r\n        \"message\",\r\n        \"message.ack\",\r\n        \"message.waiting\"\r\n    ],\r\n    \"opening_message\": \"Hello\",\r\n    \"closing_message\": \"Hola\",\r\n    \"auto_reply\": \"Hai\",\r\n    \"auto_forward\": \"Hei\",\r\n    \"auto_forward_number\": \"811010010010\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://127.0.0.1:8000/api/devices/:id","host":["http://127.0.0.1:8000/api"],"path":["devices",":id"],"variable":[{"key":"id","value":"1","description":"Unique resource identifier."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:39:07 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Data successfully modified\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"WAPI Test\",\n        \"session_id\": \"wapi-test\",\n        \"phone_number\": \"62811010010010\",\n        \"status\": \"scan_qr_code\",\n        \"secret_token\": \"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee\",\n        \"webhook_status\": 1,\n        \"webhook_url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\n        \"webhook_options\": \"[\\\"message\\\",\\\"message.ack\\\",\\\"message.waiting\\\"]\",\n        \"opening_message\": \"Hello\",\n        \"closing_message\": \"Hola\",\n        \"auto_reply\": \"Hai\",\n        \"auto_forward\": \"Hei\",\n        \"auto_forward_number\": \"62811010010010\"\n    }\n}"}],"_postman_id":"bb8faba9-4886-45b9-aaec-394e098197f9"},{"name":"Delete","id":"e8336b3b-454c-4fca-8874-caf0772285b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://127.0.0.1:8000/api/devices/:id","description":"<p>Soft-delete a device. It will not be permanently erased, and can be restored later if needed.</p>\n","urlObject":{"path":["devices",":id"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[{"description":{"content":"<p>Unique resource identifier.</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"12fe4699-3136-40e7-9927-b2414827394c","name":"Response Delete","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"http://127.0.0.1:8000/api/devices/:id","host":["http://127.0.0.1:8000/api"],"path":["devices",":id"],"variable":[{"key":"id","value":"1","description":"Unique resource identifier."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:39:27 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Data successfully deleted\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"WAPI Test\",\n        \"session_id\": \"wapi-test\",\n        \"phone_number\": \"62811010010010\",\n        \"status\": \"scan_qr_code\",\n        \"secret_token\": \"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee\",\n        \"webhook_status\": 1,\n        \"webhook_url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\n        \"webhook_options\": \"[\\\"message\\\",\\\"message.ack\\\",\\\"message.waiting\\\"]\",\n        \"opening_message\": \"Hello\",\n        \"closing_message\": \"Hola\",\n        \"auto_reply\": \"Hai\",\n        \"auto_forward\": \"Hei\",\n        \"auto_forward_number\": \"62811010010010\"\n    }\n}"}],"_postman_id":"e8336b3b-454c-4fca-8874-caf0772285b6"},{"name":"Restore","id":"a4da5284-fcac-4f9b-bb93-4bf3889020c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"http://127.0.0.1:8000/api/devices/:id/restore","description":"<p>Restore a previously deleted device back to active state.<br />Useful for accidental deletions or temporary suspensions.</p>\n","urlObject":{"path":["devices",":id","restore"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[{"description":{"content":"<p>Unique resource identifier.</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"f4a93989-9bdd-4463-bd63-4ba7175fa585","name":"Response Restore","originalRequest":{"method":"PUT","header":[],"url":{"raw":"http://127.0.0.1:8000/api/devices/:id/restore","host":["http://127.0.0.1:8000/api"],"path":["devices",":id","restore"],"variable":[{"key":"id","value":"1","description":"Unique resource identifier."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:39:43 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Data successfully restored\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"WAPI Test\",\n        \"session_id\": \"wapi-test\",\n        \"phone_number\": \"62811010010010\",\n        \"status\": \"scan_qr_code\",\n        \"secret_token\": \"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee\",\n        \"webhook_status\": 1,\n        \"webhook_url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\n        \"webhook_options\": \"[\\\"message\\\",\\\"message.ack\\\",\\\"message.waiting\\\"]\",\n        \"opening_message\": \"Hello\",\n        \"closing_message\": \"Hola\",\n        \"auto_reply\": \"Hai\",\n        \"auto_forward\": \"Hei\",\n        \"auto_forward_number\": \"62811010010010\"\n    }\n}"}],"_postman_id":"a4da5284-fcac-4f9b-bb93-4bf3889020c7"}],"id":"60327d5f-db39-4522-8c1b-731e31489ddc","description":"<p>Manage devices connected to Sunsal Wapim. A \"device\" typically represents a WhatsApp client that can be linked to the API.</p>\n","_postman_id":"60327d5f-db39-4522-8c1b-731e31489ddc"},{"name":"Message","item":[{"name":"Get All","id":"139ba734-cfbb-4a23-a0bb-94673448c293","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Session-Id","value":"wapi-test","description":"<p>The target WhatsApp session ID.</p>\n","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","description":"<p>Secret token for session security.</p>\n","type":"text"}],"url":"http://127.0.0.1:8000/api/messages","description":"<p>Retrieve all messages stored in the system.<br />Useful for logs, audit trails, or message dashboards.</p>\n","urlObject":{"path":["messages"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[]}},"response":[{"id":"dcb2e532-c043-4a47-91a1-43a04fe23a88","name":"Response Get All","originalRequest":{"method":"GET","header":[{"key":"X-Session-Id","value":"wapi-test","description":"The target WhatsApp session ID.","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","description":"Secret token for session security.","type":"text"}],"url":"http://127.0.0.1:8000/api/messages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:43:40 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"\",\n    \"data\": {\n        \"list\": [\n            {\n                \"id\": 1,\n                \"device_id\": 1,\n                \"session_id\": \"wapi-test\",\n                \"is_queue\": 1,\n                \"recipient\": \"62811010010010\",\n                \"message_type\": \"text\",\n                \"message\": \"Welcome home\",\n                \"file_mimetype\": null,\n                \"file_filename\": null,\n                \"file_url\": null,\n                \"calendar_type\": \"masehi\",\n                \"schedule_at\": \"2025-09-08T02:44:00.000000Z\",\n                \"status\": \"pending\",\n                \"is_sent\": 0,\n                \"provider_message_id\": null,\n                \"api_response\": null,\n                \"sent_at\": null,\n                \"delivered_at\": null,\n                \"read_at\": null,\n                \"status_updated_at\": null\n            }\n        ],\n        \"meta\": {\n            \"links\": [\n                \"http://127.0.0.1:8000/api/messages?sort=id%20DESC&page=1\"\n            ],\n            \"total\": 1\n        }\n    }\n}"}],"_postman_id":"139ba734-cfbb-4a23-a0bb-94673448c293"},{"name":"Get Detail","id":"b78b3d66-7dc8-4c4a-a241-61b85d11eec3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Session-Id","value":"wapi-test","description":"<p>The target WhatsApp session ID.</p>\n","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","description":"<p>Secret token for session security.</p>\n","type":"text"}],"url":"http://127.0.0.1:8000/api/messages/:id","description":"<p>Fetch complete details of a specific message, including content, status, and recipient info.</p>\n","urlObject":{"path":["messages",":id"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[{"description":{"content":"<p>Unique resource identifier.</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"a62d5829-58a1-4632-a5e2-4e22b2c7f545","name":"Response Get Detail","originalRequest":{"method":"GET","header":[{"key":"X-Session-Id","value":"wapi-test","description":"The target WhatsApp session ID.","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","description":"Secret token for session security.","type":"text"}],"url":{"raw":"http://127.0.0.1:8000/api/messages/:id","host":["http://127.0.0.1:8000/api"],"path":["messages",":id"],"variable":[{"key":"id","value":"1","description":"Unique resource identifier."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:43:56 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"\",\n    \"data\": {\n        \"id\": 1,\n        \"device_id\": 1,\n        \"session_id\": \"wapi-test\",\n        \"is_queue\": 1,\n        \"recipient\": \"62811010010010\",\n        \"message_type\": \"text\",\n        \"message\": \"Welcome home\",\n        \"file_mimetype\": null,\n        \"file_filename\": null,\n        \"file_url\": null,\n        \"calendar_type\": \"masehi\",\n        \"schedule_at\": \"2025-09-08T02:44:00.000000Z\",\n        \"status\": \"pending\",\n        \"is_sent\": 0,\n        \"provider_message_id\": null,\n        \"api_response\": null,\n        \"sent_at\": null,\n        \"delivered_at\": null,\n        \"read_at\": null,\n        \"status_updated_at\": null\n    }\n}"}],"_postman_id":"b78b3d66-7dc8-4c4a-a241-61b85d11eec3"},{"name":"Create","event":[{"listen":"prerequest","script":{"id":"c93d2da5-a4e4-4c16-96ad-d33a9cc6fc0a","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"09ec295e-6669-4d3e-ba0e-bd6e9819861b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json, text/plain, */*"},{"key":"Accept-Language","value":"en"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Type","value":"application/json"},{"key":"Origin","value":"http://project_be_venturo_real.test"},{"key":"Referer","value":"http://project_be_venturo_real.test/websaleshandal/"},{"key":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36"},{"key":"Cookie","value":"PHPSESSID=0suek17r27u77keiv8jka7hger"}],"body":{"mode":"raw","raw":"[\r\n  {\r\n    \"can_be_contacted\": \"Kapan Saja\",\r\n    \"company_name\": \"PT undefined\",\r\n    \"is_by_sales\": 0,\r\n    \"is_luarnegeri\": 0,\r\n    \"m_city_id\": {\r\n      \"id\": 16,\r\n      \"name\": \"Bandung\"\r\n    },\r\n    \"m_source_id\": {\r\n      \"id\": 15,\r\n      \"m_project_id\": 5,\r\n      \"name\": \"Google Ads GCC 2\",\r\n      \"type\": null,\r\n      \"is_digital\": null\r\n    },\r\n    \"name\": \"indo karang\",\r\n    \"phone\": \"6285975077444\"\r\n  }\r\n]\r\n","options":{"raw":{"language":"json"}}},"url":"http://project_be_venturo_real.test/websaleshandal/api/t_contact/create","description":"<p>Store a new message record. Typically used before sending or for internal logging.</p>\n","urlObject":{"protocol":"http","path":["websaleshandal","api","t_contact","create"],"host":["project_be_venturo_real","test"],"query":[],"variable":[]}},"response":[{"id":"0e8abeac-f971-430a-872a-45b948f2fdf6","name":"Response Create","originalRequest":{"method":"POST","header":[{"key":"X-Session-Id","value":"wapi-test","description":"The target WhatsApp session ID.","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","description":"Secret token for session security.","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"session_id\": \"wapi-test\",\r\n    \"is_queue\": true,\r\n    \"recipient\": \"0811010010010\",\r\n    \"message_type\": \"text\",\r\n    \"message\": \"Welcome home\",\r\n    \"file_url\": \"https://github.com/devlikeapro/waha/raw/core/examples/waha.jpg\",\r\n    \"schedule_at\": \"2025-09-08 09:44:00\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/messages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:43:05 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Data successfully added\",\n    \"data\": {\n        \"id\": 1,\n        \"device_id\": 1,\n        \"session_id\": \"wapi-test\",\n        \"is_queue\": true,\n        \"recipient\": \"62811010010010\",\n        \"message_type\": \"text\",\n        \"message\": \"Welcome home\",\n        \"file_mimetype\": null,\n        \"file_filename\": null,\n        \"file_url\": null,\n        \"calendar_type\": null,\n        \"schedule_at\": \"2025-09-08T02:44:00.000000Z\",\n        \"status\": null,\n        \"is_sent\": null,\n        \"provider_message_id\": null,\n        \"api_response\": null,\n        \"sent_at\": null,\n        \"delivered_at\": null,\n        \"read_at\": null,\n        \"status_updated_at\": null\n    }\n}"}],"_postman_id":"09ec295e-6669-4d3e-ba0e-bd6e9819861b"},{"name":"Create Batch","id":"176c5798-9db4-4bd1-baae-6a4e784586b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Session-Id","value":"wapi-test","description":"<p>The target WhatsApp session ID.</p>\n","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","description":"<p>Secret token for session security.</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"items\": [\r\n        {\r\n            \"session_id\": \"wapi-test\",\r\n            \"is_queue\": false,\r\n            \"recipient\": \"085812338262\",\r\n            \"message_type\": \"text\",\r\n            \"message\": \"Hai 1\",\r\n            \"schedule_at\": \"2025-09-08 09:51:00\"\r\n        },\r\n        {\r\n            \"session_id\": \"wapi-test\",\r\n            \"is_queue\": false,\r\n            \"recipient\": \"085812338262\",\r\n            \"message_type\": \"image\",\r\n            \"message\": \"Cek gambar\",\r\n            \"file_url\": \"https://github.com/devlikeapro/waha/raw/core/examples/waha.jpg\",\r\n            \"schedule_at\": \"2025-09-08 09:52:00\"\r\n        },\r\n        {\r\n            \"session_id\": \"wapi-test\",\r\n            \"is_queue\": true,\r\n            \"recipient\": \"085812338262\",\r\n            \"message_type\": \"file\",\r\n            \"message\": \"PDF besok\",\r\n            \"file_url\": \"https://api.rucika.co.id/price-list/16/download\",\r\n            \"schedule_at\": \"2025-09-15 12:49:00\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"/messages-batch","description":"<p>Store multiple messages in a single request.<br />Efficient for campaigns or bulk messaging where many recipients are targeted.</p>\n","urlObject":{"path":["messages-batch"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"a62f741e-8a75-498c-af36-23859885bb2e","name":"Response Create Batch","originalRequest":{"method":"POST","header":[{"key":"X-Session-Id","value":"wapi-test","description":"The target WhatsApp session ID.","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","description":"Secret token for session security.","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"items\": [\r\n        {\r\n            \"session_id\": \"wapi-test\",\r\n            \"is_queue\": false,\r\n            \"recipient\": \"62811010010010\",\r\n            \"message_type\": \"text\",\r\n            \"message\": \"Hai 1\",\r\n            \"schedule_at\": \"2025-09-08 09:51:00\"\r\n        },\r\n        {\r\n            \"session_id\": \"wapi-test\",\r\n            \"is_queue\": true,\r\n            \"recipient\": \"62811010010010\",\r\n            \"message_type\": \"image\",\r\n            \"message\": \"Cek gambar\",\r\n            \"file_url\": \"https://github.com/devlikeapro/waha/raw/core/examples/waha.jpg\",\r\n            \"schedule_at\": \"2025-09-08 09:52:00\"\r\n        },\r\n        {\r\n            \"session_id\": \"wapi-test\",\r\n            \"is_queue\": true,\r\n            \"recipient\": \"62811010010010\",\r\n            \"message_type\": \"file\",\r\n            \"message\": \"PDF besok\",\r\n            \"file_url\": \"https://api.rucika.co.id/price-list/16/download\",\r\n            \"schedule_at\": \"2025-09-08 09:53:00\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/messages-batch"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:49:34 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Batch processed\",\n    \"data\": {\n        \"batch_id\": \"9fd352e1-a8bd-4bc7-a9cc-b9c9e1f47167\",\n        \"items\": [\n            {\n                \"index\": 0,\n                \"status\": true,\n                \"message_id\": \"4\"\n            },\n            {\n                \"index\": 1,\n                \"status\": true,\n                \"message_id\": \"5\"\n            },\n            {\n                \"index\": 2,\n                \"status\": true,\n                \"message_id\": \"6\"\n            }\n        ]\n    }\n}"}],"_postman_id":"176c5798-9db4-4bd1-baae-6a4e784586b1"},{"name":"Update","id":"cd39d8da-f23e-4531-807e-346a66222e6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-Session-Id","value":"wapi-test","description":"<p>The target WhatsApp session ID.</p>\n","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","description":"<p>Secret token for session security.</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"session_id\": \"wapi-test\",\r\n    \"is_queue\": false,\r\n    \"recipient\": \"0811010010010\",\r\n    \"message_type\": \"text\",\r\n    \"message\": \"Hola\",\r\n    \"file_url\": \"https://github.com/devlikeapro/waha/raw/core/examples/waha.jpg\",\r\n    \"schedule_at\": \"2025-09-08 10:00:00\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/messages/:id","description":"<p>Edit message details or status. For example, mark a message as “processed” or update metadata.</p>\n","urlObject":{"path":["messages",":id"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[{"description":{"content":"<p>Unique resource identifier.</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"5fa81efb-ee6a-45cc-bb88-a9a350233485","name":"Update","originalRequest":{"method":"PUT","header":[{"key":"X-Session-Id","value":"wapi-test","description":"The target WhatsApp session ID.","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","description":"Secret token for session security.","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"session_id\": \"wapi-test\",\r\n    \"is_queue\": false,\r\n    \"recipient\": \"0811010010010\",\r\n    \"message_type\": \"text\",\r\n    \"message\": \"Hola\",\r\n    \"file_url\": \"https://github.com/devlikeapro/waha/raw/core/examples/waha.jpg\",\r\n    \"schedule_at\": \"2025-09-08 10:00:00\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://127.0.0.1:8000/api/messages/:id","host":["http://127.0.0.1:8000/api"],"path":["messages",":id"],"variable":[{"key":"id","value":"1","description":"Unique resource identifier."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:45:09 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Data successfully modified\",\n    \"data\": {\n        \"id\": 1,\n        \"device_id\": 1,\n        \"session_id\": \"wapi-test\",\n        \"is_queue\": 0,\n        \"recipient\": \"62811010010010\",\n        \"message_type\": \"text\",\n        \"message\": \"Hola\",\n        \"file_mimetype\": null,\n        \"file_filename\": null,\n        \"file_url\": null,\n        \"calendar_type\": \"masehi\",\n        \"schedule_at\": null,\n        \"status\": \"sent\",\n        \"is_sent\": 1,\n        \"provider_message_id\": \"true_62811010010010@c.us_3EB0A5E42732E237A42D7F\",\n        \"api_response\": \"{\\\"id\\\":\\\"true_62811010010010@c.us_3EB0A5E42732E237A42D7F\\\",\\\"_data\\\":{\\\"Info\\\":{\\\"Chat\\\":\\\"62811010010010@s.whatsapp.net\\\",\\\"Sender\\\":\\\"62811010010010:89@s.whatsapp.net\\\",\\\"IsFromMe\\\":true,\\\"IsGroup\\\":false,\\\"AddressingMode\\\":\\\"\\\",\\\"SenderAlt\\\":\\\"\\\",\\\"RecipientAlt\\\":\\\"\\\",\\\"BroadcastListOwner\\\":\\\"\\\",\\\"ID\\\":\\\"3EB0A5E42732E237A42D7F\\\",\\\"ServerID\\\":0,\\\"Type\\\":\\\"\\\",\\\"PushName\\\":\\\"\\\",\\\"Timestamp\\\":\\\"2025-09-08T02:44:36Z\\\",\\\"Category\\\":\\\"\\\",\\\"Multicast\\\":false,\\\"MediaType\\\":\\\"\\\",\\\"Edit\\\":\\\"\\\",\\\"MsgBotInfo\\\":{\\\"EditType\\\":\\\"\\\",\\\"EditTargetID\\\":\\\"\\\",\\\"EditSenderTimestampMS\\\":\\\"0001-01-01T00:00:00Z\\\"},\\\"MsgMetaInfo\\\":{\\\"TargetID\\\":\\\"\\\",\\\"TargetSender\\\":\\\"\\\",\\\"TargetChat\\\":\\\"\\\",\\\"DeprecatedLIDSession\\\":null,\\\"ThreadMessageID\\\":\\\"\\\",\\\"ThreadMessageSenderJID\\\":\\\"\\\"},\\\"VerifiedName\\\":null,\\\"DeviceSentMeta\\\":null},\\\"Message\\\":{\\\"extendedTextMessage\\\":{\\\"text\\\":\\\"Welcome home\\\"}},\\\"IsEphemeral\\\":false,\\\"IsViewOnce\\\":false,\\\"IsViewOnceV2\\\":false,\\\"IsViewOnceV2Extension\\\":false,\\\"IsDocumentWithCaption\\\":false,\\\"IsLottieSticker\\\":false,\\\"IsEdit\\\":false,\\\"SourceWebMsg\\\":null,\\\"UnavailableRequestID\\\":\\\"\\\",\\\"RetryCount\\\":0,\\\"NewsletterMeta\\\":null,\\\"RawMessage\\\":{\\\"extendedTextMessage\\\":{\\\"text\\\":\\\"Welcome home\\\"}}}}\",\n        \"sent_at\": \"2025-09-08T02:44:36.000000Z\",\n        \"delivered_at\": null,\n        \"read_at\": null,\n        \"status_updated_at\": \"2025-09-08T02:44:36.000000Z\"\n    }\n}"}],"_postman_id":"cd39d8da-f23e-4531-807e-346a66222e6f"},{"name":"Delete","id":"819aa221-af12-45fb-ab8c-0277a4a23882","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-Session-Id","value":"wapi-test","description":"<p>The target WhatsApp session ID.</p>\n","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","description":"<p>Secret token for session security.</p>\n","type":"text"}],"url":"http://127.0.0.1:8000/api/messages/:id","description":"<p>Soft-delete a message. It remains in the system but inactive.</p>\n","urlObject":{"path":["messages",":id"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[{"description":{"content":"<p>Unique resource identifier.</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"3cf78d8f-880a-44c0-a206-39250d682682","name":"Response Delete","originalRequest":{"method":"DELETE","header":[{"key":"X-Session-Id","value":"wapi-test","description":"The target WhatsApp session ID.","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","description":"Secret token for session security.","type":"text"}],"url":{"raw":"http://127.0.0.1:8000/api/messages/:id","host":["http://127.0.0.1:8000/api"],"path":["messages",":id"],"variable":[{"key":"id","value":"1","description":"Unique resource identifier."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:46:20 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Data successfully deleted\",\n    \"data\": {\n        \"id\": 1,\n        \"device_id\": 1,\n        \"session_id\": \"wapi-test\",\n        \"is_queue\": 0,\n        \"recipient\": \"62811010010010\",\n        \"message_type\": \"text\",\n        \"message\": \"Hola\",\n        \"file_mimetype\": null,\n        \"file_filename\": null,\n        \"file_url\": null,\n        \"calendar_type\": \"masehi\",\n        \"schedule_at\": null,\n        \"status\": \"sent\",\n        \"is_sent\": 1,\n        \"provider_message_id\": \"true_62811010010010@c.us_3EB0A5E42732E237A42D7F\",\n        \"api_response\": \"{\\\"id\\\":\\\"true_62811010010010@c.us_3EB0A5E42732E237A42D7F\\\",\\\"_data\\\":{\\\"Info\\\":{\\\"Chat\\\":\\\"62811010010010@s.whatsapp.net\\\",\\\"Sender\\\":\\\"62811010010010:89@s.whatsapp.net\\\",\\\"IsFromMe\\\":true,\\\"IsGroup\\\":false,\\\"AddressingMode\\\":\\\"\\\",\\\"SenderAlt\\\":\\\"\\\",\\\"RecipientAlt\\\":\\\"\\\",\\\"BroadcastListOwner\\\":\\\"\\\",\\\"ID\\\":\\\"3EB0A5E42732E237A42D7F\\\",\\\"ServerID\\\":0,\\\"Type\\\":\\\"\\\",\\\"PushName\\\":\\\"\\\",\\\"Timestamp\\\":\\\"2025-09-08T02:44:36Z\\\",\\\"Category\\\":\\\"\\\",\\\"Multicast\\\":false,\\\"MediaType\\\":\\\"\\\",\\\"Edit\\\":\\\"\\\",\\\"MsgBotInfo\\\":{\\\"EditType\\\":\\\"\\\",\\\"EditTargetID\\\":\\\"\\\",\\\"EditSenderTimestampMS\\\":\\\"0001-01-01T00:00:00Z\\\"},\\\"MsgMetaInfo\\\":{\\\"TargetID\\\":\\\"\\\",\\\"TargetSender\\\":\\\"\\\",\\\"TargetChat\\\":\\\"\\\",\\\"DeprecatedLIDSession\\\":null,\\\"ThreadMessageID\\\":\\\"\\\",\\\"ThreadMessageSenderJID\\\":\\\"\\\"},\\\"VerifiedName\\\":null,\\\"DeviceSentMeta\\\":null},\\\"Message\\\":{\\\"extendedTextMessage\\\":{\\\"text\\\":\\\"Welcome home\\\"}},\\\"IsEphemeral\\\":false,\\\"IsViewOnce\\\":false,\\\"IsViewOnceV2\\\":false,\\\"IsViewOnceV2Extension\\\":false,\\\"IsDocumentWithCaption\\\":false,\\\"IsLottieSticker\\\":false,\\\"IsEdit\\\":false,\\\"SourceWebMsg\\\":null,\\\"UnavailableRequestID\\\":\\\"\\\",\\\"RetryCount\\\":0,\\\"NewsletterMeta\\\":null,\\\"RawMessage\\\":{\\\"extendedTextMessage\\\":{\\\"text\\\":\\\"Welcome home\\\"}}}}\",\n        \"sent_at\": \"2025-09-08T02:44:36.000000Z\",\n        \"delivered_at\": null,\n        \"read_at\": null,\n        \"status_updated_at\": \"2025-09-08T02:44:36.000000Z\"\n    }\n}"}],"_postman_id":"819aa221-af12-45fb-ab8c-0277a4a23882"},{"name":"Restore","id":"295e3a12-289d-4d41-9792-45674bc6d8a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-Session-Id","value":"wapi-test","description":"<p>The target WhatsApp session ID.</p>\n","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","description":"<p>Secret token for session security.</p>\n","type":"text"}],"url":"http://127.0.0.1:8000/api/messages/:id/restore","description":"<p>Restore a previously deleted message back into active records.</p>\n","urlObject":{"path":["messages",":id","restore"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[{"description":{"content":"<p>Unique resource identifier.</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"d5b681b1-ac65-423f-862d-b7f3db130a38","name":"Response Restore","originalRequest":{"method":"PUT","header":[{"key":"X-Session-Id","value":"wapi-test","description":"The target WhatsApp session ID.","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","description":"Secret token for session security.","type":"text"}],"url":{"raw":"http://127.0.0.1:8000/api/messages/:id/restore","host":["http://127.0.0.1:8000/api"],"path":["messages",":id","restore"],"variable":[{"key":"id","value":"1","description":"Unique resource identifier."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:46:35 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Data successfully restored\",\n    \"data\": {\n        \"id\": 1,\n        \"device_id\": 1,\n        \"session_id\": \"wapi-test\",\n        \"is_queue\": 0,\n        \"recipient\": \"62811010010010\",\n        \"message_type\": \"text\",\n        \"message\": \"Hola\",\n        \"file_mimetype\": null,\n        \"file_filename\": null,\n        \"file_url\": null,\n        \"calendar_type\": \"masehi\",\n        \"schedule_at\": null,\n        \"status\": \"sent\",\n        \"is_sent\": 1,\n        \"provider_message_id\": \"true_62811010010010@c.us_3EB0A5E42732E237A42D7F\",\n        \"api_response\": \"{\\\"id\\\":\\\"true_62811010010010@c.us_3EB0A5E42732E237A42D7F\\\",\\\"_data\\\":{\\\"Info\\\":{\\\"Chat\\\":\\\"62811010010010@s.whatsapp.net\\\",\\\"Sender\\\":\\\"62811010010010:89@s.whatsapp.net\\\",\\\"IsFromMe\\\":true,\\\"IsGroup\\\":false,\\\"AddressingMode\\\":\\\"\\\",\\\"SenderAlt\\\":\\\"\\\",\\\"RecipientAlt\\\":\\\"\\\",\\\"BroadcastListOwner\\\":\\\"\\\",\\\"ID\\\":\\\"3EB0A5E42732E237A42D7F\\\",\\\"ServerID\\\":0,\\\"Type\\\":\\\"\\\",\\\"PushName\\\":\\\"\\\",\\\"Timestamp\\\":\\\"2025-09-08T02:44:36Z\\\",\\\"Category\\\":\\\"\\\",\\\"Multicast\\\":false,\\\"MediaType\\\":\\\"\\\",\\\"Edit\\\":\\\"\\\",\\\"MsgBotInfo\\\":{\\\"EditType\\\":\\\"\\\",\\\"EditTargetID\\\":\\\"\\\",\\\"EditSenderTimestampMS\\\":\\\"0001-01-01T00:00:00Z\\\"},\\\"MsgMetaInfo\\\":{\\\"TargetID\\\":\\\"\\\",\\\"TargetSender\\\":\\\"\\\",\\\"TargetChat\\\":\\\"\\\",\\\"DeprecatedLIDSession\\\":null,\\\"ThreadMessageID\\\":\\\"\\\",\\\"ThreadMessageSenderJID\\\":\\\"\\\"},\\\"VerifiedName\\\":null,\\\"DeviceSentMeta\\\":null},\\\"Message\\\":{\\\"extendedTextMessage\\\":{\\\"text\\\":\\\"Welcome home\\\"}},\\\"IsEphemeral\\\":false,\\\"IsViewOnce\\\":false,\\\"IsViewOnceV2\\\":false,\\\"IsViewOnceV2Extension\\\":false,\\\"IsDocumentWithCaption\\\":false,\\\"IsLottieSticker\\\":false,\\\"IsEdit\\\":false,\\\"SourceWebMsg\\\":null,\\\"UnavailableRequestID\\\":\\\"\\\",\\\"RetryCount\\\":0,\\\"NewsletterMeta\\\":null,\\\"RawMessage\\\":{\\\"extendedTextMessage\\\":{\\\"text\\\":\\\"Welcome home\\\"}}}}\",\n        \"sent_at\": \"2025-09-08T02:44:36.000000Z\",\n        \"delivered_at\": null,\n        \"read_at\": null,\n        \"status_updated_at\": \"2025-09-08T02:44:36.000000Z\"\n    }\n}"}],"_postman_id":"295e3a12-289d-4d41-9792-45674bc6d8a4"}],"id":"afbd763e-b9fc-4ec9-b3e1-aaf829f198ef","description":"<p>Provides CRUD operations for <strong>stored messages</strong> in the system database.<br />These are not direct sends, but message records that can be processed or queued.</p>\n","_postman_id":"afbd763e-b9fc-4ec9-b3e1-aaf829f198ef"}],"id":"90fb7df4-f61d-4f51-9cfd-b5a0a5c29fca","description":"<p>Endpoints related to <strong>resource management</strong> (devices and messages). Think of it as the system’s internal database layer before interacting with WhatsApp.</p>\n","_postman_id":"90fb7df4-f61d-4f51-9cfd-b5a0a5c29fca"},{"name":"WAPI","item":[{"name":"Session","item":[{"name":"Get All","id":"427a36c0-9f76-4c4a-b776-0a21932e1fee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","description":"<p>Instructs the server to return responses in JSON format.</p>\n","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/waha/sessions?all=false","description":"<p>List all sessions currently registered. Useful to monitor multiple WhatsApp accounts.</p>\n","urlObject":{"path":["v1","waha","sessions"],"host":["http://127.0.0.1:8000/api"],"query":[{"description":{"content":"<p>Include deleted items if true</p>\n","type":"text/plain"},"key":"all","value":"false"}],"variable":[]}},"response":[{"id":"c831b456-eb55-41ed-92d3-39fc3da0cb22","name":"Response Get All","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","description":"Instructs the server to return responses in JSON format.","type":"text"}],"url":{"raw":"http://127.0.0.1:8000/api/v1/waha/sessions?all=false","host":["http://127.0.0.1:8000/api"],"path":["v1","waha","sessions"],"query":[{"key":"all","value":"false","description":"Include deleted items if true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:55:59 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"wapi-test\",\n        \"status\": \"WORKING\",\n        \"config\": {\n            \"metadata\": {\n                \"user.id\": \"1\",\n                \"user.email\": \"admin@example.com\"\n            },\n            \"proxy\": null,\n            \"debug\": false,\n            \"noweb\": {\n                \"markOnline\": true,\n                \"store\": {\n                    \"enabled\": true,\n                    \"fullSync\": false\n                }\n            },\n            \"webhooks\": [\n                {\n                    \"url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\n                    \"events\": [\n                        \"session.status\",\n                        \"message.ack\"\n                    ],\n                    \"hmac\": null,\n                    \"retries\": null,\n                    \"customHeaders\": null\n                },\n                {\n                    \"url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\n                    \"events\": [\n                        \"message\",\n                        \"message.ack\",\n                        \"message.waiting\"\n                    ],\n                    \"hmac\": null,\n                    \"retries\": null,\n                    \"customHeaders\": null\n                }\n            ]\n        },\n        \"me\": {\n            \"id\": \"62811010010010@c.us\",\n            \"pushName\": \"User Guest\",\n            \"jid\": \"62811010010010:89@s.whatsapp.net\"\n        },\n        \"assignedWorker\": \"worker-sunsal\"\n    }\n]"}],"_postman_id":"427a36c0-9f76-4c4a-b776-0a21932e1fee"},{"name":"Get Detail","id":"099ad061-7242-4cf5-be77-55f344f8fd77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","description":"<p>Instructs the server to return responses in JSON format.</p>\n","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/waha/sessions/:session_id","description":"<p>Fetch full details of a single session by its ID, including connection status and linked number.</p>\n","urlObject":{"path":["v1","waha","sessions",":session_id"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[{"description":{"content":"<p>WhatsApp session identifier.</p>\n","type":"text/plain"},"type":"any","value":"wapi-test","key":"session_id"}]}},"response":[{"id":"675d8580-4c27-4df2-a6e9-480b3ff9e4c2","name":"Response Get Detail","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","description":"Instructs the server to return responses in JSON format.","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"url":{"raw":"http://127.0.0.1:8000/api/v1/waha/sessions/:session_id","host":["http://127.0.0.1:8000/api"],"path":["v1","waha","sessions",":session_id"],"variable":[{"key":"session_id","value":"wapi-test","description":"WhatsApp session identifier."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:56:25 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"wapi-test\",\n    \"status\": \"WORKING\",\n    \"config\": {\n        \"metadata\": {\n            \"user.id\": \"1\",\n            \"user.email\": \"admin@example.com\"\n        },\n        \"proxy\": null,\n        \"debug\": false,\n        \"noweb\": {\n            \"markOnline\": true,\n            \"store\": {\n                \"enabled\": true,\n                \"fullSync\": false\n            }\n        },\n        \"webhooks\": [\n            {\n                \"url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\n                \"events\": [\n                    \"session.status\",\n                    \"message.ack\"\n                ],\n                \"hmac\": null,\n                \"retries\": null,\n                \"customHeaders\": null\n            },\n            {\n                \"url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\n                \"events\": [\n                    \"message\",\n                    \"message.ack\",\n                    \"message.waiting\"\n                ],\n                \"hmac\": null,\n                \"retries\": null,\n                \"customHeaders\": null\n            }\n        ]\n    },\n    \"me\": {\n        \"id\": \"62811010010010@c.us\",\n        \"pushName\": \"User Guest\",\n        \"jid\": \"62811010010010:89@s.whatsapp.net\"\n    },\n    \"engine\": {\n        \"grpc\": {\n            \"client\": \"READY\",\n            \"stream\": \"READY\"\n        },\n        \"gows\": {\n            \"found\": true,\n            \"connected\": true\n        }\n    }\n}"}],"_postman_id":"099ad061-7242-4cf5-be77-55f344f8fd77"},{"name":"Get Me","id":"34d2f25f-85eb-46ac-ac2e-dae3b0299b05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","description":"<p>Instructs the server to return responses in JSON format.</p>\n","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/waha/sessions/:session_id/me","description":"<p>Retrieve details about the current authenticated WhatsApp account.<br />Often used to confirm the number and profile of the logged-in account.</p>\n","urlObject":{"path":["v1","waha","sessions",":session_id","me"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[{"description":{"content":"<p>WhatsApp session identifier.</p>\n","type":"text/plain"},"type":"any","value":"wapi-test","key":"session_id"}]}},"response":[{"id":"e581c1f3-7c71-4bba-a58d-80bdf448f0b0","name":"Response Get Me","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","description":"Instructs the server to return responses in JSON format.","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"url":{"raw":"http://127.0.0.1:8000/api/v1/waha/sessions/:session_id/me","host":["http://127.0.0.1:8000/api"],"path":["v1","waha","sessions",":session_id","me"],"variable":[{"key":"session_id","value":"wapi-test","description":"WhatsApp session identifier."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:56:54 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"62811010010010@c.us\",\n    \"pushName\": \"User Guest\",\n    \"jid\": \"62811010010010:89@s.whatsapp.net\"\n}"}],"_postman_id":"34d2f25f-85eb-46ac-ac2e-dae3b0299b05"},{"name":"Update","id":"4b3ab15a-4c4a-4d52-9a70-d2d23c7e188e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json","description":"<p>Instructs the server to return responses in JSON format.</p>\n","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"wapi-test\",\r\n    \"config\": {\r\n        \"metadata\": {\r\n            \"user.id\": \"1\",\r\n            \"user.email\": \"userguest@gmail.com\"\r\n        },\r\n        \"proxy\": null,\r\n        \"debug\": false,\r\n        \"noweb\": {\r\n            \"store\": {\r\n                \"enabled\": true,\r\n                \"fullSync\": false\r\n            }\r\n        },\r\n        \"webhooks\": [\r\n            {\r\n                \"url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\r\n                \"events\": [\r\n                    \"session.status\",\r\n                    \"message.ack\",\r\n                    \"message.waiting\"\r\n                ],\r\n                \"hmac\": null,\r\n                \"retries\": null,\r\n                \"customHeaders\": null\r\n            }\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/waha/sessions/:session_id","description":"<p>Modify session configuration or metadata (e.g., webhook URL, name, or settings).</p>\n","urlObject":{"path":["v1","waha","sessions",":session_id"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[{"description":{"content":"<p>WhatsApp session identifier.</p>\n","type":"text/plain"},"type":"any","value":"wapi-test","key":"session_id"}]}},"response":[{"id":"f6e2daf2-d9ab-47e7-97ab-82f748cabe5d","name":"Response Update","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json","description":"Instructs the server to return responses in JSON format.","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"wapi-test\",\r\n    \"config\": {\r\n        \"metadata\": {\r\n            \"user.id\": \"1\",\r\n            \"user.email\": \"userguest@gmail.com\"\r\n        },\r\n        \"proxy\": null,\r\n        \"debug\": false,\r\n        \"noweb\": {\r\n            \"store\": {\r\n                \"enabled\": true,\r\n                \"fullSync\": false\r\n            }\r\n        },\r\n        \"webhooks\": [\r\n            {\r\n                \"url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\r\n                \"events\": [\r\n                    \"session.status\",\r\n                    \"message.ack\",\r\n                    \"message.waiting\"\r\n                ],\r\n                \"hmac\": null,\r\n                \"retries\": null,\r\n                \"customHeaders\": null\r\n            }\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://127.0.0.1:8000/api/v1/waha/sessions/:session_id","host":["http://127.0.0.1:8000/api"],"path":["v1","waha","sessions",":session_id"],"variable":[{"key":"session_id","value":"wapi-test","description":"WhatsApp session identifier."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 03:02:05 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"wapi-test\",\n    \"status\": \"STARTING\",\n    \"config\": {\n        \"metadata\": {\n            \"user.id\": \"1\",\n            \"user.email\": \"userguest@gmail.com\"\n        },\n        \"proxy\": null,\n        \"debug\": false,\n        \"noweb\": {\n            \"markOnline\": true,\n            \"store\": {\n                \"enabled\": true,\n                \"fullSync\": false\n            }\n        },\n        \"webhooks\": [\n            {\n                \"url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\n                \"events\": [\n                    \"session.status\",\n                    \"message.ack\",\n                    \"message.waiting\"\n                ],\n                \"hmac\": null,\n                \"retries\": null,\n                \"customHeaders\": null\n            }\n        ]\n    },\n    \"engine\": {\n        \"grpc\": {\n            \"client\": \"READY\",\n            \"stream\": \"READY\"\n        },\n        \"gows\": {\n            \"found\": true,\n            \"connected\": true\n        }\n    }\n}"}],"_postman_id":"4b3ab15a-4c4a-4d52-9a70-d2d23c7e188e"},{"name":"Profile","id":"69468cd3-0e0c-4a25-ac39-8cc37f1ac28a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","description":"<p>Instructs the server to return responses in JSON format.</p>\n","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/waha/:session_id/profile","description":"<p>Fetch the WhatsApp profile data of the connected session.<br />Returns display name, profile picture, and other info.</p>\n","urlObject":{"path":["v1","waha",":session_id","profile"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[{"description":{"content":"<p>WhatsApp session identifier.</p>\n","type":"text/plain"},"type":"any","value":"wapi-test","key":"session_id"}]}},"response":[{"id":"4ba49365-ddaa-4b6c-9568-0c78f9ec6e1b","name":"Response Profile","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","description":"Instructs the server to return responses in JSON format.","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"url":{"raw":"http://127.0.0.1:8000/api/v1/waha/:session_id/profile","host":["http://127.0.0.1:8000/api"],"path":["v1","waha",":session_id","profile"],"variable":[{"key":"session_id","value":"wapi-test","description":"WhatsApp session identifier."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:57:23 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"62811010010010@c.us\",\n    \"name\": \"User Guest\",\n    \"picture\": \"https://pps.whatsapp.net/v/t61.24694-24/534423495_2212800639238447_2813432646728527521_n.jpg?ccb=11-4&oh=01_Q5Aa2gG992hUaueHbbFKTrH8KSrK8IimdXABr-p13ZsboR1JPg&oe=68CB5EB3&_nc_sid=5e03e0&_nc_cat=107\"\n}"}],"_postman_id":"69468cd3-0e0c-4a25-ac39-8cc37f1ac28a"},{"name":"Create","id":"1ed9a651-7be5-49f3-9807-101b11071d12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"<p>Instructs the server to return responses in JSON format.</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"wapi-test\",\r\n    \"start\": true,\r\n    \"config\": {\r\n        \"metadata\": {\r\n            \"user.id\": \"1\",\r\n            \"user.email\": \"userguest@gmail.com\"\r\n        },\r\n        \"proxy\": null,\r\n        \"debug\": false,\r\n        \"noweb\": {\r\n            \"store\": {\r\n                \"enabled\": true,\r\n                \"fullSync\": false\r\n            }\r\n        },\r\n        \"webhooks\": [\r\n            {\r\n                \"url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\r\n                \"events\": [\r\n                    \"session.status\",\r\n                    \"message\",\r\n                    \"message.ack\",\r\n                    \"message.waiting\"\r\n                ],\r\n                \"hmac\": null,\r\n                \"retries\": null,\r\n                \"customHeaders\": null\r\n            }\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/waha/sessions","description":"<p>Start a new session.<br />Generates a QR code to be scanned with WhatsApp for authentication.</p>\n","urlObject":{"path":["v1","waha","sessions"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[]}},"response":[{"id":"3e24a81c-9e63-40a9-ba43-b69a999518a2","name":"Response Create","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"Instructs the server to return responses in JSON format.","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"wapi-test\",\r\n    \"start\": true,\r\n    \"config\": {\r\n        \"metadata\": {\r\n            \"user.id\": \"1\",\r\n            \"user.email\": \"userguest@gmail.com\"\r\n        },\r\n        \"proxy\": null,\r\n        \"debug\": false,\r\n        \"noweb\": {\r\n            \"store\": {\r\n                \"enabled\": true,\r\n                \"fullSync\": false\r\n            }\r\n        },\r\n        \"webhooks\": [\r\n            {\r\n                \"url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\r\n                \"events\": [\r\n                    \"session.status\",\r\n                    \"message\",\r\n                    \"message.ack\",\r\n                    \"message.waiting\"\r\n                ],\r\n                \"hmac\": null,\r\n                \"retries\": null,\r\n                \"customHeaders\": null\r\n            }\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/waha/sessions"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:59:00 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"wapi-test\",\n    \"status\": \"STARTING\",\n    \"config\": {\n        \"metadata\": {\n            \"user.id\": \"1\",\n            \"user.email\": \"userguest@gmail.com\"\n        },\n        \"proxy\": null,\n        \"debug\": false,\n        \"noweb\": {\n            \"markOnline\": true,\n            \"store\": {\n                \"enabled\": true,\n                \"fullSync\": false\n            }\n        },\n        \"webhooks\": [\n            {\n                \"url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\n                \"events\": [\n                    \"session.status\",\n                    \"message\",\n                    \"message.ack\",\n                    \"message.waiting\"\n                ],\n                \"hmac\": null,\n                \"retries\": null,\n                \"customHeaders\": null\n            }\n        ]\n    },\n    \"engine\": {\n        \"grpc\": {\n            \"client\": \"READY\",\n            \"stream\": \"READY\"\n        },\n        \"gows\": {\n            \"found\": true,\n            \"connected\": true\n        }\n    }\n}"}],"_postman_id":"1ed9a651-7be5-49f3-9807-101b11071d12"},{"name":"Restart","id":"0801a373-9d57-49ed-b9d5-c6ffb8ac88fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"<p>Instructs the server to return responses in JSON format.</p>\n","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/waha/sessions/:session_id/restart","description":"<p>Restart a session if it becomes disconnected or unstable.<br />Useful for automatic recovery without creating a new session.</p>\n","urlObject":{"path":["v1","waha","sessions",":session_id","restart"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[{"description":{"content":"<p>WhatsApp session identifier.</p>\n","type":"text/plain"},"type":"any","value":"wapi-test","key":"session_id"}]}},"response":[{"id":"184816cd-4a05-45e7-a6a0-19575fe52598","name":"Response Restart","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"Instructs the server to return responses in JSON format.","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"url":{"raw":"http://127.0.0.1:8000/api/v1/waha/sessions/:session_id/restart","host":["http://127.0.0.1:8000/api"],"path":["v1","waha","sessions",":session_id","restart"],"variable":[{"key":"session_id","value":"wapi-test","description":"WhatsApp session identifier."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 03:02:46 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"wapi-test\",\n    \"status\": \"STARTING\",\n    \"config\": {\n        \"metadata\": {\n            \"user.id\": \"1\",\n            \"user.email\": \"userguest@gmail.com\"\n        },\n        \"proxy\": null,\n        \"debug\": false,\n        \"noweb\": {\n            \"markOnline\": true,\n            \"store\": {\n                \"enabled\": true,\n                \"fullSync\": false\n            }\n        },\n        \"webhooks\": [\n            {\n                \"url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\n                \"events\": [\n                    \"session.status\",\n                    \"message.ack\",\n                    \"message.waiting\"\n                ],\n                \"hmac\": null,\n                \"retries\": null,\n                \"customHeaders\": null\n            }\n        ]\n    },\n    \"engine\": {\n        \"grpc\": {\n            \"client\": \"READY\",\n            \"stream\": \"READY\"\n        },\n        \"gows\": {\n            \"found\": true,\n            \"connected\": true\n        }\n    }\n}"}],"_postman_id":"0801a373-9d57-49ed-b9d5-c6ffb8ac88fa"},{"name":"Logout","id":"f2693d87-4c10-4699-97fc-79d8baf40603","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"<p>Instructs the server to return responses in JSON format.</p>\n","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/waha/sessions/:session_id/logout","description":"<p>Log out from the WhatsApp account but keep the session entry intact in the system.</p>\n","urlObject":{"path":["v1","waha","sessions",":session_id","logout"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[{"description":{"content":"<p>WhatsApp session identifier.</p>\n","type":"text/plain"},"type":"any","value":"wapi-test","key":"session_id"}]}},"response":[{"id":"e7cc7134-37d1-4205-b190-266303cbacd4","name":"Response Logout","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"Instructs the server to return responses in JSON format.","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"url":{"raw":"http://127.0.0.1:8000/api/v1/waha/sessions/:session_id/logout","host":["http://127.0.0.1:8000/api"],"path":["v1","waha","sessions",":session_id","logout"],"variable":[{"key":"session_id","value":"wapi-test","description":"WhatsApp session identifier."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 03:03:41 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"wapi-test\",\n    \"status\": \"STARTING\",\n    \"config\": {\n        \"metadata\": {\n            \"user.id\": \"1\",\n            \"user.email\": \"userguest@gmail.com\"\n        },\n        \"proxy\": null,\n        \"debug\": false,\n        \"noweb\": {\n            \"markOnline\": true,\n            \"store\": {\n                \"enabled\": true,\n                \"fullSync\": false\n            }\n        },\n        \"webhooks\": [\n            {\n                \"url\": \"https://f947f32ac09a.ngrok-free.app/api/v1/waha-webhook\",\n                \"events\": [\n                    \"session.status\",\n                    \"message.ack\",\n                    \"message.waiting\"\n                ],\n                \"hmac\": null,\n                \"retries\": null,\n                \"customHeaders\": null\n            }\n        ]\n    },\n    \"engine\": {\n        \"grpc\": {\n            \"client\": \"READY\",\n            \"stream\": \"READY\"\n        },\n        \"gows\": {\n            \"found\": true,\n            \"connected\": true\n        }\n    }\n}"}],"_postman_id":"f2693d87-4c10-4699-97fc-79d8baf40603"},{"name":"Delete","id":"09d49f10-c36b-4b6e-bbb4-3b3a0cf89b8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","description":"<p>Instructs the server to return responses in JSON format.</p>\n","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/waha/sessions/:session_id","description":"<p>Permanently delete a session from the system.</p>\n","urlObject":{"path":["v1","waha","sessions",":session_id"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[{"description":{"content":"<p>WhatsApp session identifier.</p>\n","type":"text/plain"},"type":"any","value":"wapi-test","key":"session_id"}]}},"response":[{"id":"409cb78d-c9b8-48fb-aa01-8f2fd747162f","name":"Response Delete","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","description":"Instructs the server to return responses in JSON format.","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"url":{"raw":"http://127.0.0.1:8000/api/v1/waha/sessions/:session_id","host":["http://127.0.0.1:8000/api"],"path":["v1","waha","sessions",":session_id"],"variable":[{"key":"session_id","value":"wapi-test","description":"WhatsApp session identifier."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 03:04:08 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":""}],"_postman_id":"09d49f10-c36b-4b6e-bbb4-3b3a0cf89b8c"}],"id":"f61d2cab-3373-4f4f-8e8c-2d6581714626","description":"<p>Handle WhatsApp sessions — from login (QR scanning), profile retrieval, to logout.<br />A session represents a single WhatsApp account connected via Sunsal Wapim.</p>\n","_postman_id":"f61d2cab-3373-4f4f-8e8c-2d6581714626"},{"name":"Message","item":[{"name":"Send Text","id":"97a503a5-c21c-4a08-886a-9942335a14f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"<p>Instructs the server to return responses in JSON format.</p>\n","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"chatId\": \"62811010010010\",\r\n    \"reply_to\": \"\",\r\n    \"text\": \"Waha Venturo, hello world!\",\r\n    \"linkPreview\": true,\r\n    \"linkPreviewHighQuality\": false,\r\n    \"session\": \"wapi-test\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/waha/send-text","description":"<p>Send a plain text message to a recipient.<br />Body includes recipient number (international format) and text content.</p>\n","urlObject":{"path":["v1","waha","send-text"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[]}},"response":[{"id":"3437a81b-a991-427a-8207-f3503864d302","name":"Response Send Text","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"Instructs the server to return responses in JSON format.","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"chatId\": \"62811010010010\",\r\n    \"reply_to\": \"\",\r\n    \"text\": \"Waha Venturo, hello world!\",\r\n    \"linkPreview\": true,\r\n    \"linkPreviewHighQuality\": false,\r\n    \"session\": \"wapi-test\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/waha/send-text"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:53:43 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"true_62811010010010@c.us_3EB0BC8C62599422671787\",\n    \"_data\": {\n        \"Info\": {\n            \"Chat\": \"62811010010010@s.whatsapp.net\",\n            \"Sender\": \"62811010010010:89@s.whatsapp.net\",\n            \"IsFromMe\": true,\n            \"IsGroup\": false,\n            \"AddressingMode\": \"\",\n            \"SenderAlt\": \"\",\n            \"RecipientAlt\": \"\",\n            \"BroadcastListOwner\": \"\",\n            \"ID\": \"3EB0BC8C62599422671787\",\n            \"ServerID\": 0,\n            \"Type\": \"\",\n            \"PushName\": \"\",\n            \"Timestamp\": \"2025-09-08T02:53:43Z\",\n            \"Category\": \"\",\n            \"Multicast\": false,\n            \"MediaType\": \"\",\n            \"Edit\": \"\",\n            \"MsgBotInfo\": {\n                \"EditType\": \"\",\n                \"EditTargetID\": \"\",\n                \"EditSenderTimestampMS\": \"0001-01-01T00:00:00Z\"\n            },\n            \"MsgMetaInfo\": {\n                \"TargetID\": \"\",\n                \"TargetSender\": \"\",\n                \"TargetChat\": \"\",\n                \"DeprecatedLIDSession\": null,\n                \"ThreadMessageID\": \"\",\n                \"ThreadMessageSenderJID\": \"\"\n            },\n            \"VerifiedName\": null,\n            \"DeviceSentMeta\": null\n        },\n        \"Message\": {\n            \"extendedTextMessage\": {\n                \"text\": \"Waha Venturo, hello world!\"\n            }\n        },\n        \"IsEphemeral\": false,\n        \"IsViewOnce\": false,\n        \"IsViewOnceV2\": false,\n        \"IsViewOnceV2Extension\": false,\n        \"IsDocumentWithCaption\": false,\n        \"IsLottieSticker\": false,\n        \"IsEdit\": false,\n        \"SourceWebMsg\": null,\n        \"UnavailableRequestID\": \"\",\n        \"RetryCount\": 0,\n        \"NewsletterMeta\": null,\n        \"RawMessage\": {\n            \"extendedTextMessage\": {\n                \"text\": \"Waha Venturo, hello world!\"\n            }\n        }\n    }\n}"}],"_postman_id":"97a503a5-c21c-4a08-886a-9942335a14f9"},{"name":"Send Image","id":"c76d009c-0b97-46ca-83e6-21c0e4f84940","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"<p>Instructs the server to return responses in JSON format.</p>\n","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"chatId\": \"62811010010010@c.us\",\r\n    \"file\": {\r\n        \"mimetype\": \"image/jpeg\",\r\n        \"filename\": \"filename.jpg\",\r\n        \"url\": \"https://github.com/devlikeapro/waha/raw/core/examples/waha.jpg\"\r\n    },\r\n    \"reply_to\": null,\r\n    \"caption\": \"Testing caption on send image\",\r\n    \"session\": \"wapi-test\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/waha/send-image","description":"<p>Send an image file with an optional caption.<br />Supports only <code>url</code> links to images.</p>\n","urlObject":{"path":["v1","waha","send-image"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[]}},"response":[{"id":"9a40ec4b-9a6e-46d1-87b9-5aad520030f5","name":"Send Image","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"Instructs the server to return responses in JSON format.","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"chatId\": \"62811010010010@c.us\",\r\n    \"file\": {\r\n        \"mimetype\": \"image/jpeg\",\r\n        \"filename\": \"filename.jpg\",\r\n        \"url\": \"https://github.com/devlikeapro/waha/raw/core/examples/waha.jpg\"\r\n    },\r\n    \"reply_to\": null,\r\n    \"caption\": \"Testing caption on send image\",\r\n    \"session\": \"wapi-test\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/waha/send-image"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:54:12 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": \"true_62811010010010@c.us_3EB03CE6FCA53C98688377\",\n    \"_data\": {\n        \"Info\": {\n            \"Chat\": \"62811010010010@s.whatsapp.net\",\n            \"Sender\": \"62811010010010:89@s.whatsapp.net\",\n            \"IsFromMe\": true,\n            \"IsGroup\": false,\n            \"AddressingMode\": \"\",\n            \"SenderAlt\": \"\",\n            \"RecipientAlt\": \"\",\n            \"BroadcastListOwner\": \"\",\n            \"ID\": \"3EB03CE6FCA53C98688377\",\n            \"ServerID\": 0,\n            \"Type\": \"\",\n            \"PushName\": \"\",\n            \"Timestamp\": \"2025-09-08T02:54:12Z\",\n            \"Category\": \"\",\n            \"Multicast\": false,\n            \"MediaType\": \"\",\n            \"Edit\": \"\",\n            \"MsgBotInfo\": {\n                \"EditType\": \"\",\n                \"EditTargetID\": \"\",\n                \"EditSenderTimestampMS\": \"0001-01-01T00:00:00Z\"\n            },\n            \"MsgMetaInfo\": {\n                \"TargetID\": \"\",\n                \"TargetSender\": \"\",\n                \"TargetChat\": \"\",\n                \"DeprecatedLIDSession\": null,\n                \"ThreadMessageID\": \"\",\n                \"ThreadMessageSenderJID\": \"\"\n            },\n            \"VerifiedName\": null,\n            \"DeviceSentMeta\": null\n        },\n        \"Message\": {\n            \"imageMessage\": {\n                \"URL\": \"https://mmg.whatsapp.net/o1/v/t24/f2/m231/AQN_SzcNT2CYEyxFMJmGXu5NxqEmhuVQwljlR-6PTXf4_XrCUg2vbUtETbc-BGbXmAMhC2EUAxie-riThnz1WwcumpozJdFJlEwSC8P45g?ccb=9-4&oh=01_Q5Aa2gEVJTr7LYFqAXvNVxjXhYdo6W8Oyl5KIWM1mzuXfxcX7Q&oe=68E5ACB3&_nc_sid=e6ed6c&mms3=true\",\n                \"mimetype\": \"image/jpeg\",\n                \"caption\": \"Testing caption on send image\",\n                \"fileSHA256\": \"UuoWVofXxZnBNfASXKQhszVsDS6RGWMpdyOMQJ9abLQ=\",\n                \"fileLength\": 17130,\n                \"mediaKey\": \"b7POGg7Z3MRQIENP2v+7ZB6oRK8YW53JKh4bgbL9EZE=\",\n                \"fileEncSHA256\": \"Nu3kWwX07RUZYlpPDWlCFmgOXsvV98XCibLGtPGa14M=\",\n                \"directPath\": \"/o1/v/t24/f2/m231/AQN_SzcNT2CYEyxFMJmGXu5NxqEmhuVQwljlR-6PTXf4_XrCUg2vbUtETbc-BGbXmAMhC2EUAxie-riThnz1WwcumpozJdFJlEwSC8P45g?ccb=9-4&oh=01_Q5Aa2gEVJTr7LYFqAXvNVxjXhYdo6W8Oyl5KIWM1mzuXfxcX7Q&oe=68E5ACB3&_nc_sid=e6ed6c\",\n                \"JPEGThumbnail\": \"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\"\n            }\n        },\n        \"IsEphemeral\": false,\n        \"IsViewOnce\": false,\n        \"IsViewOnceV2\": false,\n        \"IsViewOnceV2Extension\": false,\n        \"IsDocumentWithCaption\": false,\n        \"IsLottieSticker\": false,\n        \"IsEdit\": false,\n        \"SourceWebMsg\": null,\n        \"UnavailableRequestID\": \"\",\n        \"RetryCount\": 0,\n        \"NewsletterMeta\": null,\n        \"RawMessage\": {\n            \"imageMessage\": {\n                \"URL\": \"https://mmg.whatsapp.net/o1/v/t24/f2/m231/AQN_SzcNT2CYEyxFMJmGXu5NxqEmhuVQwljlR-6PTXf4_XrCUg2vbUtETbc-BGbXmAMhC2EUAxie-riThnz1WwcumpozJdFJlEwSC8P45g?ccb=9-4&oh=01_Q5Aa2gEVJTr7LYFqAXvNVxjXhYdo6W8Oyl5KIWM1mzuXfxcX7Q&oe=68E5ACB3&_nc_sid=e6ed6c&mms3=true\",\n                \"mimetype\": \"image/jpeg\",\n                \"caption\": \"Testing caption on send image\",\n                \"fileSHA256\": \"UuoWVofXxZnBNfASXKQhszVsDS6RGWMpdyOMQJ9abLQ=\",\n                \"fileLength\": 17130,\n                \"mediaKey\": \"b7POGg7Z3MRQIENP2v+7ZB6oRK8YW53JKh4bgbL9EZE=\",\n                \"fileEncSHA256\": \"Nu3kWwX07RUZYlpPDWlCFmgOXsvV98XCibLGtPGa14M=\",\n                \"directPath\": \"/o1/v/t24/f2/m231/AQN_SzcNT2CYEyxFMJmGXu5NxqEmhuVQwljlR-6PTXf4_XrCUg2vbUtETbc-BGbXmAMhC2EUAxie-riThnz1WwcumpozJdFJlEwSC8P45g?ccb=9-4&oh=01_Q5Aa2gEVJTr7LYFqAXvNVxjXhYdo6W8Oyl5KIWM1mzuXfxcX7Q&oe=68E5ACB3&_nc_sid=e6ed6c\",\n                \"JPEGThumbnail\": \"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\"\n            }\n        }\n    }\n}"}],"_postman_id":"c76d009c-0b97-46ca-83e6-21c0e4f84940"},{"name":"Send Attachment","id":"952622d8-01c6-4607-af7e-9d6e3e5b0a3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"<p>Instructs the server to return responses in JSON format.</p>\n","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"session\": \"wapi-test\",\r\n    \"caption\": \"Testing send file via waha\",\r\n    \"chatId\": \"62811010010010@c.us\",\r\n    \"file\": {\r\n        \"mimetype\": \"application/pdf\",\r\n        \"filename\": \"price-list.pdf\",\r\n        \"url\": \"https://api.rucika.co.id/price-list/16/download\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/waha/send-file","description":"<p>Send a file/document (PDF) with an optional caption.<br />Great for invoices, contracts, or other official documents.</p>\n","urlObject":{"path":["v1","waha","send-file"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[]}},"response":[{"id":"a5283a42-fe4a-4e23-9977-fde45dcefcb0","name":"Send Attachment","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"Instructs the server to return responses in JSON format.","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"session\": \"wapi-test\",\r\n    \"caption\": \"Testing send file via waha\",\r\n    \"chatId\": \"62811010010010@c.us\",\r\n    \"file\": {\r\n        \"mimetype\": \"application/pdf\",\r\n        \"filename\": \"price-list.pdf\",\r\n        \"url\": \"https://api.rucika.co.id/price-list/16/download\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/waha/send-file"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:54:37 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": \"true_62811010010010@c.us_3EB0CC0B37CE31F9E521A5\",\n    \"_data\": {\n        \"Info\": {\n            \"Chat\": \"62811010010010@s.whatsapp.net\",\n            \"Sender\": \"62811010010010:89@s.whatsapp.net\",\n            \"IsFromMe\": true,\n            \"IsGroup\": false,\n            \"AddressingMode\": \"\",\n            \"SenderAlt\": \"\",\n            \"RecipientAlt\": \"\",\n            \"BroadcastListOwner\": \"\",\n            \"ID\": \"3EB0CC0B37CE31F9E521A5\",\n            \"ServerID\": 0,\n            \"Type\": \"\",\n            \"PushName\": \"\",\n            \"Timestamp\": \"2025-09-08T02:54:37Z\",\n            \"Category\": \"\",\n            \"Multicast\": false,\n            \"MediaType\": \"\",\n            \"Edit\": \"\",\n            \"MsgBotInfo\": {\n                \"EditType\": \"\",\n                \"EditTargetID\": \"\",\n                \"EditSenderTimestampMS\": \"0001-01-01T00:00:00Z\"\n            },\n            \"MsgMetaInfo\": {\n                \"TargetID\": \"\",\n                \"TargetSender\": \"\",\n                \"TargetChat\": \"\",\n                \"DeprecatedLIDSession\": null,\n                \"ThreadMessageID\": \"\",\n                \"ThreadMessageSenderJID\": \"\"\n            },\n            \"VerifiedName\": null,\n            \"DeviceSentMeta\": null\n        },\n        \"Message\": {\n            \"documentWithCaptionMessage\": {\n                \"message\": {\n                    \"documentMessage\": {\n                        \"URL\": \"https://mmg.whatsapp.net/v/t62.7119-24/34946210_2398182197303465_7626819560102101673_n.enc?ccb=11-4&oh=01_Q5Aa2gFTVoazguWjdgF5bXMMHCTmcF41kXshFFmN5yf0eKYtKw&oe=68E5B4D7&_nc_sid=5e03e0&mms3=true\",\n                        \"mimetype\": \"application/pdf\",\n                        \"title\": \"price-list.pdf\",\n                        \"fileSHA256\": \"/XtZK7zZzr7mDHvi/xVKh5hXBIlJOi2f3jYI5fX0rAQ=\",\n                        \"fileLength\": 3653942,\n                        \"mediaKey\": \"wKu9tuomqiWTS2hlqIKxAIVCaaDBwANhhBFnS4vOC2o=\",\n                        \"fileName\": \"price-list.pdf\",\n                        \"fileEncSHA256\": \"/dZwlrTArP0jdd9XqfqCCDFbRUkVAst7Bz0/+W4VHLs=\",\n                        \"directPath\": \"/v/t62.7119-24/34946210_2398182197303465_7626819560102101673_n.enc?ccb=11-4&oh=01_Q5Aa2gFTVoazguWjdgF5bXMMHCTmcF41kXshFFmN5yf0eKYtKw&oe=68E5B4D7&_nc_sid=5e03e0\",\n                        \"JPEGThumbnail\": \"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\",\n                        \"caption\": \"Testing send file via waha\"\n                    }\n                }\n            }\n        },\n        \"IsEphemeral\": false,\n        \"IsViewOnce\": false,\n        \"IsViewOnceV2\": false,\n        \"IsViewOnceV2Extension\": false,\n        \"IsDocumentWithCaption\": false,\n        \"IsLottieSticker\": false,\n        \"IsEdit\": false,\n        \"SourceWebMsg\": null,\n        \"UnavailableRequestID\": \"\",\n        \"RetryCount\": 0,\n        \"NewsletterMeta\": null,\n        \"RawMessage\": {\n            \"documentWithCaptionMessage\": {\n                \"message\": {\n                    \"documentMessage\": {\n                        \"URL\": \"https://mmg.whatsapp.net/v/t62.7119-24/34946210_2398182197303465_7626819560102101673_n.enc?ccb=11-4&oh=01_Q5Aa2gFTVoazguWjdgF5bXMMHCTmcF41kXshFFmN5yf0eKYtKw&oe=68E5B4D7&_nc_sid=5e03e0&mms3=true\",\n                        \"mimetype\": \"application/pdf\",\n                        \"title\": \"price-list.pdf\",\n                        \"fileSHA256\": \"/XtZK7zZzr7mDHvi/xVKh5hXBIlJOi2f3jYI5fX0rAQ=\",\n                        \"fileLength\": 3653942,\n                        \"mediaKey\": \"wKu9tuomqiWTS2hlqIKxAIVCaaDBwANhhBFnS4vOC2o=\",\n                        \"fileName\": \"price-list.pdf\",\n                        \"fileEncSHA256\": \"/dZwlrTArP0jdd9XqfqCCDFbRUkVAst7Bz0/+W4VHLs=\",\n                        \"directPath\": \"/v/t62.7119-24/34946210_2398182197303465_7626819560102101673_n.enc?ccb=11-4&oh=01_Q5Aa2gFTVoazguWjdgF5bXMMHCTmcF41kXshFFmN5yf0eKYtKw&oe=68E5B4D7&_nc_sid=5e03e0\",\n                        \"JPEGThumbnail\": \"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\",\n                        \"caption\": \"Testing send file via waha\"\n                    }\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"952622d8-01c6-4607-af7e-9d6e3e5b0a3e"}],"id":"6c027d67-a95a-4cc3-9b27-c63bbf0e301f","description":"<p>Endpoints for sending messages directly to WhatsApp contacts.<br />Unlike the API → Message folder, these send messages in real time through the active session.</p>\n","_postman_id":"6c027d67-a95a-4cc3-9b27-c63bbf0e301f"}],"id":"62740977-ad5b-41e9-9307-6694c0f8872e","description":"<p>This is the <strong>direct WhatsApp API layer</strong>. Unlike the CRUD-style API folder, WAPI endpoints interact directly with the WhatsApp client through Sunsal Wapim.</p>\n","_postman_id":"62740977-ad5b-41e9-9307-6694c0f8872e"},{"name":"Utility","item":[{"name":"Generate QR","id":"a7259029-b4a3-4a20-a937-1b9e2ded64f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/waha/:session_id/auth/qr.png?format=image","description":"<p>Generate a QR code to be scanned in WhatsApp mobile app for creating or reconnecting a session.</p>\n","urlObject":{"path":["v1","waha",":session_id","auth","qr.png"],"host":["http://127.0.0.1:8000/api"],"query":[{"description":{"content":"<p>Output format, e.g. image</p>\n","type":"text/plain"},"key":"format","value":"image"}],"variable":[{"description":{"content":"<p>WhatsApp session identifier.</p>\n","type":"text/plain"},"type":"any","value":"wapi-test","key":"session_id"}]}},"response":[],"_postman_id":"a7259029-b4a3-4a20-a937-1b9e2ded64f2"},{"name":"Generate Token","id":"ed3cb732-a627-4e3d-af76-6adf36714884","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","description":"<p>Instructs the server to return responses in JSON format.</p>\n","type":"text"}],"url":"http://127.0.0.1:8000/api/generate-token","description":"<p>Generate an authentication token (Session Secret Token) for secure API calls.</p>\n","urlObject":{"path":["generate-token"],"host":["http://127.0.0.1:8000/api"],"query":[],"variable":[]}},"response":[{"id":"ff07b842-41e6-4af0-adda-d78bf7bf54b1","name":"Response Generate Token","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","description":"Instructs the server to return responses in JSON format.","type":"text"}],"url":"http://127.0.0.1:8000/api/generate-token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:40:07 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"secret_token\": \"9126751aaadb2fa796d969a41831ad9c1c36577e0d61572b89b75e5d64d75206\"\n}"}],"_postman_id":"ed3cb732-a627-4e3d-af76-6adf36714884"},{"name":"Check Phone","id":"2ca9f000-b05c-4a0e-a2dc-afad995891d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","description":"<p>Instructs the server to return responses in JSON format.</p>\n","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"url":"https://wapi-sunsal.venturo.pro/api/v1/waha/contacts/check-exists?phone=6282233941722&session=wapi-test","description":"<p>Validate whether a phone number is registered with WhatsApp.<br />Prevents wasted API calls to numbers that don’t exist.</p>\n","urlObject":{"path":["v1","waha","contacts","check-exists"],"host":["https://wapi-sunsal.venturo.pro/api"],"query":[{"description":{"content":"<p>Recipient phone number in international format.</p>\n","type":"text/plain"},"key":"phone","value":"6282233941722"},{"description":{"content":"<p>WhatsApp session identifier.</p>\n","type":"text/plain"},"key":"session","value":"wapi-test"}],"variable":[]}},"response":[{"id":"2d31097f-c621-4e26-9487-8488748d1f54","name":"Response Check Phone","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","description":"Instructs the server to return responses in JSON format.","type":"text"},{"key":"X-Session-Id","value":"wapi-test","type":"text"},{"key":"X-Session-Secret-Token","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee","type":"text"}],"url":{"raw":"http://127.0.0.1:8000/api/v1/waha/contacts/check-exists?phone=62811010010010&session=wapi-test","host":["http://127.0.0.1:8000/api"],"path":["v1","waha","contacts","check-exists"],"query":[{"key":"phone","value":"62811010010010","description":"Recipient phone number in international format."},{"key":"session","value":"wapi-test","description":"WhatsApp session identifier."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.12"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 08 Sep 2025 02:42:27 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"numberExists\": true,\n    \"chatId\": \"62811010010010@c.us\"\n}"}],"_postman_id":"2ca9f000-b05c-4a0e-a2dc-afad995891d2"}],"id":"abfffd34-56c3-4e6d-b3f6-a093e9f43fbe","description":"<p>Helper endpoints to support authentication, onboarding, and validation.</p>\n","_postman_id":"abfffd34-56c3-4e6d-b3f6-a093e9f43fbe"}],"event":[{"listen":"prerequest","script":{"id":"687a1245-8be1-484c-aa8e-898e80940e2b","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"2a897cd7-5be3-4993-8417-0e2b051ded27","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"variable":[{"key":"SERVER_API","value":"https://wapi-sunsal.venturo.pro/api"},{"key":"API_URL","value":"http://127.0.0.1:8000/api"},{"key":"SESSION_ID","value":"wapi-test"},{"key":"SESSION_SECRET_TOKEN","value":"9f13a714ce15ddeb1e02835772b53fcc5de6355f05204354bbbc0023601816ee"},{"key":"SERVER_API_DEMO","value":""}]}