{"info":{"_postman_id":"ef77b579-e1a2-406f-9051-daff322fdee6","name":"🚀 Plasgos CRM API Documentation","description":"<html><head></head><body><blockquote>\n<p>Koleksi Postman untuk integrasi dengan Plasgos CRM API, mencakup endpoint WhatsApp API reguler, WABA Official, dan webhook user. </p>\n</blockquote>\n<h2 id=\"ringkasan\">Ringkasan</h2>\n<p>Collection ini berisi request siap pakai untuk dua environment:</p>\n<ul>\n<li><p>Production: <code>https://wa-client.plasgos.co.id</code></p>\n</li>\n<li><p>Sandbox: <code>https://api-crm.sandbox.plasgos.co.id</code></p>\n</li>\n</ul>\n<p>Semua endpoint API integration menggunakan header signature dan timestamp.</p>\n<h2 id=\"authentication\">Authentication</h2>\n<p>Semua endpoint API integration di collection ini menggunakan header berikut:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-txt\">x-api-key: YOUR_API_KEY\nx-timestamp: UNIX_TIMESTAMP\nx-signature: GENERATED_SIGNATURE\n\n</code></pre>\n<p>Format signature yang dipakai server saat ini adalah:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-txt\">signature = HMAC_SHA256(secret_key, api_key + ':' + timestamp)\n\n</code></pre>\n<p>Catatan:</p>\n<ul>\n<li><p>Signature harus dalam format lowercase hex.</p>\n</li>\n<li><p>Timestamp menggunakan Unix timestamp dalam satuan detik.</p>\n</li>\n<li><p>Timestamp berlaku maksimal 5 menit.</p>\n</li>\n<li><p>Collection ini belum mengenerate signature otomatis. Nilai <code>TIMESTAMP</code> dan <code>SIGNATURE</code> pada request perlu Anda isi sendiri atau dibuat lewat script eksternal.</p>\n</li>\n</ul>\n<h2 id=\"webhook-notifications\">Webhook Notifications</h2>\n<p>Webhook publik untuk consumer API sengaja disederhanakan menjadi dua event yang paling dibutuhkan untuk integrasi pengiriman template dan broadcast. Semua request webhook dari server kami menyertakan header keamanan <code>x-hub-token</code> yang berisi token verifikasi Anda.</p>\n<h3 id=\"daftar-event-publik\">Daftar Event Publik</h3>\n<ul>\n<li><p><code>message.received</code>: Event pesan masuk dari customer ke conversation user.</p>\n</li>\n<li><p><code>message.statuses</code>: Event perubahan status pesan outbound, misalnya <code>sent</code>, <code>delivered</code>, atau <code>read</code>.</p>\n</li>\n</ul>\n<h3 id=\"struktur-payload-umum\">Struktur Payload Umum</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event\": \"message.received\",\n  \"event_name\": \"message.received\",\n  \"event_version\": 1052,\n  \"event_at\": \"2026-04-08T10:32:15.000Z\",\n  \"timestamp\": 1775644335,\n  \"source\": \"crm_chatroom\",\n  \"channel\": \"whatsapp\",\n  \"provider\": \"official\",\n  \"user\": {\n    \"id\": 42\n  },\n  \"account\": {\n    \"phone_number_id\": \"123456789012345\"\n  },\n  \"conversation\": {\n    \"conversation_id\": \"conv_01HRCHATROOMABC\",\n    \"phone_number_id\": \"123456789012345\",\n    \"conversation_status\": \"open\"\n  },\n  \"message\": {\n    \"id\": \"wamid.HBgLN...\",\n    \"type\": \"text\",\n    \"direction\": \"inbound\",\n    \"status\": \"unread\",\n    \"content\": {\n      \"type\": \"text\",\n      \"text\": \"Halo admin, saya mau tanya produk\"\n    }\n  },\n  \"statuses\": null,\n  \"recipient\": null,\n  \"meta\": {\n    \"room\": \"socketio:user:chat_room:123456789012345\",\n    \"emitted_via\": \"socket_and_webhook\",\n    \"source_event\": \"chat_room:new_message\"\n  },\n  \"data\": {\n    \"conversation\": {},\n    \"message\": {}\n  }\n}\n\n</code></pre>\n<h2 id=\"struktur-folder\">Struktur Folder</h2>\n<h3 id=\"1-account\">1. Account</h3>\n<p>Dipakai untuk endpoint WhatsApp API reguler yang berkaitan dengan account.</p>\n<h3 id=\"2-wa-message\">2. WA Message</h3>\n<p>Dipakai untuk endpoint WhatsApp API reguler pengiriman dan histori pesan.</p>\n<h3 id=\"3-contacts\">3. Contacts</h3>\n<p>Dipakai untuk mengambil daftar kontak user yang tersimpan di sistem Plasgos CRM melalui public API integration.</p>\n<h3 id=\"4-waba-official\">4. WABA Official</h3>\n<p>Dipakai untuk integrasi WhatsApp Business API Official.</p>\n<h3 id=\"5-webhook\">5. Webhook</h3>\n<p>Berisi contoh payload event webhook dalam format custom method <code>VIEW</code> agar mudah direview di Postman.</p>\n<h2 id=\"variable-yang-dipakai-di-collection\">Variable yang Dipakai di Collection</h2>\n<p>Variable yang relevan untuk collection ini:</p>\n<ul>\n<li><p><code>YOUR_API_KEY</code></p>\n</li>\n<li><p><code>TIMESTAMP</code></p>\n</li>\n<li><p><code>SIGNATURE</code></p>\n</li>\n<li><p><code>ACCOUNT_ID</code></p>\n</li>\n<li><p><code>MESSAGE_ID</code></p>\n</li>\n<li><p><code>OFFICIAL_ACCOUNT_ID</code></p>\n</li>\n<li><p><code>OFFICIAL_PHONE_NUMBER_ID</code></p>\n</li>\n<li><p><code>OFFICIAL_TEMPLATE_ID</code></p>\n</li>\n<li><p><code>OFFICIAL_TEMPLATE_NAME</code></p>\n</li>\n<li><p><code>OFFICIAL_TEMPLATE_CATEGORY</code></p>\n</li>\n<li><p><code>OFFICIAL_BROADCAST_REQUEST_ID</code></p>\n</li>\n<li><p><code>OFFICIAL_BROADCAST_ID</code></p>\n</li>\n<li><p><code>TARGET_PHONE_NUMBER</code></p>\n</li>\n</ul>\n<h2 id=\"status-code-yang-sering-dipakai\">Status Code yang Sering Dipakai</h2>\n<ul>\n<li><p><code>200</code>: request berhasil</p>\n</li>\n<li><p><code>201</code>: broadcast berhasil dibuat</p>\n</li>\n<li><p><code>400</code>: bad request</p>\n</li>\n<li><p><code>401</code>: header auth belum lengkap</p>\n</li>\n<li><p><code>403</code>: API key, signature, atau permission tidak valid</p>\n</li>\n<li><p><code>404</code>: resource tidak ditemukan</p>\n</li>\n<li><p><code>408</code>: timestamp expired</p>\n</li>\n<li><p><code>422</code>: validasi request gagal</p>\n</li>\n<li><p><code>429</code>: kuota harian broadcast integration terlampaui</p>\n</li>\n<li><p><code>500</code>: internal server error</p>\n</li>\n</ul>\n<h2 id=\"catatan-update\">Catatan Update</h2>\n<p>Dokumentasi collection ini diperbarui pada 8 April 2026 untuk menyederhanakan webhook publik menjadi dua event consumer-friendly: <code>message.received</code> dan <code>message.statuses</code>.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"40349852","collectionId":"ef77b579-e1a2-406f-9051-daff322fdee6","publishedId":"2sBXqMHJoc","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-05-06T04:33:17.000Z"},"item":[{"name":"Production","item":[{"name":"Account","item":[{"name":"Get Accounts","id":"ac7a3292-a8af-4e66-9715-2b0a0f65b44b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/accounts","urlObject":{"path":["api","v1","accounts"],"host":["https://wa-client.plasgos.co.id"],"query":[],"variable":[]}},"response":[{"id":"551271dd-6074-45ae-9137-d7f0a54e6ad5","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/accounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Account get successfully\",\n    \"data\": [\n        {\n            \"id\": \"68b14dc52...\",\n            \"name\": \"Eko Suprianto\",\n            \"phone_number\": \"628123456789\"\n        }\n    ],\n    \"metadata\": {\n        \"count\": 1,\n        \"timestamp\": 1759889912499\n    }\n}"},{"id":"eb3a6b8c-8b91-4a93-a3d7-2d89f9f18fcf","name":"Invalid Signature","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/accounts"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 403,\n    \"message\": \"Invalid signature\",\n    \"metadata\": {\n        \"timestamp\": 1759891011784\n    }\n}"}],"_postman_id":"ac7a3292-a8af-4e66-9715-2b0a0f65b44b"},{"name":"Get Account (Specific ID)","id":"d0b46c49-ebe7-4ddc-96b7-0cad2d58bada","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/accounts/","urlObject":{"path":["api","v1","accounts",""],"host":["https://wa-client.plasgos.co.id"],"query":[],"variable":[]}},"response":[{"id":"7618d536-213d-4469-9733-a261dd061b75","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/accounts/"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Account find successfully\",\n    \"data\": {\n        \"id\": \"68b14dc526d...\",\n        \"name\": \"Eko Suprianto\",\n        \"phone_number\": \"6281234567890\"\n    },\n    \"metadata\": {\n        \"timestamp\": 1759890646549\n    }\n}"},{"id":"8f3ab136-689c-47f4-bfec-0afffde69e3b","name":"Error","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/accounts/"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 404,\n    \"message\": \"Missing or invalid data\",\n    \"metadata\": {\n        \"timestamp\": 1759890690158\n    },\n    \"errors\": [\n        {\n            \"message\": \"Account not found\",\n            \"path\": [\n                \"account_id\",\n                \"account_id\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"d0b46c49-ebe7-4ddc-96b7-0cad2d58bada"}],"id":"5bad0bc6-86fb-4d93-987d-16914eba1db0","description":"<p>Get data account yang terhubung di Plasgos CRM dan ambil ID untuk mengirim pesan lewat Plasgos API CRM</p>\n","_postman_id":"5bad0bc6-86fb-4d93-987d-16914eba1db0","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"ef77b579-e1a2-406f-9051-daff322fdee6","id":"ef77b579-e1a2-406f-9051-daff322fdee6","name":"🚀 Plasgos CRM API Documentation","type":"collection"}}},{"name":"WABA Official","item":[{"name":"Get Official Accounts","id":"eac58488-71b6-4bf9-abe7-1cf8264559bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/official/accounts","description":"<p>Ambil semua akun WABA Official yang terhubung ke API key ini. Respons juga menyertakan phone number yang aktif, approved, dan tersedia untuk pengiriman template.</p>\n","urlObject":{"protocol":"https","path":["api","v1","official","accounts"],"host":["wa-client","plasgos","co","id"],"query":[],"variable":[]}},"response":[{"id":"b77d8dce-738d-4d98-9dc8-0f39998b979e","name":"Success","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/official/accounts","description":"Ambil semua akun WABA Official yang terhubung ke API key ini. Respons juga menyertakan phone number yang aktif, approved, dan tersedia untuk pengiriman template."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Retrieve accounts is successfully\",\n    \"data\": [\n        {\n            \"id\": \"67f1c8b62f2e4a0012345678\",\n            \"name\": \"Plasgos WABA Demo\",\n            \"phone_numbers\": [\n                {\n                    \"phone_number_id\": \"628123456789012\",\n                    \"display_name\": \"+62 812-3456-7890\",\n                    \"status_review\": \"APPROVED\",\n                    \"is_default\": true,\n                    \"quality_rating\": \"GREEN\",\n                    \"created_at\": \"2026-04-06T08:15:00.000Z\",\n                    \"updated_at\": \"2026-04-06T08:15:00.000Z\"\n                }\n            ]\n        }\n    ],\n    \"metadata\": {\n        \"count\": 1,\n        \"timestamp\": 1775463300000\n    }\n}"},{"id":"ce1a1f93-1c3a-4586-a24b-63add31ca554","name":"Forbidden","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/official/accounts","description":"Ambil semua akun WABA Official yang terhubung ke API key ini. Respons juga menyertakan phone number yang aktif, approved, dan tersedia untuk pengiriman template."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 403,\n    \"message\": \"Forbidden: You don't have permission\",\n    \"data\": null,\n    \"metadata\": {\n        \"timestamp\": 1775463300000\n    }\n}"}],"_postman_id":"eac58488-71b6-4bf9-abe7-1cf8264559bf"},{"name":"Get Official Phone Numbers","id":"5d7e093a-ec41-4d4c-8774-7fd6684e9f33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/official/accounts/phone-numbers/","description":"<p>Ambil seluruh phone number WABA Official berdasarkan account id. Gunakan endpoint ini saat Anda perlu memilih <code>phone_number_id</code> yang valid untuk request kirim template.</p>\n","urlObject":{"protocol":"https","path":["api","v1","official","accounts","phone-numbers",""],"host":["wa-client","plasgos","co","id"],"query":[],"variable":[]}},"response":[{"id":"7a8a2007-1e54-4afc-b0ac-5a7f81a4d6c0","name":"Success","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/official/accounts/phone-numbers/","description":"Ambil seluruh phone number WABA Official berdasarkan account id. Gunakan endpoint ini saat Anda perlu memilih `phone_number_id` yang valid untuk request kirim template."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Retrieve accounts is successfully\",\n    \"data\": [\n        {\n            \"phone_number_id\": \"628123456789012\",\n            \"display_name\": \"+62 812-3456-7890\",\n            \"status_review\": \"APPROVED\",\n            \"is_default\": true,\n            \"quality_rating\": \"GREEN\",\n            \"created_at\": \"2026-04-06T08:15:00.000Z\",\n            \"updated_at\": \"2026-04-06T08:15:00.000Z\"\n        }\n    ],\n    \"metadata\": {\n        \"count\": 1,\n        \"timestamp\": 1775463300000\n    }\n}"},{"id":"4955f129-85e7-43b7-aa07-d2a86ac14585","name":"Account Id Required","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/official/accounts/phone-numbers/","description":"Ambil seluruh phone number WABA Official berdasarkan account id. Gunakan endpoint ini saat Anda perlu memilih `phone_number_id` yang valid untuk request kirim template."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"Account id is required\",\n    \"data\": null,\n    \"metadata\": {\n        \"timestamp\": 1775463300000\n    }\n}"}],"_postman_id":"5d7e093a-ec41-4d4c-8774-7fd6684e9f33"},{"name":"Get Official Templates","id":"f6646c9e-e64f-49ce-9a14-f215d72d3784","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/official/templates/?category=UTILITY","description":"<p>Ambil daftar template yang sudah <code>APPROVED</code> dari akun WABA tertentu. Query <code>category</code> bersifat opsional dan bisa diisi <code>MARKETING</code>, <code>UTILITY</code>, <code>AUTHENTICATION</code>, atau <code>OTP</code> untuk memfilter hasil.</p>\n","urlObject":{"protocol":"https","path":["api","v1","official","templates",""],"host":["wa-client","plasgos","co","id"],"query":[{"key":"category","value":"UTILITY"}],"variable":[]}},"response":[{"id":"a773600d-2fa8-4a85-bc73-c8e7580734c2","name":"Success","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":{"raw":"https://wa-client.plasgos.co.id/api/v1/official/templates/?category=UTILITY","protocol":"https","host":["wa-client","plasgos","co","id"],"path":["api","v1","official","templates",""],"query":[{"key":"category","value":"UTILITY"}]},"description":"Ambil daftar template yang sudah `APPROVED` dari akun WABA tertentu. Query `category` bersifat opsional dan bisa diisi `MARKETING`, `UTILITY`, `AUTHENTICATION`, atau `OTP` untuk memfilter hasil."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Retrieve templates is successfully\",\n    \"data\": [\n        {\n            \"id\": \"1234567890123456\",\n            \"name\": \"order_update_v1\",\n            \"status\": \"APPROVED\",\n            \"category\": \"UTILITY\",\n            \"language\": \"id\",\n            \"components\": [\n                {\n                    \"type\": \"BODY\",\n                    \"text\": \"Halo {{1}}, invoice {{2}} sudah kami terima.\"\n                }\n            ]\n        }\n    ],\n    \"metadata\": {\n        \"count\": 1,\n        \"timestamp\": 1775463300000\n    }\n}"},{"id":"04d3884f-f987-448d-aa92-971f8331e818","name":"Waba Account Not Found","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":{"raw":"https://wa-client.plasgos.co.id/api/v1/official/templates/?category=UTILITY","protocol":"https","host":["wa-client","plasgos","co","id"],"path":["api","v1","official","templates",""],"query":[{"key":"category","value":"UTILITY"}]},"description":"Ambil daftar template yang sudah `APPROVED` dari akun WABA tertentu. Query `category` bersifat opsional dan bisa diisi `MARKETING`, `UTILITY`, `AUTHENTICATION`, atau `OTP` untuk memfilter hasil."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 404,\n    \"message\": \"Waba account not found\",\n    \"data\": null,\n    \"metadata\": {\n        \"timestamp\": 1775463300000\n    }\n}"}],"_postman_id":"f6646c9e-e64f-49ce-9a14-f215d72d3784"},{"name":"Send Official Template Message","id":"46ecf648-56b1-4a6f-88c5-be803d33e117","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"phone_number_id\": \"\",\n  \"to\": \"6281234567890\",\n  \"template\": {\n    \"id\": \"\",\n    \"name\": \"order_update_v1\",\n    \"category\": \"UTILITY\",\n    \"parameters\": {\n      \"variables\": [\n        {\n          \"name\": \"1\",\n          \"value\": \"Budi\"\n        },\n        {\n          \"name\": \"2\",\n          \"value\": \"INV-20260406-001\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-client.plasgos.co.id/api/v1/official/messages","description":"<p>Kirim template message melalui WABA Official. Untuk kategori <code>OTP</code> atau <code>AUTHENTICATION</code>, sistem dapat otomatis membangkitkan <code>otp_code</code> bila <code>template.parameters.code</code> tidak dikirim. Untuk template non-OTP, kirim variabel melalui <code>template.parameters.variables</code> sesuai placeholder template di Meta.</p>\n","urlObject":{"protocol":"https","path":["api","v1","official","messages"],"host":["wa-client","plasgos","co","id"],"query":[],"variable":[]}},"response":[{"id":"cf74279c-0698-464f-8012-f691a66358f8","name":"Success","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"phone_number_id\": \"\",\n  \"to\": \"6281234567890\",\n  \"template\": {\n    \"id\": \"\",\n    \"name\": \"order_update_v1\",\n    \"category\": \"UTILITY\",\n    \"parameters\": {\n      \"variables\": [\n        {\n          \"name\": \"1\",\n          \"value\": \"Budi\"\n        },\n        {\n          \"name\": \"2\",\n          \"value\": \"INV-20260406-001\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-client.plasgos.co.id/api/v1/official/messages","description":"Kirim template message melalui WABA Official. Untuk kategori `OTP` atau `AUTHENTICATION`, sistem dapat otomatis membangkitkan `otp_code` bila `template.parameters.code` tidak dikirim. Untuk template non-OTP, kirim variabel melalui `template.parameters.variables` sesuai placeholder template di Meta."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Template successfully sent\",\n    \"data\": {\n        \"message_id\": \"wamid.HBgLNzg5MDEyMzQ1Njc4FQIAERgSNkU3RjM0QzY4RkM2RjA5AA==\"\n    },\n    \"metadata\": {\n        \"timestamp\": 1775463300000\n    }\n}"},{"id":"5f1ad54b-5895-4f64-8ed4-8f3c80277190","name":"OTP Success","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"phone_number_id\": \"\",\n  \"to\": \"6281234567890\",\n  \"template\": {\n    \"id\": \"\",\n    \"name\": \"order_update_v1\",\n    \"category\": \"UTILITY\",\n    \"parameters\": {\n      \"variables\": [\n        {\n          \"name\": \"1\",\n          \"value\": \"Budi\"\n        },\n        {\n          \"name\": \"2\",\n          \"value\": \"INV-20260406-001\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-client.plasgos.co.id/api/v1/official/messages","description":"Kirim template message melalui WABA Official. Untuk kategori `OTP` atau `AUTHENTICATION`, sistem dapat otomatis membangkitkan `otp_code` bila `template.parameters.code` tidak dikirim. Untuk template non-OTP, kirim variabel melalui `template.parameters.variables` sesuai placeholder template di Meta."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"OTP successfully sent\",\n    \"data\": {\n        \"message_id\": \"wamid.HBgLNzg5MDEyMzQ1Njc4FQIAERgSNkU3RjM0QzY4RkM2RjA5AA==\",\n        \"otp_code\": 483921\n    },\n    \"metadata\": {\n        \"timestamp\": 1775463300000\n    }\n}"},{"id":"eb38e5d7-eb1f-4589-93bc-191048282649","name":"Validation Error","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"phone_number_id\": \"\",\n  \"to\": \"6281234567890\",\n  \"template\": {\n    \"id\": \"\",\n    \"name\": \"order_update_v1\",\n    \"category\": \"UTILITY\",\n    \"parameters\": {\n      \"variables\": [\n        {\n          \"name\": \"1\",\n          \"value\": \"Budi\"\n        },\n        {\n          \"name\": \"2\",\n          \"value\": \"INV-20260406-001\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-client.plasgos.co.id/api/v1/official/messages","description":"Kirim template message melalui WABA Official. Untuk kategori `OTP` atau `AUTHENTICATION`, sistem dapat otomatis membangkitkan `otp_code` bila `template.parameters.code` tidak dikirim. Untuk template non-OTP, kirim variabel melalui `template.parameters.variables` sesuai placeholder template di Meta."},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 422,\n    \"message\": \"Missing or invalid data\",\n    \"metadata\": {\n        \"timestamp\": 1775463300000\n    },\n    \"errors\": [\n        {\n            \"message\": \"Waba phone number not found\",\n            \"path\": [\n                \"phone_number_id\"\n            ]\n        },\n        {\n            \"message\": \"Template name is required\",\n            \"path\": [\n                \"template\",\n                \"name\"\n            ]\n        }\n    ]\n}"},{"id":"0175611a-ae40-4449-ae87-61f0664a1551","name":"Template Not Approved","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"phone_number_id\": \"\",\n  \"to\": \"6281234567890\",\n  \"template\": {\n    \"id\": \"\",\n    \"name\": \"order_update_v1\",\n    \"category\": \"UTILITY\",\n    \"parameters\": {\n      \"variables\": [\n        {\n          \"name\": \"1\",\n          \"value\": \"Budi\"\n        },\n        {\n          \"name\": \"2\",\n          \"value\": \"INV-20260406-001\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-client.plasgos.co.id/api/v1/official/messages","description":"Kirim template message melalui WABA Official. Untuk kategori `OTP` atau `AUTHENTICATION`, sistem dapat otomatis membangkitkan `otp_code` bila `template.parameters.code` tidak dikirim. Untuk template non-OTP, kirim variabel melalui `template.parameters.variables` sesuai placeholder template di Meta."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"Template is not approved\",\n    \"data\": null,\n    \"metadata\": {\n        \"timestamp\": 1775463300000\n    }\n}"}],"_postman_id":"46ecf648-56b1-4a6f-88c5-be803d33e117"},{"name":"Send Official Template Broadcast","id":"da40c5bb-5187-443b-a5c6-05e30ede428a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"account_id\": \"\",\n  \"template_id\": \"\",\n  \"phone_number_id\": \"\",\n  \"name\": \"Broadcast Event April\",\n  \"description\": \"Dynamic media per recipient\",\n  \"scheduled_at\": \"2026-04-08 10:00:00\",\n  \"request_id\": \"broadcast_req_20260407_001\",\n  \"variables\": [\n    {\n      \"name\": \"event_name\",\n      \"value\": \"Seminar April\"\n    },\n    {\n      \"name\": \"full_name\",\n      \"value\": \"{{name}}\"\n    }\n  ],\n  \"recipients\": [\n    {\n      \"phone_number\": \"628123456700\",\n      \"attachment\": {\n        \"type\": \"image\",\n        \"link\": \"https://cdn.example.com/user-1.png\",\n        \"mime_type\": \"image/png\",\n        \"file_name\": \"user-1.png\"\n      }\n    },\n    {\n      \"phone_number\": \"628123456701\",\n      \"attachment\": {\n        \"type\": \"video\",\n        \"link\": \"https://cdn.example.com/user-2.mp4\",\n        \"mime_type\": \"video/mp4\",\n        \"file_name\": \"user-2.mp4\"\n      }\n    },\n    {\n      \"phone_number\": \"628123456702\",\n      \"attachment\": {\n        \"type\": \"document\",\n        \"link\": \"https://cdn.example.com/user-3.pdf\",\n        \"mime_type\": \"application/pdf\",\n        \"file_name\": \"user-3.pdf\"\n      }\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-client.plasgos.co.id/api/v1/official/broadcasts","description":"<p>Buat broadcast WABA Official untuk semua jenis template message yang didukung sistem. <code>recipients[].attachment</code> bersifat opsional dan hanya dipakai untuk media unik per recipient pada template header <code>IMAGE</code>, <code>VIDEO</code>, atau <code>DOCUMENT</code>. Untuk template <code>LOCATION</code>, kirim field top-level <code>location</code>. Limit maksimal 1000 recipient per hari berdasarkan tanggal <code>scheduled_at</code>.</p>\n","urlObject":{"protocol":"https","path":["api","v1","official","broadcasts"],"host":["wa-client","plasgos","co","id"],"query":[],"variable":[]}},"response":[{"id":"6a58fe7a-74da-4dfc-81ce-e6c07399bcc6","name":"Created","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"account_id\": \"\",\n  \"template_id\": \"\",\n  \"phone_number_id\": \"\",\n  \"name\": \"Broadcast Event April\",\n  \"description\": \"Dynamic media per recipient\",\n  \"scheduled_at\": \"2026-04-08 10:00:00\",\n  \"request_id\": \"broadcast_req_20260407_001\",\n  \"variables\": [\n    {\n      \"name\": \"event_name\",\n      \"value\": \"Seminar April\"\n    },\n    {\n      \"name\": \"full_name\",\n      \"value\": \"{{name}}\"\n    }\n  ],\n  \"recipients\": [\n    {\n      \"phone_number\": \"628123456700\",\n      \"attachment\": {\n        \"type\": \"image\",\n        \"link\": \"https://cdn.example.com/user-1.png\",\n        \"mime_type\": \"image/png\",\n        \"file_name\": \"user-1.png\"\n      }\n    },\n    {\n      \"phone_number\": \"628123456701\",\n      \"attachment\": {\n        \"type\": \"video\",\n        \"link\": \"https://cdn.example.com/user-2.mp4\",\n        \"mime_type\": \"video/mp4\",\n        \"file_name\": \"user-2.mp4\"\n      }\n    },\n    {\n      \"phone_number\": \"628123456702\",\n      \"attachment\": {\n        \"type\": \"document\",\n        \"link\": \"https://cdn.example.com/user-3.pdf\",\n        \"mime_type\": \"application/pdf\",\n        \"file_name\": \"user-3.pdf\"\n      }\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-client.plasgos.co.id/api/v1/official/broadcasts","description":"Buat broadcast WABA Official untuk semua jenis template message yang didukung sistem. `recipients[].attachment` bersifat opsional dan hanya dipakai untuk media unik per recipient pada template header `IMAGE`, `VIDEO`, atau `DOCUMENT`. Untuk template `LOCATION`, kirim field top-level `location`. Limit maksimal 1000 recipient per hari berdasarkan tanggal `scheduled_at`."},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"message\": \"Template broadcast created\",\n    \"data\": {\n        \"broadcast_id\": \"65f100000000000000000999\",\n        \"name\": \"Broadcast Event April\",\n        \"description\": \"Dynamic media per recipient\",\n        \"account_id\": \"\",\n        \"template_id\": \"\",\n        \"phone_number_id\": \"\",\n        \"total_recipients\": 3\n    },\n    \"metadata\": {\n        \"request_id\": \"broadcast_req_20260407_001\",\n        \"requested_recipients\": 4,\n        \"accepted_recipients\": 3,\n        \"rejected_recipients\": 1,\n        \"rejected_items\": [\n            {\n                \"phone_number\": \"628123456799\",\n                \"reason\": \"Attachment link is invalid\"\n            }\n        ],\n        \"daily_limit\": 1000,\n        \"daily_usage_before_request\": 120,\n        \"daily_remaining_after_request\": 877,\n        \"quota_date\": \"2026-04-08\",\n        \"timestamp\": 1775563300000\n    }\n}"},{"id":"5f077ace-723f-49bf-b298-44d1bcf45626","name":"Template Header Not Supported","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/official/broadcasts","description":"Buat broadcast WABA Official untuk semua jenis template message yang didukung sistem. `recipients[].attachment` bersifat opsional dan hanya dipakai untuk media unik per recipient pada template header `IMAGE`, `VIDEO`, atau `DOCUMENT`. Untuk template `LOCATION`, kirim field top-level `location`. Limit maksimal 1000 recipient per hari berdasarkan tanggal `scheduled_at`."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"Dynamic media broadcast only supports IMAGE, VIDEO, or DOCUMENT template header\",\n    \"data\": null,\n    \"metadata\": {\n        \"timestamp\": 1775563300000\n    }\n}"}],"_postman_id":"da40c5bb-5187-443b-a5c6-05e30ede428a"},{"name":"Get Official Broadcasts","id":"fc92117a-f3df-4268-a4b8-7714d91fd65a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/official/broadcasts?page=1&limit=10&status=completed","description":"<p>Ambil daftar broadcast WABA Official yang telah dibuat melalui API integration. Mendukung pagination, pencarian nama/deskripsi, dan filter berdasarkan status.</p>\n","urlObject":{"protocol":"https","path":["api","v1","official","broadcasts"],"host":["wa-client","plasgos","co","id"],"query":[{"description":{"content":"<p>Nomor halaman (default: 1)</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Jumlah data per halaman (default: 10, max: 100)</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>Filter status: draft, scheduled, processing, completed, cancelled, paused, failed (opsional)</p>\n","type":"text/plain"},"key":"status","value":"completed"},{"disabled":true,"description":{"content":"<p>Pencarian nama atau deskripsi broadcast (opsional)</p>\n","type":"text/plain"},"key":"search","value":""}],"variable":[]}},"response":[{"id":"5e45b32f-a427-475a-b4fa-ef1d66ce1adf","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/official/broadcasts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Broadcasts retrieved successfully\",\n    \"data\": [\n        {\n            \"broadcast_id\": \"65f100000000000000000999\",\n            \"name\": \"Broadcast Event April\",\n            \"description\": \"Dynamic media per recipient\",\n            \"status\": \"completed\",\n            \"total_recipients\": 150,\n            \"phone_number_id\": \"628123456789012\",\n            \"scheduled_at\": \"2026-04-08T03:00:00.000Z\",\n            \"started_at\": \"2026-04-08T03:00:05.000Z\",\n            \"completed_at\": \"2026-04-08T03:02:05.000Z\",\n            \"created_at\": \"2026-04-07T09:55:00.000Z\"\n        },\n        {\n            \"broadcast_id\": \"65f100000000000000000888\",\n            \"name\": \"Promo Ramadhan\",\n            \"description\": \"Promo khusus Ramadhan\",\n            \"status\": \"completed\",\n            \"total_recipients\": 80,\n            \"phone_number_id\": \"628123456789012\",\n            \"scheduled_at\": \"2026-04-05T03:00:00.000Z\",\n            \"started_at\": \"2026-04-05T03:00:05.000Z\",\n            \"completed_at\": \"2026-04-05T03:01:30.000Z\",\n            \"created_at\": \"2026-04-04T10:00:00.000Z\"\n        }\n    ],\n    \"metadata\": {\n        \"page\": 1,\n        \"limit\": 10,\n        \"total\": 25,\n        \"total_pages\": 3,\n        \"has_next_page\": true,\n        \"has_prev_page\": false,\n        \"timestamp\": 1775563300000\n    }\n}"},{"id":"a2fc5d08-ee28-417e-b909-69279be973d9","name":"Empty Result","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/official/broadcasts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Broadcasts retrieved successfully\",\n    \"data\": [],\n    \"metadata\": {\n        \"page\": 1,\n        \"limit\": 10,\n        \"total\": 0,\n        \"total_pages\": 0,\n        \"has_next_page\": false,\n        \"has_prev_page\": false,\n        \"timestamp\": 1775563300000\n    }\n}"}],"_postman_id":"fc92117a-f3df-4268-a4b8-7714d91fd65a"},{"name":"Get Official Broadcast Monitoring","id":"6af639d8-bfa8-4bdc-84ff-e62e35d776ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/official/broadcasts/{{OFFICIAL_BROADCAST_ID}}/monitoring","description":"<p>Ambil data monitoring detail untuk broadcast tertentu berdasarkan <code>broadcast_id</code>. Respons mencakup statistik pengiriman, progress, durasi, delivery funnel, dan analisis kegagalan. Gunakan <code>broadcast_id</code> yang didapat dari response endpoint <code>Get Official Broadcasts</code> atau <code>Send Official Template Broadcast</code>.</p>\n","urlObject":{"protocol":"https","path":["api","v1","official","broadcasts","{{OFFICIAL_BROADCAST_ID}}","monitoring"],"host":["wa-client","plasgos","co","id"],"query":[],"variable":[]}},"response":[{"id":"322ef22b-77d1-4049-b64d-dd172c9f7144","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/official/broadcasts/65f100000000000000000999/monitoring"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Broadcast monitoring retrieved successfully\",\n    \"data\": {\n        \"broadcast_info\": {\n            \"id\": \"65f100000000000000000999\",\n            \"name\": \"Broadcast Event April\",\n            \"description\": \"Dynamic media per recipient\",\n            \"status\": \"completed\",\n            \"scheduled_at\": \"2026-04-08T03:00:00.000Z\",\n            \"started_at\": \"2026-04-08T03:00:05.000Z\",\n            \"completed_at\": \"2026-04-08T03:02:05.000Z\"\n        },\n        \"statistics\": {\n            \"total\": 150,\n            \"pending\": 0,\n            \"queued\": 0,\n            \"sent\": 10,\n            \"delivered\": 100,\n            \"read\": 35,\n            \"failed\": 5,\n            \"cancelled\": 0,\n            \"paused\": 0,\n            \"success_rate\": \"96.67\",\n            \"delivery_rate\": \"93.10\",\n            \"read_rate\": \"25.93\",\n            \"failure_rate\": \"3.33\"\n        },\n        \"progress\": {\n            \"total\": 150,\n            \"completed\": 150,\n            \"remaining\": 0,\n            \"progress_percentage\": \"100.00\",\n            \"status\": \"completed\"\n        },\n        \"duration\": {\n            \"start\": \"2026-04-08T03:00:05.000Z\",\n            \"end\": \"2026-04-08T03:02:05.000Z\",\n            \"duration_ms\": 120000,\n            \"duration_seconds\": 120,\n            \"duration_minutes\": 2,\n            \"duration_hours\": 0\n        },\n        \"sending_rate\": {\n            \"messages_per_second\": \"1.21\",\n            \"messages_per_minute\": \"72.50\",\n            \"messages_per_hour\": \"0.00\"\n        },\n        \"failure_analysis\": {\n            \"total_failures\": 5,\n            \"failure_rate\": \"3.33\",\n            \"grouped_by_error\": [\n                {\n                    \"error_code\": \"131026\",\n                    \"count\": 3,\n                    \"recipients\": [\n                        {\n                            \"recipient_id\": \"65f100000000000000000100\",\n                            \"error_message\": \"Message undeliverable\",\n                            \"failed_at\": \"2026-04-08T03:01:10.000Z\"\n                        }\n                    ]\n                },\n                {\n                    \"error_code\": \"131047\",\n                    \"count\": 2,\n                    \"recipients\": [\n                        {\n                            \"recipient_id\": \"65f100000000000000000200\",\n                            \"error_message\": \"Re-engagement message required\",\n                            \"failed_at\": \"2026-04-08T03:01:45.000Z\"\n                        }\n                    ]\n                }\n            ]\n        },\n        \"delivery_funnel\": {\n            \"total_recipients\": 150,\n            \"sent\": 145,\n            \"delivered\": 135,\n            \"read\": 35,\n            \"failed\": 5,\n            \"pending\": 0\n        }\n    },\n    \"metadata\": {\n        \"timestamp\": 1775563300000\n    }\n}"},{"id":"86fb0b09-1e1f-4d48-9b2d-0f822d50167c","name":"Broadcast Not Found","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/official/broadcasts/000000000000000000000000/monitoring"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 404,\n    \"message\": \"Broadcast not found\",\n    \"data\": null,\n    \"metadata\": {\n        \"timestamp\": 1775563300000\n    }\n}"}],"_postman_id":"6af639d8-bfa8-4bdc-84ff-e62e35d776ec"},{"name":"Send OTP by Serial Token (Shared Waba Only)","id":"52f58f7f-aae6-4629-8de2-470987609c24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-timestamp","value":"{{timestamp}}","type":"text"},{"key":"x-signature","value":"{{signature}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"to\": \"6281234567890\",\n  \"otp_code\": \"123456\",\n  \"metadata\": {\n    \"source\": \"postman\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-client.plasgos.co.id/api/v1/official/shared-waba/otp/{{serial_token}}","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"ef77b579-e1a2-406f-9051-daff322fdee6","id":"ef77b579-e1a2-406f-9051-daff322fdee6","name":"🚀 Plasgos CRM API Documentation","type":"collection"}},"urlObject":{"path":["api","v1","official","shared-waba","otp","{{serial_token}}"],"host":["https://wa-client.plasgos.co.id"],"query":[],"variable":[]}},"response":[{"id":"13b04bb7-ddda-42e8-93f5-cfd09d40c51a","name":"Example Response","originalRequest":{"method":"POST","header":[{"key":"x-timestamp","value":"{{timestamp}}","type":"text"},{"key":"x-signature","value":"{{signature}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"to\": \"6281234567890\",\n  \"otp_code\": \"123456\",\n  \"metadata\": {\n    \"source\": \"postman\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-client.plasgos.co.id/api/v1/official/shared-waba/otp/{{serial_token}}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"OTP successfully sent\",\n    \"data\": {\n        \"message_id\": \"wamid.HBgNNjI4MTM0MTQzOTg5NRUCABEYEjcxOUY4RTAxQjZDMjBCN0I0OQA=\",\n        \"otp_code\": \"123456\",\n        \"serial_token\": \"swotp_7679316ff33b4dd692dfb5f3c2900035\"\n    },\n    \"metadata\": {\n        \"timestamp\": 1776241069123\n    }\n}"}],"_postman_id":"52f58f7f-aae6-4629-8de2-470987609c24"}],"id":"59dff2fc-f0d8-452d-9f6c-157447ab2f9c","description":"<p>Dokumentasi API integration untuk WhatsApp Business API Official. Alur yang disarankan: ambil account, ambil phone number, ambil template approved, lalu kirim template message.</p>\n","_postman_id":"59dff2fc-f0d8-452d-9f6c-157447ab2f9c","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"ef77b579-e1a2-406f-9051-daff322fdee6","id":"ef77b579-e1a2-406f-9051-daff322fdee6","name":"🚀 Plasgos CRM API Documentation","type":"collection"}}},{"name":"WA Message","item":[{"name":"Send Message","id":"c496a65e-6065-48fd-9df6-e09c011bf8a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"message_id\": \"<YOUR MESSAGE ID>\",\r\n  \"channel\": \"whatsapp\", \r\n  \"account\": {\r\n    \"account_id\": \"<ACCOUNT ID>\"\r\n  },\r\n  \"receiver\": {\r\n    \"phone_number\": \"<PHONE NUMBER>\",\r\n    \"name\": \"John Doe\"\r\n  },\r\n  \"content\": {\r\n    /**\r\n     * example content text\r\n    */\r\n\r\n    \"type\": \"text\",\r\n    \"data\": {\r\n        \"text\": \"Hello Testing\"\r\n    }\r\n\r\n    /**\r\n     * example content image and video\r\n    */\r\n    \r\n    // \"type\": \"image|video\",\r\n    // \"data\": {\r\n    //     \"url\": \"\"\r\n    //     \"caption\": \"Hello Testing\"\r\n    // }\r\n\r\n    /**\r\n     * example content document\r\n    */\r\n    \r\n    // \"type\": \"document\",\r\n    // \"data\": {\r\n    //     \"url\": \"\"\r\n    //     \"caption\": \"Hello Testing\",\r\n    //     \"mime_type\": \"application/pdf\",\r\n    //     \"file_name\": \"test.pdf\"\r\n    // }\r\n    \r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-client.plasgos.co.id/api/v1/messages","description":"<p>Mengirim pesan WhatsApp ke nomor tujuan.</p>\n<p><strong>Example Content Types:</strong></p>\n<p><strong>A. Text Message</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"text\",\n  \"data\": {\n    \"text\": \"Your message here\"\n  }\n}\n\n</code></pre>\n<p><strong>B. Image Message</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"image\",\n  \"data\": {\n    \"url\": \"https://example.com/image.jpg\",\n    \"caption\": \"Image caption (optional)\"\n  }\n}\n\n</code></pre>\n<p><strong>C. Video Message</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"video\",\n  \"data\": {\n    \"url\": \"https://example.com/video.mp4\",\n    \"caption\": \"Video caption (optional)\"\n  }\n}\n\n</code></pre>\n<p><strong>D. Document Message</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"document\",\n  \"data\": {\n    \"url\": \"https://example.com/document.pdf\",\n    \"caption\": \"Document caption (optional)\",\n    \"mime_type\": \"application/pdf\",\n    \"file_name\": \"document.pdf\"\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["api","v1","messages"],"host":["https://wa-client.plasgos.co.id"],"query":[],"variable":[]}},"response":[{"id":"3b54f28b-bec2-4aae-9b41-28a57819c711","name":"Success","originalRequest":{"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"message_id\": \"<YOUR MESSAGE ID>\",\r\n  \"channel\": \"whatsapp\", \r\n  \"account\": {\r\n    \"account_id\": \"<ACCOUNT ID>\"\r\n  },\r\n  \"receiver\": {\r\n    \"phone_number\": \"<PHONE NUMBER>\",\r\n    \"name\": \"John Doe\"\r\n  },\r\n  \"content\": {\r\n    /**\r\n     * example content text\r\n    */\r\n\r\n    \"type\": \"text\",\r\n    \"data\": {\r\n        \"text\": \"Hello Testing\"\r\n    }\r\n\r\n    /**\r\n     * example content image and video\r\n    */\r\n    \r\n    // \"type\": \"image|video\",\r\n    // \"data\": {\r\n    //     \"url\": \"\"\r\n    //     \"caption\": \"Hello Testing\"\r\n    // }\r\n\r\n    /**\r\n     * example content document\r\n    */\r\n    \r\n    // \"type\": \"document\",\r\n    // \"data\": {\r\n    //     \"url\": \"\"\r\n    //     \"caption\": \"Hello Testing\",\r\n    //     \"mime_type\": \"application/pdf\",\r\n    //     \"file_name\": \"test.pdf\"\r\n    // }\r\n    \r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-client.plasgos.co.id/api/v1/messages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Message sent successfully\",\n    \"data\": {\n        \"message_id\": \"msg_20251007_001\",\n        \"account_id\": \"68b14dc526d...\",\n        \"receiver\": {\n            \"phone_number\": \"6281234567890\",\n            \"name\": \"John Doe\"\n        },\n        \"content\": {\n            \"type\": \"text\",\n            \"data\": {\n                \"text\": \"Hello Testing\"\n            }\n        }\n    },\n    \"metadata\": {\n        \"timestamp\": 1759828880403\n    }\n}"},{"id":"070a8847-7758-473e-abcf-4cb1c83283c1","name":"Invalid Signature","originalRequest":{"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"message_id\": \"<YOUR MESSAGE ID>\",\r\n  \"channel\": \"whatsapp\", \r\n  \"account\": {\r\n    \"account_id\": \"<ACCOUNT ID>\"\r\n  },\r\n  \"receiver\": {\r\n    \"phone_number\": \"<PHONE NUMBER>\",\r\n    \"name\": \"John Doe\"\r\n  },\r\n  \"content\": {\r\n    /**\r\n     * example content text\r\n    */\r\n\r\n    \"type\": \"text\",\r\n    \"data\": {\r\n        \"text\": \"Hello Testing\"\r\n    }\r\n\r\n    /**\r\n     * example content image and video\r\n    */\r\n    \r\n    // \"type\": \"image|video\",\r\n    // \"data\": {\r\n    //     \"url\": \"\"\r\n    //     \"caption\": \"Hello Testing\"\r\n    // }\r\n\r\n    /**\r\n     * example content document\r\n    */\r\n    \r\n    // \"type\": \"document\",\r\n    // \"data\": {\r\n    //     \"url\": \"\"\r\n    //     \"caption\": \"Hello Testing\",\r\n    //     \"mime_type\": \"application/pdf\",\r\n    //     \"file_name\": \"test.pdf\"\r\n    // }\r\n    \r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-client.plasgos.co.id/api/v1/messages"},"code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 403,\n    \"message\": \"Invalid signature\",\n    \"metadata\": {\n        \"timestamp\": 1759829502704\n    }\n}"},{"id":"0631b319-7a14-419a-bc9d-6d9ded9a99db","name":"Duplicate Message ID","originalRequest":{"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"message_id\": \"<YOUR MESSAGE ID>\",\r\n  \"channel\": \"whatsapp\", \r\n  \"account\": {\r\n    \"account_id\": \"<ACCOUNT ID>\"\r\n  },\r\n  \"receiver\": {\r\n    \"phone_number\": \"<PHONE NUMBER>\",\r\n    \"name\": \"John Doe\"\r\n  },\r\n  \"content\": {\r\n    /**\r\n     * example content text\r\n    */\r\n\r\n    \"type\": \"text\",\r\n    \"data\": {\r\n        \"text\": \"Hello Testing\"\r\n    }\r\n\r\n    /**\r\n     * example content image and video\r\n    */\r\n    \r\n    // \"type\": \"image|video\",\r\n    // \"data\": {\r\n    //     \"url\": \"\"\r\n    //     \"caption\": \"Hello Testing\"\r\n    // }\r\n\r\n    /**\r\n     * example content document\r\n    */\r\n    \r\n    // \"type\": \"document\",\r\n    // \"data\": {\r\n    //     \"url\": \"\"\r\n    //     \"caption\": \"Hello Testing\",\r\n    //     \"mime_type\": \"application/pdf\",\r\n    //     \"file_name\": \"test.pdf\"\r\n    // }\r\n    \r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-client.plasgos.co.id/api/v1/messages"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": 409,\r\n    \"message\": \"Missing or invalid data\",\r\n    \"metadata\": {\r\n        \"timestamp\": 1759829384791\r\n    },\r\n    \"errors\": [\r\n        {\r\n            \"message\": \"Message ID already exists\",\r\n            \"path\": [\r\n                \"message_id\",\r\n                \"message_id\"\r\n            ]\r\n        }\r\n    ]\r\n}"},{"id":"923ee145-3e48-49d7-b84e-6f866b198c37","name":"Error Validation Input","originalRequest":{"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"message_id\": \"<YOUR MESSAGE ID>\",\r\n  \"channel\": \"whatsapp\", \r\n  \"account\": {\r\n    \"account_id\": \"<ACCOUNT ID>\"\r\n  },\r\n  \"receiver\": {\r\n    \"phone_number\": \"<PHONE NUMBER>\",\r\n    \"name\": \"John Doe\"\r\n  },\r\n  \"content\": {\r\n    /**\r\n     * example content text\r\n    */\r\n\r\n    \"type\": \"text\",\r\n    \"data\": {\r\n        \"text\": \"Hello Testing\"\r\n    }\r\n\r\n    /**\r\n     * example content image and video\r\n    */\r\n    \r\n    // \"type\": \"image|video\",\r\n    // \"data\": {\r\n    //     \"url\": \"\"\r\n    //     \"caption\": \"Hello Testing\"\r\n    // }\r\n\r\n    /**\r\n     * example content document\r\n    */\r\n    \r\n    // \"type\": \"document\",\r\n    // \"data\": {\r\n    //     \"url\": \"\"\r\n    //     \"caption\": \"Hello Testing\",\r\n    //     \"mime_type\": \"application/pdf\",\r\n    //     \"file_name\": \"test.pdf\"\r\n    // }\r\n    \r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-client.plasgos.co.id/api/v1/messages"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 422,\n    \"message\": \"Missing or invalid data\",\n    \"metadata\": {\n        \"timestamp\": 1759829918645\n    },\n    \"errors\": [\n        {\n            \"message\": \"Phone number must start with +62, 62, or 08 and be max 15 digits\",\n            \"path\": [\n                \"receiver\",\n                \"phone_number\"\n            ]\n        },\n        {\n            \"message\": \"Account id is invalid\",\n            \"path\": [\n                \"account\",\n                \"account_id\",\n                \"account\",\n                \"account_id\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"c496a65e-6065-48fd-9df6-e09c011bf8a2"},{"name":"List Message","id":"70afeb12-79b0-4bc5-a71e-4aa50fb19f55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/messages","urlObject":{"path":["api","v1","messages"],"host":["https://wa-client.plasgos.co.id"],"query":[],"variable":[]}},"response":[{"id":"ce9c04b2-4267-4666-9c39-649b504df56d","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/messages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Message get successfully\",\n    \"data\": [\n        {\n            \"message_id\": \"msg_20251007_001\",\n            \"account\": {\n                \"id\": \"68b14dc526...\",\n                \"name\": \"Eko Suprianto\",\n                \"phone_number\": \"6281234567890\"\n            },\n            \"receiver\": {\n                \"phone_number\": \"6281234567890\",\n                \"name\": \"John Doe\"\n            },\n            \"content\": {\n                \"data\": {\n                    \"text\": \"Hello Testing\"\n                },\n                \"type\": \"text\"\n            }\n        },\n        {\n            \"message_id\": \"msg_20251007_001\",\n            \"account\": {\n                \"id\": \"68b14dc52...\",\n                \"name\": \"Eko Suprianto\",\n                \"phone_number\": \"6281234567890\"\n            },\n            \"receiver\": {\n                \"phone_number\": \"6281234567890\",\n                \"name\": \"John Doe\"\n            },\n            \"content\": {\n                \"data\": {\n                    \"text\": \"Hello Testing\"\n                },\n                \"type\": \"text\"\n            }\n        },\n        {\n            \"message_id\": \"msg_20251007_001\",\n            \"account\": {\n                \"id\": \"68b14dc526d...\",\n                \"name\": \"Eko Suprianto\",\n                \"phone_number\": \"6281234567890\"\n            },\n            \"receiver\": {\n                \"phone_number\": \"6281234567890\",\n                \"name\": \"John Doe\"\n            },\n            \"content\": {\n                \"data\": {\n                    \"text\": \"Hello Testing\"\n                },\n                \"type\": \"text\"\n            }\n        },\n        {\n            \"message_id\": \"msg_20251007_001\",\n            \"account\": {\n                \"id\": \"68b14dc526d...\",\n                \"name\": \"Eko Suprianto\",\n                \"phone_number\": \"6281234567890\"\n            },\n            \"receiver\": {\n                \"phone_number\": \"6281234567890\",\n                \"name\": \"John Doe\"\n            },\n            \"content\": {\n                \"data\": {\n                    \"text\": \"Hello Testing\"\n                },\n                \"type\": \"text\"\n            }\n        },\n        {\n            \"message_id\": \"msg_20251007_002\",\n            \"account\": {\n                \"id\": \"68b14dc526d0...\",\n                \"name\": \"Eko Suprianto\",\n                \"phone_number\": \"6281234567890\"\n            },\n            \"receiver\": {\n                \"phone_number\": \"6281234567890\",\n                \"name\": \"John Doe\"\n            },\n            \"content\": {\n                \"data\": {\n                    \"text\": \"Hello Testing\"\n                },\n                \"type\": \"text\"\n            }\n        },\n        {\n            \"message_id\": \"msg_20251007_003\",\n            \"account\": {\n                \"id\": \"68b14dc526d0...\",\n                \"name\": \"Eko Suprianto\",\n                \"phone_number\": \"6281234567890\"\n            },\n            \"receiver\": {\n                \"phone_number\": \"6281234567890\",\n                \"name\": \"John Doe\"\n            },\n            \"content\": {\n                \"data\": {\n                    \"text\": \"Aduhhh Aku Lapar...\"\n                },\n                \"type\": \"text\"\n            }\n        },\n        {\n            \"message_id\": \"msg_20251007_004\",\n            \"account\": {\n                \"id\": \"68b14dc526d...\",\n                \"name\": \"Eko Suprianto\",\n                \"phone_number\": \"6281234567890\"\n            },\n            \"receiver\": {\n                \"phone_number\": \"6281234567890\",\n                \"name\": \"John Doe\"\n            },\n            \"content\": {\n                \"data\": {\n                    \"text\": \"😁\"\n                },\n                \"type\": \"text\"\n            }\n        }\n    ],\n    \"metadata\": {\n        \"count\": 11,\n        \"timestamp\": 1759886573447\n    }\n}"},{"id":"84a63828-e21b-4664-8dd4-1c04fcb0f0dd","name":"Expired Timestamp","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/messages"},"status":"Request Timeout","code":408,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 408,\n    \"message\": \"Request timestamp expired\",\n    \"metadata\": {\n        \"timestamp\": 1759886839318\n    }\n}"},{"id":"b540ab74-e547-4861-9bca-6c04aaf602a0","name":"Invalid Signature","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/messages"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 403,\n    \"message\": \"Invalid signature\",\n    \"metadata\": {\n        \"timestamp\": 1759886888514\n    }\n}"}],"_postman_id":"70afeb12-79b0-4bc5-a71e-4aa50fb19f55"},{"name":"Detail Message","id":"9d79d2b4-43dd-4f06-a0e0-169bf5f2744d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"x-timestamp","value":"1759886116","type":"text"},{"key":"x-signature","value":"ce12c8c6b1aa17464fbbb6d2e44f5d5e0f56dc19c22eaa8ad8314554c71046ab","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/messages/","urlObject":{"path":["api","v1","messages",""],"host":["https://wa-client.plasgos.co.id"],"query":[],"variable":[]}},"response":[{"id":"fbf1b0e9-ad39-471c-af62-00806a5338e9","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/messages/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Message find successfully\",\n    \"data\": {\n        \"message_id\": \"msg_20251007_015\",\n        \"account\": {\n            \"id\": \"68b14dc526d...\",\n            \"name\": \"Eko Suprianto\",\n            \"phone_number\": \"6281234567890\"\n        },\n        \"receiver\": {\n            \"phone_number\": \"6281234567890\",\n            \"name\": \"John Doe\"\n        },\n        \"content\": {\n            \"data\": {\n                \"text\": \"Hello, testing message\"\n            },\n            \"type\": \"text\"\n        },\n        \"sent\": true,\n        \"sent_at\": 1759889368645\n    },\n    \"metadata\": {\n        \"timestamp\": 1759889836977\n    }\n}"},{"id":"0aec16a6-e15c-405e-a8e4-48f9510502e5","name":"Error","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/messages/"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 404,\n    \"message\": \"Missing or invalid data\",\n    \"metadata\": {\n        \"timestamp\": 1759890845882\n    },\n    \"errors\": [\n        {\n            \"message\": \"Message Not Found\",\n            \"path\": [\n                \"message_id\",\n                \"message_id\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"9d79d2b4-43dd-4f06-a0e0-169bf5f2744d"}],"id":"05920b85-7321-484d-af14-820f43a6856b","description":"<p>Kirim pesan ke Whatsapp dan get list pesan yangt dikirim lewat Plasgos API CRM</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"f9f8bc65-84f6-466e-9452-b9d85299a0ef"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"af9bbbdc-f257-4042-8cd4-39134da15445"}}],"_postman_id":"05920b85-7321-484d-af14-820f43a6856b"}],"id":"45e79583-b6ea-4673-a795-25f9ac350e63","_postman_id":"45e79583-b6ea-4673-a795-25f9ac350e63","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"ef77b579-e1a2-406f-9051-daff322fdee6","id":"ef77b579-e1a2-406f-9051-daff322fdee6","name":"🚀 Plasgos CRM API Documentation","type":"collection"}}},{"name":"Sandbox","item":[{"name":"Account","item":[{"name":"Get Accounts","id":"e07edb7c-b3f1-429a-a485-33fdd82c0628","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/accounts","urlObject":{"protocol":"https","path":["api","v1","accounts"],"host":["api-crm","sandbox","plasgos","co","id"],"query":[],"variable":[]}},"response":[{"id":"b9de0dd9-a777-4e90-83c4-b009f2f067a5","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/accounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Account get successfully\",\n    \"data\": [\n        {\n            \"id\": \"68b14dc526d...\",\n            \"name\": \"Eko Suprianto\",\n            \"phone_number\": \"6281234567890\"\n        }\n    ],\n    \"metadata\": {\n        \"count\": 1,\n        \"timestamp\": 1759889912499\n    }\n}"},{"id":"ce88ecd3-f681-4b4d-ac6e-c118ed72654e","name":"Invalid Signature","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/accounts"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 403,\n    \"message\": \"Invalid signature\",\n    \"metadata\": {\n        \"timestamp\": 1759891011784\n    }\n}"}],"_postman_id":"e07edb7c-b3f1-429a-a485-33fdd82c0628"},{"name":"Get Account (Specific ID)","id":"922c271f-0b38-4a66-bd2b-0bb8abd0d615","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"message_id\": \"msg_20251007_001\",\r\n  \"channel\": \"whatsapp\", \r\n  \"account\": {\r\n    \"account_id\": \"wa_628123456789@c.us\"\r\n  },\r\n  \"receiver\": {\r\n    \"phone_number\": \"628123456789\",\r\n    \"name\": \"John Doe\"\r\n  },\r\n  \"contents\": [\r\n    {\r\n      \"type\": \"text\",\r\n      \"data\": {\r\n        \"text\": \"Hello Testing\"\r\n      }\r\n    },\r\n    {\r\n      \"type\": \"video\",\r\n      \"data\": {\r\n        \"url\": \"https://cdn.example.com/video.mp4\",\r\n        \"caption\": \"Hello Testing\"\r\n      }\r\n    }\r\n  ]\r\n}"},"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/accounts/","urlObject":{"protocol":"https","path":["api","v1","accounts",""],"host":["api-crm","sandbox","plasgos","co","id"],"query":[],"variable":[]}},"response":[{"id":"63621729-ef42-4776-9726-00660cbcf079","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/accounts/"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Account find successfully\",\n    \"data\": {\n        \"id\": \"68b14dc526d...\",\n        \"name\": \"Eko Suprianto\",\n        \"phone_number\": \"6281234567890\"\n    },\n    \"metadata\": {\n        \"timestamp\": 1759890646549\n    }\n}"},{"id":"ee17d4ae-01dc-476f-bf14-56607edee6dd","name":"Error","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/accounts/"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 404,\n    \"message\": \"Missing or invalid data\",\n    \"metadata\": {\n        \"timestamp\": 1759890690158\n    },\n    \"errors\": [\n        {\n            \"message\": \"Account not found\",\n            \"path\": [\n                \"account_id\",\n                \"account_id\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"922c271f-0b38-4a66-bd2b-0bb8abd0d615"},{"name":"Connecting Account Number By Pairing Code","id":"8a51f646-f4bc-4b4a-9094-b5e814ff299b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"phone_number\": \"<PHONE NUMBER>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/sessions","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"ef77b579-e1a2-406f-9051-daff322fdee6","id":"ef77b579-e1a2-406f-9051-daff322fdee6","name":"🚀 Plasgos CRM API Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","sessions"],"host":["api-crm","sandbox","plasgos","co","id"],"query":[],"variable":[]}},"response":[{"id":"e95ae68d-f817-4f04-b78d-d27f2cfed8d6","name":"Success","originalRequest":{"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"phone_number\": \"<PHONE NUMBER>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-client.plasgos.co.id/api/v1/sessions"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Request Connecting successfully\",\n    \"data\": {\n        \"pairing_code\": \"SQNB-7EAX\"\n    },\n    \"metadata\": {\n        \"timestamp\": 1760001576589\n    }\n}"}],"_postman_id":"8a51f646-f4bc-4b4a-9094-b5e814ff299b"}],"id":"65eed905-0f56-4c68-a74c-e55d2cef9801","description":"<p>Get data account yang terhubung di Plasgos CRM dan ambil ID untuk mengirim pesan lewat Plasgos API CRM</p>\n","_postman_id":"65eed905-0f56-4c68-a74c-e55d2cef9801","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"ef77b579-e1a2-406f-9051-daff322fdee6","id":"ef77b579-e1a2-406f-9051-daff322fdee6","name":"🚀 Plasgos CRM API Documentation","type":"collection"}}},{"name":"WABA Official","item":[{"name":"Get Official Accounts","id":"9484de85-2103-4b5f-8e8e-bd88ebdf2aae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/official/accounts","description":"<p>Ambil semua akun WABA Official yang terhubung ke API key ini. Respons juga menyertakan phone number yang aktif, approved, dan tersedia untuk pengiriman template.</p>\n","urlObject":{"protocol":"https","path":["api","v1","official","accounts"],"host":["api-crm","sandbox","plasgos","co","id"],"query":[],"variable":[]}},"response":[{"id":"4a8b7a57-ceff-4a31-bf0e-dd6c00f68bde","name":"Success","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/official/accounts","description":"Ambil semua akun WABA Official yang terhubung ke API key ini. Respons juga menyertakan phone number yang aktif, approved, dan tersedia untuk pengiriman template."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Retrieve accounts is successfully\",\n    \"data\": [\n        {\n            \"id\": \"67f1c8b62f2e4a0012345678\",\n            \"name\": \"Plasgos WABA Demo\",\n            \"phone_numbers\": [\n                {\n                    \"phone_number_id\": \"628123456789012\",\n                    \"display_name\": \"+62 812-3456-7890\",\n                    \"status_review\": \"APPROVED\",\n                    \"is_default\": true,\n                    \"quality_rating\": \"GREEN\",\n                    \"created_at\": \"2026-04-06T08:15:00.000Z\",\n                    \"updated_at\": \"2026-04-06T08:15:00.000Z\"\n                }\n            ]\n        }\n    ],\n    \"metadata\": {\n        \"count\": 1,\n        \"timestamp\": 1775463300000\n    }\n}"},{"id":"d1f1aed3-079e-47b4-a8b5-03debd41befa","name":"Forbidden","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/official/accounts","description":"Ambil semua akun WABA Official yang terhubung ke API key ini. Respons juga menyertakan phone number yang aktif, approved, dan tersedia untuk pengiriman template."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 403,\n    \"message\": \"Forbidden: You don't have permission\",\n    \"data\": null,\n    \"metadata\": {\n        \"timestamp\": 1775463300000\n    }\n}"}],"_postman_id":"9484de85-2103-4b5f-8e8e-bd88ebdf2aae"},{"name":"Get Official Phone Numbers","id":"7e44e82f-034e-405f-9c8a-0936aedb2275","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/official/accounts/phone-numbers/","description":"<p>Ambil seluruh phone number WABA Official berdasarkan account id. Gunakan endpoint ini saat Anda perlu memilih <code>phone_number_id</code> yang valid untuk request kirim template.</p>\n","urlObject":{"protocol":"https","path":["api","v1","official","accounts","phone-numbers",""],"host":["api-crm","sandbox","plasgos","co","id"],"query":[],"variable":[]}},"response":[{"id":"196259e5-3e02-4478-8e8d-ffcb8121f9e9","name":"Success","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/official/accounts/phone-numbers/","description":"Ambil seluruh phone number WABA Official berdasarkan account id. Gunakan endpoint ini saat Anda perlu memilih `phone_number_id` yang valid untuk request kirim template."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Retrieve accounts is successfully\",\n    \"data\": [\n        {\n            \"phone_number_id\": \"628123456789012\",\n            \"display_name\": \"+62 812-3456-7890\",\n            \"status_review\": \"APPROVED\",\n            \"is_default\": true,\n            \"quality_rating\": \"GREEN\",\n            \"created_at\": \"2026-04-06T08:15:00.000Z\",\n            \"updated_at\": \"2026-04-06T08:15:00.000Z\"\n        }\n    ],\n    \"metadata\": {\n        \"count\": 1,\n        \"timestamp\": 1775463300000\n    }\n}"},{"id":"829ebb18-0870-4f59-91a9-53c2ac034c0c","name":"Account Id Required","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/official/accounts/phone-numbers/","description":"Ambil seluruh phone number WABA Official berdasarkan account id. Gunakan endpoint ini saat Anda perlu memilih `phone_number_id` yang valid untuk request kirim template."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"Account id is required\",\n    \"data\": null,\n    \"metadata\": {\n        \"timestamp\": 1775463300000\n    }\n}"}],"_postman_id":"7e44e82f-034e-405f-9c8a-0936aedb2275"},{"name":"Get Official Templates","id":"b1774283-8990-4657-a47d-edd8d6faf966","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/official/templates/?category=UTILITY","description":"<p>Ambil daftar template yang sudah <code>APPROVED</code> dari akun WABA tertentu. Query <code>category</code> bersifat opsional dan bisa diisi <code>MARKETING</code>, <code>UTILITY</code>, <code>AUTHENTICATION</code>, atau <code>OTP</code> untuk memfilter hasil.</p>\n","urlObject":{"protocol":"https","path":["api","v1","official","templates",""],"host":["api-crm","sandbox","plasgos","co","id"],"query":[{"key":"category","value":"UTILITY"}],"variable":[]}},"response":[{"id":"76d5e7d4-7963-4ac0-ae6a-22bd52f7c40d","name":"Success","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":{"raw":"https://api-crm.sandbox.plasgos.co.id/api/v1/official/templates/?category=UTILITY","protocol":"https","host":["api-crm","sandbox","plasgos","co","id"],"path":["api","v1","official","templates",""],"query":[{"key":"category","value":"UTILITY"}]},"description":"Ambil daftar template yang sudah `APPROVED` dari akun WABA tertentu. Query `category` bersifat opsional dan bisa diisi `MARKETING`, `UTILITY`, `AUTHENTICATION`, atau `OTP` untuk memfilter hasil."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Retrieve templates is successfully\",\n    \"data\": [\n        {\n            \"id\": \"1234567890123456\",\n            \"name\": \"order_update_v1\",\n            \"status\": \"APPROVED\",\n            \"category\": \"UTILITY\",\n            \"language\": \"id\",\n            \"components\": [\n                {\n                    \"type\": \"BODY\",\n                    \"text\": \"Halo {{1}}, invoice {{2}} sudah kami terima.\"\n                }\n            ]\n        }\n    ],\n    \"metadata\": {\n        \"count\": 1,\n        \"timestamp\": 1775463300000\n    }\n}"},{"id":"17f7429b-64cd-4edd-9a60-500d21d7187a","name":"Waba Account Not Found","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":{"raw":"https://api-crm.sandbox.plasgos.co.id/api/v1/official/templates/?category=UTILITY","protocol":"https","host":["api-crm","sandbox","plasgos","co","id"],"path":["api","v1","official","templates",""],"query":[{"key":"category","value":"UTILITY"}]},"description":"Ambil daftar template yang sudah `APPROVED` dari akun WABA tertentu. Query `category` bersifat opsional dan bisa diisi `MARKETING`, `UTILITY`, `AUTHENTICATION`, atau `OTP` untuk memfilter hasil."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 404,\n    \"message\": \"Waba account not found\",\n    \"data\": null,\n    \"metadata\": {\n        \"timestamp\": 1775463300000\n    }\n}"}],"_postman_id":"b1774283-8990-4657-a47d-edd8d6faf966"},{"name":"Send Official Template Message","id":"1fdc3ae6-6120-4922-8d90-e92c855a12dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"phone_number_id\": \"\",\n  \"to\": \"6281234567890\",\n  \"template\": {\n    \"id\": \"\",\n    \"name\": \"order_update_v1\",\n    \"category\": \"UTILITY\",\n    \"parameters\": {\n      \"variables\": [\n        {\n          \"name\": \"1\",\n          \"value\": \"Budi\"\n        },\n        {\n          \"name\": \"2\",\n          \"value\": \"INV-20260406-001\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/official/messages","description":"<p>Kirim template message melalui WABA Official. Untuk kategori <code>OTP</code> atau <code>AUTHENTICATION</code>, sistem dapat otomatis membangkitkan <code>otp_code</code> bila <code>template.parameters.code</code> tidak dikirim. Untuk template non-OTP, kirim variabel melalui <code>template.parameters.variables</code> sesuai placeholder template di Meta.</p>\n","urlObject":{"protocol":"https","path":["api","v1","official","messages"],"host":["api-crm","sandbox","plasgos","co","id"],"query":[],"variable":[]}},"response":[{"id":"6c7b1dd0-604c-42fc-8d25-2e1c2c8d6ee2","name":"Success","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"phone_number_id\": \"\",\n  \"to\": \"6281234567890\",\n  \"template\": {\n    \"id\": \"\",\n    \"name\": \"order_update_v1\",\n    \"category\": \"UTILITY\",\n    \"parameters\": {\n      \"variables\": [\n        {\n          \"name\": \"1\",\n          \"value\": \"Budi\"\n        },\n        {\n          \"name\": \"2\",\n          \"value\": \"INV-20260406-001\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/official/messages","description":"Kirim template message melalui WABA Official. Untuk kategori `OTP` atau `AUTHENTICATION`, sistem dapat otomatis membangkitkan `otp_code` bila `template.parameters.code` tidak dikirim. Untuk template non-OTP, kirim variabel melalui `template.parameters.variables` sesuai placeholder template di Meta."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Template successfully sent\",\n    \"data\": {\n        \"message_id\": \"wamid.HBgLNzg5MDEyMzQ1Njc4FQIAERgSNkU3RjM0QzY4RkM2RjA5AA==\"\n    },\n    \"metadata\": {\n        \"timestamp\": 1775463300000\n    }\n}"},{"id":"f0cc26bc-36ab-4026-a8aa-211834110174","name":"OTP Success","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"phone_number_id\": \"\",\n  \"to\": \"6281234567890\",\n  \"template\": {\n    \"id\": \"\",\n    \"name\": \"order_update_v1\",\n    \"category\": \"UTILITY\",\n    \"parameters\": {\n      \"variables\": [\n        {\n          \"name\": \"1\",\n          \"value\": \"Budi\"\n        },\n        {\n          \"name\": \"2\",\n          \"value\": \"INV-20260406-001\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/official/messages","description":"Kirim template message melalui WABA Official. Untuk kategori `OTP` atau `AUTHENTICATION`, sistem dapat otomatis membangkitkan `otp_code` bila `template.parameters.code` tidak dikirim. Untuk template non-OTP, kirim variabel melalui `template.parameters.variables` sesuai placeholder template di Meta."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"OTP successfully sent\",\n    \"data\": {\n        \"message_id\": \"wamid.HBgLNzg5MDEyMzQ1Njc4FQIAERgSNkU3RjM0QzY4RkM2RjA5AA==\",\n        \"otp_code\": 483921\n    },\n    \"metadata\": {\n        \"timestamp\": 1775463300000\n    }\n}"},{"id":"e6cf4f2e-aeed-4828-8e05-490e9f2b9e26","name":"Validation Error","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"phone_number_id\": \"\",\n  \"to\": \"6281234567890\",\n  \"template\": {\n    \"id\": \"\",\n    \"name\": \"order_update_v1\",\n    \"category\": \"UTILITY\",\n    \"parameters\": {\n      \"variables\": [\n        {\n          \"name\": \"1\",\n          \"value\": \"Budi\"\n        },\n        {\n          \"name\": \"2\",\n          \"value\": \"INV-20260406-001\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/official/messages","description":"Kirim template message melalui WABA Official. Untuk kategori `OTP` atau `AUTHENTICATION`, sistem dapat otomatis membangkitkan `otp_code` bila `template.parameters.code` tidak dikirim. Untuk template non-OTP, kirim variabel melalui `template.parameters.variables` sesuai placeholder template di Meta."},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 422,\n    \"message\": \"Missing or invalid data\",\n    \"metadata\": {\n        \"timestamp\": 1775463300000\n    },\n    \"errors\": [\n        {\n            \"message\": \"Waba phone number not found\",\n            \"path\": [\n                \"phone_number_id\"\n            ]\n        },\n        {\n            \"message\": \"Template name is required\",\n            \"path\": [\n                \"template\",\n                \"name\"\n            ]\n        }\n    ]\n}"},{"id":"a9c8166a-8116-4a5e-bb6a-b45e69a32de6","name":"Template Not Approved","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"phone_number_id\": \"\",\n  \"to\": \"6281234567890\",\n  \"template\": {\n    \"id\": \"\",\n    \"name\": \"order_update_v1\",\n    \"category\": \"UTILITY\",\n    \"parameters\": {\n      \"variables\": [\n        {\n          \"name\": \"1\",\n          \"value\": \"Budi\"\n        },\n        {\n          \"name\": \"2\",\n          \"value\": \"INV-20260406-001\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/official/messages","description":"Kirim template message melalui WABA Official. Untuk kategori `OTP` atau `AUTHENTICATION`, sistem dapat otomatis membangkitkan `otp_code` bila `template.parameters.code` tidak dikirim. Untuk template non-OTP, kirim variabel melalui `template.parameters.variables` sesuai placeholder template di Meta."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"Template is not approved\",\n    \"data\": null,\n    \"metadata\": {\n        \"timestamp\": 1775463300000\n    }\n}"}],"_postman_id":"1fdc3ae6-6120-4922-8d90-e92c855a12dc"},{"name":"Send Official Template Broadcast","id":"51ac4076-d002-4646-8f78-69493d0b67da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"account_id\": \"\",\n  \"template_id\": \"\",\n  \"phone_number_id\": \"\",\n  \"name\": \"Broadcast Event April\",\n  \"description\": \"Dynamic media per recipient\",\n  \"scheduled_at\": \"2026-04-08 10:00:00\",\n  \"request_id\": \"broadcast_req_20260407_001\",\n  \"variables\": [\n    {\n      \"name\": \"event_name\",\n      \"value\": \"Seminar April\"\n    },\n    {\n      \"name\": \"full_name\",\n      \"value\": \"{{name}}\"\n    }\n  ],\n  \"recipients\": [\n    {\n      \"phone_number\": \"628123456700\",\n      \"attachment\": {\n        \"type\": \"image\",\n        \"link\": \"https://cdn.example.com/user-1.png\",\n        \"mime_type\": \"image/png\",\n        \"file_name\": \"user-1.png\"\n      }\n    },\n    {\n      \"phone_number\": \"628123456701\",\n      \"attachment\": {\n        \"type\": \"video\",\n        \"link\": \"https://cdn.example.com/user-2.mp4\",\n        \"mime_type\": \"video/mp4\",\n        \"file_name\": \"user-2.mp4\"\n      }\n    },\n    {\n      \"phone_number\": \"628123456702\",\n      \"attachment\": {\n        \"type\": \"document\",\n        \"link\": \"https://cdn.example.com/user-3.pdf\",\n        \"mime_type\": \"application/pdf\",\n        \"file_name\": \"user-3.pdf\"\n      }\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/official/broadcasts","description":"<p>Buat broadcast WABA Official untuk semua jenis template message yang didukung sistem. <code>recipients[].attachment</code> bersifat opsional dan hanya dipakai untuk media unik per recipient pada template header <code>IMAGE</code>, <code>VIDEO</code>, atau <code>DOCUMENT</code>. Untuk template <code>LOCATION</code>, kirim field top-level <code>location</code>. Limit maksimal 1000 recipient per hari berdasarkan tanggal <code>scheduled_at</code>.</p>\n","urlObject":{"protocol":"https","path":["api","v1","official","broadcasts"],"host":["api-crm","sandbox","plasgos","co","id"],"query":[],"variable":[]}},"response":[{"id":"70637e1e-278b-4e9c-87cd-39f933edb86e","name":"Created","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"account_id\": \"\",\n  \"template_id\": \"\",\n  \"phone_number_id\": \"\",\n  \"name\": \"Broadcast Event April\",\n  \"description\": \"Dynamic media per recipient\",\n  \"scheduled_at\": \"2026-04-08 10:00:00\",\n  \"request_id\": \"broadcast_req_20260407_001\",\n  \"variables\": [\n    {\n      \"name\": \"event_name\",\n      \"value\": \"Seminar April\"\n    },\n    {\n      \"name\": \"full_name\",\n      \"value\": \"{{name}}\"\n    }\n  ],\n  \"recipients\": [\n    {\n      \"phone_number\": \"628123456700\",\n      \"attachment\": {\n        \"type\": \"image\",\n        \"link\": \"https://cdn.example.com/user-1.png\",\n        \"mime_type\": \"image/png\",\n        \"file_name\": \"user-1.png\"\n      }\n    },\n    {\n      \"phone_number\": \"628123456701\",\n      \"attachment\": {\n        \"type\": \"video\",\n        \"link\": \"https://cdn.example.com/user-2.mp4\",\n        \"mime_type\": \"video/mp4\",\n        \"file_name\": \"user-2.mp4\"\n      }\n    },\n    {\n      \"phone_number\": \"628123456702\",\n      \"attachment\": {\n        \"type\": \"document\",\n        \"link\": \"https://cdn.example.com/user-3.pdf\",\n        \"mime_type\": \"application/pdf\",\n        \"file_name\": \"user-3.pdf\"\n      }\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/official/broadcasts","description":"Buat broadcast WABA Official untuk semua jenis template message yang didukung sistem. `recipients[].attachment` bersifat opsional dan hanya dipakai untuk media unik per recipient pada template header `IMAGE`, `VIDEO`, atau `DOCUMENT`. Untuk template `LOCATION`, kirim field top-level `location`. Limit maksimal 1000 recipient per hari berdasarkan tanggal `scheduled_at`."},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"message\": \"Template broadcast created\",\n    \"data\": {\n        \"broadcast_id\": \"65f100000000000000000999\",\n        \"name\": \"Broadcast Event April\",\n        \"description\": \"Dynamic media per recipient\",\n        \"account_id\": \"\",\n        \"template_id\": \"\",\n        \"phone_number_id\": \"\",\n        \"total_recipients\": 3\n    },\n    \"metadata\": {\n        \"request_id\": \"broadcast_req_20260407_001\",\n        \"requested_recipients\": 4,\n        \"accepted_recipients\": 3,\n        \"rejected_recipients\": 1,\n        \"rejected_items\": [\n            {\n                \"phone_number\": \"628123456799\",\n                \"reason\": \"Attachment link is invalid\"\n            }\n        ],\n        \"daily_limit\": 1000,\n        \"daily_usage_before_request\": 120,\n        \"daily_remaining_after_request\": 877,\n        \"quota_date\": \"2026-04-08\",\n        \"timestamp\": 1775563300000\n    }\n}"},{"id":"5cf498c1-fecf-42ad-b683-32efd4f86f25","name":"Daily Limit Exceeded","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/official/broadcasts","description":"Jika total recipient broadcast integration pada tanggal `scheduled_at` sudah mendekati atau melewati limit harian 1000 recipient, endpoint akan mengembalikan `429 Too Many Requests`."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 429,\n    \"message\": \"Daily broadcast integration limit exceeded for 2026-04-08. Remaining quota 50, requested 100, limit 1000\",\n    \"data\": null,\n    \"metadata\": {\n        \"timestamp\": 1775563300000\n    }\n}"},{"id":"8bc09837-e780-4f09-be7f-19f80316eaf5","name":"Template Header Not Supported","originalRequest":{"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/official/broadcasts","description":"Buat broadcast WABA Official untuk semua jenis template message yang didukung sistem. `recipients[].attachment` bersifat opsional dan hanya dipakai untuk media unik per recipient pada template header `IMAGE`, `VIDEO`, atau `DOCUMENT`. Untuk template `LOCATION`, kirim field top-level `location`. Limit maksimal 1000 recipient per hari berdasarkan tanggal `scheduled_at`."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"Dynamic media broadcast only supports IMAGE, VIDEO, or DOCUMENT template header\",\n    \"data\": null,\n    \"metadata\": {\n        \"timestamp\": 1775563300000\n    }\n}"}],"_postman_id":"51ac4076-d002-4646-8f78-69493d0b67da"},{"name":"Get Official Broadcasts","id":"480b078a-75cb-422c-bd16-5173a419f4e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/official/broadcasts?page=1&limit=10&status=completed","description":"<p>Ambil daftar broadcast WABA Official yang telah dibuat melalui API integration. Mendukung pagination, pencarian nama/deskripsi, dan filter berdasarkan status.</p>\n","urlObject":{"protocol":"https","path":["api","v1","official","broadcasts"],"host":["api-crm","sandbox","plasgos","co","id"],"query":[{"description":{"content":"<p>Nomor halaman (default: 1)</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Jumlah data per halaman (default: 10, max: 100)</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>Filter status: draft, scheduled, processing, completed, cancelled, paused, failed (opsional)</p>\n","type":"text/plain"},"key":"status","value":"completed"},{"disabled":true,"description":{"content":"<p>Pencarian nama atau deskripsi broadcast (opsional)</p>\n","type":"text/plain"},"key":"search","value":""}],"variable":[]}},"response":[],"_postman_id":"480b078a-75cb-422c-bd16-5173a419f4e3"},{"name":"Get Official Broadcast Monitoring","id":"9e959a8c-a498-411d-a95e-ec473de38ac9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/official/broadcasts/{{OFFICIAL_BROADCAST_ID}}/monitoring","description":"<p>Ambil data monitoring detail untuk broadcast tertentu berdasarkan <code>broadcast_id</code>. Respons mencakup statistik pengiriman, progress, durasi, delivery funnel, dan analisis kegagalan.</p>\n","urlObject":{"protocol":"https","path":["api","v1","official","broadcasts","{{OFFICIAL_BROADCAST_ID}}","monitoring"],"host":["api-crm","sandbox","plasgos","co","id"],"query":[],"variable":[]}},"response":[],"_postman_id":"9e959a8c-a498-411d-a95e-ec473de38ac9"}],"id":"4d657bca-12bd-41c8-8a54-2e902ca549ed","description":"<p>Dokumentasi API integration untuk WhatsApp Business API Official. Alur yang disarankan: ambil account, ambil phone number, ambil template approved, lalu kirim template message.</p>\n","_postman_id":"4d657bca-12bd-41c8-8a54-2e902ca549ed","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"ef77b579-e1a2-406f-9051-daff322fdee6","id":"ef77b579-e1a2-406f-9051-daff322fdee6","name":"🚀 Plasgos CRM API Documentation","type":"collection"}}},{"name":"WA Message","item":[{"name":"Send Message","id":"98838045-a844-472a-a898-9cb2b03d3eab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"message_id\": \"<YOUR MESSAGE ID>\",\r\n  \"channel\": \"whatsapp\", \r\n  \"account\": {\r\n    \"account_id\": \"<ACCOUNT ID>\"\r\n  },\r\n  \"receiver\": {\r\n    \"phone_number\": \"<PHONE NUMBER>\",\r\n    \"name\": \"John Doe\"\r\n  },\r\n  \"content\": {\r\n    /**\r\n     * example content text\r\n    */\r\n\r\n    \"type\": \"text\",\r\n    \"data\": {\r\n        \"text\": \"Hello Testing\"\r\n    }\r\n\r\n    /**\r\n     * example content image and video\r\n    */\r\n    \r\n    // \"type\": \"image|video\",\r\n    // \"data\": {\r\n    //     \"url\": \"\"\r\n    //     \"caption\": \"Hello Testing\"\r\n    // }\r\n\r\n    /**\r\n     * example content document\r\n    */\r\n    \r\n    // \"type\": \"document\",\r\n    // \"data\": {\r\n    //     \"url\": \"\"\r\n    //     \"caption\": \"Hello Testing\",\r\n    //     \"mime_type\": \"application/pdf\",\r\n    //     \"file_name\": \"test.pdf\"\r\n    // }\r\n    \r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/messages","description":"<p>Mengirim pesan WhatsApp ke nomor tujuan.</p>\n<p><strong>Example Content Types:</strong></p>\n<p><strong>A. Text Message</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"text\",\n  \"data\": {\n    \"text\": \"Your message here\"\n  }\n}\n\n</code></pre>\n<p><strong>B. Image Message</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"image\",\n  \"data\": {\n    \"url\": \"https://example.com/image.jpg\",\n    \"caption\": \"Image caption (optional)\"\n  }\n}\n\n</code></pre>\n<p><strong>C. Video Message</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"video\",\n  \"data\": {\n    \"url\": \"https://example.com/video.mp4\",\n    \"caption\": \"Video caption (optional)\"\n  }\n}\n\n</code></pre>\n<p><strong>D. Document Message</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"document\",\n  \"data\": {\n    \"url\": \"https://example.com/document.pdf\",\n    \"caption\": \"Document caption (optional)\",\n    \"mime_type\": \"application/pdf\",\n    \"file_name\": \"document.pdf\"\n  }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","messages"],"host":["api-crm","sandbox","plasgos","co","id"],"query":[],"variable":[]}},"response":[{"id":"14957fdf-2fbb-45ef-bc45-c05be4215bd6","name":"Success","originalRequest":{"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"message_id\": \"<YOUR MESSAGE ID>\",\r\n  \"channel\": \"whatsapp\", \r\n  \"account\": {\r\n    \"account_id\": \"<ACCOUNT ID>\"\r\n  },\r\n  \"receiver\": {\r\n    \"phone_number\": \"<PHONE NUMBER>\",\r\n    \"name\": \"John Doe\"\r\n  },\r\n  \"content\": {\r\n    /**\r\n     * example content text\r\n    */\r\n\r\n    \"type\": \"text\",\r\n    \"data\": {\r\n        \"text\": \"Hello Testing\"\r\n    }\r\n\r\n    /**\r\n     * example content image and video\r\n    */\r\n    \r\n    // \"type\": \"image|video\",\r\n    // \"data\": {\r\n    //     \"url\": \"\"\r\n    //     \"caption\": \"Hello Testing\"\r\n    // }\r\n\r\n    /**\r\n     * example content document\r\n    */\r\n    \r\n    // \"type\": \"document\",\r\n    // \"data\": {\r\n    //     \"url\": \"\"\r\n    //     \"caption\": \"Hello Testing\",\r\n    //     \"mime_type\": \"application/pdf\",\r\n    //     \"file_name\": \"test.pdf\"\r\n    // }\r\n    \r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-client.plasgos.co.id/api/v1/messages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Message sent successfully\",\n    \"data\": {\n        \"message_id\": \"msg_20251007_001\",\n        \"account_id\": \"68b14dc526d...\",\n        \"receiver\": {\n            \"phone_number\": \"6281234567890\",\n            \"name\": \"John Doe\"\n        },\n        \"content\": {\n            \"type\": \"text\",\n            \"data\": {\n                \"text\": \"Hello Testing\"\n            }\n        }\n    },\n    \"metadata\": {\n        \"timestamp\": 1759828880403\n    }\n}"},{"id":"b6dc75f3-662d-48d5-a763-70d000b64cbd","name":"Invalid Signature","originalRequest":{"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"message_id\": \"<YOUR MESSAGE ID>\",\r\n  \"channel\": \"whatsapp\", \r\n  \"account\": {\r\n    \"account_id\": \"<ACCOUNT ID>\"\r\n  },\r\n  \"receiver\": {\r\n    \"phone_number\": \"<PHONE NUMBER>\",\r\n    \"name\": \"John Doe\"\r\n  },\r\n  \"content\": {\r\n    /**\r\n     * example content text\r\n    */\r\n\r\n    \"type\": \"text\",\r\n    \"data\": {\r\n        \"text\": \"Hello Testing\"\r\n    }\r\n\r\n    /**\r\n     * example content image and video\r\n    */\r\n    \r\n    // \"type\": \"image|video\",\r\n    // \"data\": {\r\n    //     \"url\": \"\"\r\n    //     \"caption\": \"Hello Testing\"\r\n    // }\r\n\r\n    /**\r\n     * example content document\r\n    */\r\n    \r\n    // \"type\": \"document\",\r\n    // \"data\": {\r\n    //     \"url\": \"\"\r\n    //     \"caption\": \"Hello Testing\",\r\n    //     \"mime_type\": \"application/pdf\",\r\n    //     \"file_name\": \"test.pdf\"\r\n    // }\r\n    \r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-client.plasgos.co.id/api/v1/messages"},"code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 403,\n    \"message\": \"Invalid signature\",\n    \"metadata\": {\n        \"timestamp\": 1759829502704\n    }\n}"},{"id":"b5d6f4fb-7942-4bef-96c8-47fe1024de52","name":"Duplicate Message ID","originalRequest":{"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"message_id\": \"<YOUR MESSAGE ID>\",\r\n  \"channel\": \"whatsapp\", \r\n  \"account\": {\r\n    \"account_id\": \"<ACCOUNT ID>\"\r\n  },\r\n  \"receiver\": {\r\n    \"phone_number\": \"<PHONE NUMBER>\",\r\n    \"name\": \"John Doe\"\r\n  },\r\n  \"content\": {\r\n    /**\r\n     * example content text\r\n    */\r\n\r\n    \"type\": \"text\",\r\n    \"data\": {\r\n        \"text\": \"Hello Testing\"\r\n    }\r\n\r\n    /**\r\n     * example content image and video\r\n    */\r\n    \r\n    // \"type\": \"image|video\",\r\n    // \"data\": {\r\n    //     \"url\": \"\"\r\n    //     \"caption\": \"Hello Testing\"\r\n    // }\r\n\r\n    /**\r\n     * example content document\r\n    */\r\n    \r\n    // \"type\": \"document\",\r\n    // \"data\": {\r\n    //     \"url\": \"\"\r\n    //     \"caption\": \"Hello Testing\",\r\n    //     \"mime_type\": \"application/pdf\",\r\n    //     \"file_name\": \"test.pdf\"\r\n    // }\r\n    \r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-client.plasgos.co.id/api/v1/messages"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": 409,\r\n    \"message\": \"Missing or invalid data\",\r\n    \"metadata\": {\r\n        \"timestamp\": 1759829384791\r\n    },\r\n    \"errors\": [\r\n        {\r\n            \"message\": \"Message ID already exists\",\r\n            \"path\": [\r\n                \"message_id\",\r\n                \"message_id\"\r\n            ]\r\n        }\r\n    ]\r\n}"},{"id":"187f9bba-edb8-44b2-8054-379b95aea3c6","name":"Error Validation Input","originalRequest":{"method":"POST","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"message_id\": \"<YOUR MESSAGE ID>\",\r\n  \"channel\": \"whatsapp\", \r\n  \"account\": {\r\n    \"account_id\": \"<ACCOUNT ID>\"\r\n  },\r\n  \"receiver\": {\r\n    \"phone_number\": \"<PHONE NUMBER>\",\r\n    \"name\": \"John Doe\"\r\n  },\r\n  \"content\": {\r\n    /**\r\n     * example content text\r\n    */\r\n\r\n    \"type\": \"text\",\r\n    \"data\": {\r\n        \"text\": \"Hello Testing\"\r\n    }\r\n\r\n    /**\r\n     * example content image and video\r\n    */\r\n    \r\n    // \"type\": \"image|video\",\r\n    // \"data\": {\r\n    //     \"url\": \"\"\r\n    //     \"caption\": \"Hello Testing\"\r\n    // }\r\n\r\n    /**\r\n     * example content document\r\n    */\r\n    \r\n    // \"type\": \"document\",\r\n    // \"data\": {\r\n    //     \"url\": \"\"\r\n    //     \"caption\": \"Hello Testing\",\r\n    //     \"mime_type\": \"application/pdf\",\r\n    //     \"file_name\": \"test.pdf\"\r\n    // }\r\n    \r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-client.plasgos.co.id/api/v1/messages"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 422,\n    \"message\": \"Missing or invalid data\",\n    \"metadata\": {\n        \"timestamp\": 1759829918645\n    },\n    \"errors\": [\n        {\n            \"message\": \"Phone number must start with +62, 62, or 08 and be max 15 digits\",\n            \"path\": [\n                \"receiver\",\n                \"phone_number\"\n            ]\n        },\n        {\n            \"message\": \"Account id is invalid\",\n            \"path\": [\n                \"account\",\n                \"account_id\",\n                \"account\",\n                \"account_id\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"98838045-a844-472a-a898-9cb2b03d3eab"},{"name":"List Message","id":"2ea7e3bc-bfcc-4133-ad0a-5f5be49130e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/messages","urlObject":{"protocol":"https","path":["api","v1","messages"],"host":["api-crm","sandbox","plasgos","co","id"],"query":[],"variable":[]}},"response":[{"id":"00ddb27b-7a9d-4dc9-be1c-47aafac57592","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/messages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Message get successfully\",\n    \"data\": [\n        {\n            \"message_id\": \"msg_20251007_001\",\n            \"account\": {\n                \"id\": \"68b14dc526...\",\n                \"name\": \"Eko Suprianto\",\n                \"phone_number\": \"6281234567890\"\n            },\n            \"receiver\": {\n                \"phone_number\": \"6281234567890\",\n                \"name\": \"John Doe\"\n            },\n            \"content\": {\n                \"data\": {\n                    \"text\": \"Hello Testing\"\n                },\n                \"type\": \"text\"\n            }\n        },\n        {\n            \"message_id\": \"msg_20251007_001\",\n            \"account\": {\n                \"id\": \"68b14dc52...\",\n                \"name\": \"Eko Suprianto\",\n                \"phone_number\": \"6281234567890\"\n            },\n            \"receiver\": {\n                \"phone_number\": \"6281234567890\",\n                \"name\": \"John Doe\"\n            },\n            \"content\": {\n                \"data\": {\n                    \"text\": \"Hello Testing\"\n                },\n                \"type\": \"text\"\n            }\n        },\n        {\n            \"message_id\": \"msg_20251007_001\",\n            \"account\": {\n                \"id\": \"68b14dc526d...\",\n                \"name\": \"Eko Suprianto\",\n                \"phone_number\": \"6281234567890\"\n            },\n            \"receiver\": {\n                \"phone_number\": \"6281234567890\",\n                \"name\": \"John Doe\"\n            },\n            \"content\": {\n                \"data\": {\n                    \"text\": \"Hello Testing\"\n                },\n                \"type\": \"text\"\n            }\n        },\n        {\n            \"message_id\": \"msg_20251007_001\",\n            \"account\": {\n                \"id\": \"68b14dc526d...\",\n                \"name\": \"Eko Suprianto\",\n                \"phone_number\": \"6281234567890\"\n            },\n            \"receiver\": {\n                \"phone_number\": \"6281234567890\",\n                \"name\": \"John Doe\"\n            },\n            \"content\": {\n                \"data\": {\n                    \"text\": \"Hello Testing\"\n                },\n                \"type\": \"text\"\n            }\n        },\n        {\n            \"message_id\": \"msg_20251007_002\",\n            \"account\": {\n                \"id\": \"68b14dc526d0...\",\n                \"name\": \"Eko Suprianto\",\n                \"phone_number\": \"6281234567890\"\n            },\n            \"receiver\": {\n                \"phone_number\": \"6281234567890\",\n                \"name\": \"John Doe\"\n            },\n            \"content\": {\n                \"data\": {\n                    \"text\": \"Hello Testing\"\n                },\n                \"type\": \"text\"\n            }\n        },\n        {\n            \"message_id\": \"msg_20251007_003\",\n            \"account\": {\n                \"id\": \"68b14dc526d0...\",\n                \"name\": \"Eko Suprianto\",\n                \"phone_number\": \"6281234567890\"\n            },\n            \"receiver\": {\n                \"phone_number\": \"6281234567890\",\n                \"name\": \"John Doe\"\n            },\n            \"content\": {\n                \"data\": {\n                    \"text\": \"Aduhhh Aku Lapar...\"\n                },\n                \"type\": \"text\"\n            }\n        },\n        {\n            \"message_id\": \"msg_20251007_004\",\n            \"account\": {\n                \"id\": \"68b14dc526d...\",\n                \"name\": \"Eko Suprianto\",\n                \"phone_number\": \"6281234567890\"\n            },\n            \"receiver\": {\n                \"phone_number\": \"6281234567890\",\n                \"name\": \"John Doe\"\n            },\n            \"content\": {\n                \"data\": {\n                    \"text\": \"😁\"\n                },\n                \"type\": \"text\"\n            }\n        }\n    ],\n    \"metadata\": {\n        \"count\": 11,\n        \"timestamp\": 1759886573447\n    }\n}"},{"id":"f4b3e32c-6e3e-491e-af2e-c10fc95e11bf","name":"Expired Timestamp","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/messages"},"status":"Request Timeout","code":408,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 408,\n    \"message\": \"Request timestamp expired\",\n    \"metadata\": {\n        \"timestamp\": 1759886839318\n    }\n}"},{"id":"41a6e04c-7ec6-4ad5-a4e3-8932bcdeba81","name":"Invalid Signature","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/messages"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 403,\n    \"message\": \"Invalid signature\",\n    \"metadata\": {\n        \"timestamp\": 1759886888514\n    }\n}"}],"_postman_id":"2ea7e3bc-bfcc-4133-ad0a-5f5be49130e7"},{"name":"Detail Message","id":"73c3565c-3ca8-4b65-8002-12f0d089b362","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"x-timestamp","value":"1759886116","type":"text"},{"key":"x-signature","value":"ce12c8c6b1aa17464fbbb6d2e44f5d5e0f56dc19c22eaa8ad8314554c71046ab","type":"text"}],"url":"https://api-crm.sandbox.plasgos.co.id/api/v1/messages/","urlObject":{"protocol":"https","path":["api","v1","messages",""],"host":["api-crm","sandbox","plasgos","co","id"],"query":[],"variable":[]}},"response":[{"id":"c15fe1e6-6a06-456a-a7de-8cacf4fe4b84","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/messages/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Message find successfully\",\n    \"data\": {\n        \"message_id\": \"msg_20251007_015\",\n        \"account\": {\n            \"id\": \"68b14dc526d...\",\n            \"name\": \"Eko Suprianto\",\n            \"phone_number\": \"6281234567890\"\n        },\n        \"receiver\": {\n            \"phone_number\": \"6281234567890\",\n            \"name\": \"John Doe\"\n        },\n        \"content\": {\n            \"data\": {\n                \"text\": \"Hello, testing message\"\n            },\n            \"type\": \"text\"\n        },\n        \"sent\": true,\n        \"sent_at\": 1759889368645\n    },\n    \"metadata\": {\n        \"timestamp\": 1759889836977\n    }\n}"},{"id":"29d8a898-b8e7-48dc-98e3-e4144cc5cdc6","name":"Error","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"TIMESTAMP","type":"text"},{"key":"x-signature","value":"SIGNATURE","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/messages/"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 404,\n    \"message\": \"Missing or invalid data\",\n    \"metadata\": {\n        \"timestamp\": 1759890845882\n    },\n    \"errors\": [\n        {\n            \"message\": \"Message Not Found\",\n            \"path\": [\n                \"message_id\",\n                \"message_id\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"73c3565c-3ca8-4b65-8002-12f0d089b362"}],"id":"fe02dafc-32ed-4a2a-8fd0-4d48175560de","description":"<p>Kirim pesan ke Whatsapp dan get list pesan yangt dikirim lewat Plasgos API CRM</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"2ba00f7d-2bb2-4004-956a-7264c159f255"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"b44fe94f-a78a-47c3-8ef9-6d1fa9712320"}}],"_postman_id":"fe02dafc-32ed-4a2a-8fd0-4d48175560de"}],"id":"3664fa64-cf9a-46ea-b0dd-78e7bcf0e4a2","_postman_id":"3664fa64-cf9a-46ea-b0dd-78e7bcf0e4a2","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"ef77b579-e1a2-406f-9051-daff322fdee6","id":"ef77b579-e1a2-406f-9051-daff322fdee6","name":"🚀 Plasgos CRM API Documentation","type":"collection"}}},{"name":"Webhook","item":[{"name":"Message Received Event","id":"745e3d07-d63e-466e-9ec3-3d84dbcae357","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\n  \"event\": \"message.received\",\n  \"event_name\": \"message.received\",\n  \"event_version\": 1052,\n  \"event_at\": \"2026-04-08T10:32:15.000Z\",\n  \"timestamp\": 1775644335,\n  \"source\": \"crm_chatroom\",\n  \"channel\": \"whatsapp\",\n  \"provider\": \"official\",\n  \"user\": {\n    \"id\": 42\n  },\n  \"account\": {\n    \"phone_number_id\": \"123456789012345\"\n  },\n  \"conversation\": {\n    \"phone_number_id\": \"123456789012345\",\n    \"conversation_id\": \"conv_01HRCHATROOMABC\",\n    \"conversation_status\": \"open\",\n    \"assigned_agent\": null,\n    \"assigned_by_agent\": null,\n    \"assigned_at\": null\n  },\n  \"message\": {\n    \"id\": \"wamid.HBgLN1234567890\",\n    \"conversation_id\": \"conv_01HRCHATROOMABC\",\n    \"type\": \"text\",\n    \"direction\": \"inbound\",\n    \"from_me\": false,\n    \"timestamp\": 1775644335000,\n    \"status\": \"unread\",\n    \"from\": \"628123456789\",\n    \"to\": \"123456789012345\",\n    \"resource\": null,\n    \"context\": null,\n    \"content\": {\n      \"type\": \"text\",\n      \"text\": \"Halo admin, saya mau tanya produk\",\n      \"has_link\": false,\n      \"header\": null,\n      \"footer\": null\n    },\n    \"message_temp_id\": null\n  },\n  \"statuses\": null,\n  \"recipient\": null,\n  \"meta\": {\n    \"room\": \"socketio:user:chat_room:123456789012345\",\n    \"emitted_via\": \"socket_and_webhook\",\n    \"source_event\": \"chat_room:new_message\"\n  },\n  \"data\": {\n    \"conversation\": {\n      \"phone_number_id\": \"123456789012345\",\n      \"conversation_id\": \"conv_01HRCHATROOMABC\",\n      \"conversation_status\": \"open\"\n    },\n    \"message\": {\n      \"id\": \"wamid.HBgLN1234567890\",\n      \"type\": \"text\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"ef77b579-e1a2-406f-9051-daff322fdee6","id":"ef77b579-e1a2-406f-9051-daff322fdee6","name":"🚀 Plasgos CRM API Documentation","type":"collection"}},"urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"745e3d07-d63e-466e-9ec3-3d84dbcae357"},{"name":"Message Statuses Event","id":"5fab13b9-0a5e-4eef-b075-601eca62bbbf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"VIEW","header":[],"body":{"mode":"raw","raw":"{\n  \"event\": \"message.statuses\",\n  \"event_name\": \"message.statuses\",\n  \"event_version\": 1054,\n  \"event_at\": \"2026-04-08T10:34:10.000Z\",\n  \"timestamp\": 1775644450,\n  \"source\": \"crm_chatroom\",\n  \"channel\": \"whatsapp\",\n  \"provider\": \"unofficial\",\n  \"user\": {\n    \"id\": 42\n  },\n  \"account\": {\n    \"phone_number_id\": \"67f100000000000000000222\"\n  },\n  \"conversation\": null,\n  \"message\": null,\n  \"statuses\": [\n    {\n      \"conversation\": {\n        \"conversation_id\": \"conv_01HRCHATROOMABC\",\n        \"phone_number_id\": \"67f100000000000000000222\",\n        \"conversation_status\": \"open\"\n      },\n      \"message\": {\n        \"id\": \"BAE5123412341234\",\n        \"status\": \"delivered\",\n        \"timestamp\": \"2026-04-08 17:34:10\"\n      }\n    }\n  ],\n  \"recipient\": null,\n  \"meta\": {\n    \"room\": \"socketio:user:chat_room:67f100000000000000000222\",\n    \"emitted_via\": \"socket_and_webhook\",\n    \"source_event\": \"chat_room:message_statuses\"\n  },\n  \"data\": {\n    \"statuses\": [\n      {\n        \"conversation\": {\n          \"conversation_id\": \"conv_01HRCHATROOMABC\"\n        },\n        \"message\": {\n          \"id\": \"BAE5123412341234\",\n          \"status\": \"delivered\"\n        }\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"ef77b579-e1a2-406f-9051-daff322fdee6","id":"ef77b579-e1a2-406f-9051-daff322fdee6","name":"🚀 Plasgos CRM API Documentation","type":"collection"}},"urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"5fab13b9-0a5e-4eef-b075-601eca62bbbf"}],"id":"43fd155d-93d0-4400-aa6e-2bcee43695ed","_postman_id":"43fd155d-93d0-4400-aa6e-2bcee43695ed","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"ef77b579-e1a2-406f-9051-daff322fdee6","id":"ef77b579-e1a2-406f-9051-daff322fdee6","name":"🚀 Plasgos CRM API Documentation","type":"collection"}}},{"name":"References","item":[{"name":"Get Global Variables Support","id":"c5d04886-2744-4fdb-82a0-ea7f72d42108","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-timestamp","value":"","type":"text"},{"key":"x-signature","value":"{{SIGNATURE}}","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/references/variables","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"ef77b579-e1a2-406f-9051-daff322fdee6","id":"ef77b579-e1a2-406f-9051-daff322fdee6","name":"🚀 Plasgos CRM API Documentation","type":"collection"}},"urlObject":{"path":["api","v1","references","variables"],"host":["https://wa-client.plasgos.co.id"],"query":[],"variable":[]}},"response":[{"id":"17467565-a0cd-40a3-9b0e-bb080a4ccf52","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"","type":"text"},{"key":"x-signature","value":"{{SIGNATURE}}","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/references/variables"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": [\n        {\n            \"label\": \"full_name\",\n            \"value\": \"{{full_name}}\",\n            \"example\": \"Jhon Doe\"\n        },\n        {\n            \"label\": \"email\",\n            \"value\": \"{{email}}\",\n            \"example\": \"myemail@example.com\"\n        },\n        {\n            \"label\": \"phone_number\",\n            \"value\": \"{{phone_number}}\",\n            \"example\": \"628123456789\"\n        },\n        {\n            \"label\": \"format_date_1\",\n            \"value\": \"{{format_date_1}}\",\n            \"example\": \"2026-04-08\"\n        },\n        {\n            \"label\": \"format_date_2\",\n            \"value\": \"{{format_date_2}}\",\n            \"example\": \"2026/04/08\"\n        },\n        {\n            \"label\": \"format_date_3\",\n            \"value\": \"{{format_date_3}}\",\n            \"example\": \"08-04-2026\"\n        },\n        {\n            \"label\": \"format_date_4\",\n            \"value\": \"{{format_date_4}}\",\n            \"example\": \"08/04/2026\"\n        },\n        {\n            \"label\": \"format_date_5\",\n            \"value\": \"{{format_date_5}}\",\n            \"example\": \"Rabu, 08 April 2026\"\n        },\n        {\n            \"label\": \"current_date\",\n            \"value\": \"{{current_date}}\",\n            \"example\": \"2026-04-08\"\n        },\n        {\n            \"label\": \"greeting\",\n            \"value\": \"{{greeting}}\",\n            \"example\": \"Selamat siang\"\n        }\n    ]\n}"}],"_postman_id":"c5d04886-2744-4fdb-82a0-ea7f72d42108"},{"name":"Get Contacts","id":"3097d678-373e-4325-9c48-c6630f2c78f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"x-timestamp","value":"","type":"text"},{"key":"x-signature","value":"{{SIGNATURE}}","type":"text"}],"url":"https://wa-client.plasgos.co.id/api/v1/references/contacts?page=1&limit=20&search=","description":"<p>Mengambil daftar kontak user yang tersimpan di sistem Plasgos CRM melalui endpoint references public API. Mendukung pagination dan pencarian berdasarkan nama, nomor telepon, atau email.</p>\n","urlObject":{"path":["api","v1","references","contacts"],"host":["https://wa-client.plasgos.co.id"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"20"},{"key":"search","value":""}],"variable":[]}},"response":[{"id":"64b34f84-e6a4-4da6-8c98-cdfa74b0a977","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"","type":"text"},{"key":"x-signature","value":"{{SIGNATURE}}","type":"text"}],"url":{"raw":"https://wa-client.plasgos.co.id/api/v1/references/contacts?page=1&limit=20&search=budi","host":["https://wa-client.plasgos.co.id"],"path":["api","v1","references","contacts"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"20"},{"key":"search","value":"budi"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Contact get successfully\",\n    \"data\": [\n        {\n            \"id\": \"67f3d5e4a2b9c00123456789\",\n            \"name\": \"Budi Santoso\",\n            \"phone_number\": \"628123456789\"\n        },\n        {\n            \"id\": \"67f3d5e4a2b9c00123456790\",\n            \"name\": \"Budi Hartono\",\n            \"phone_number\": \"628987654321\"\n        }\n    ],\n    \"metadata\": {\n        \"page\": 1,\n        \"limit\": 20,\n        \"total\": 2,\n        \"total_pages\": 1,\n        \"timestamp\": 1775644450000\n    }\n}"},{"id":"8a6ea67b-8535-4b1c-b5f9-12aa3dd0d36f","name":"Invalid Signature","originalRequest":{"method":"GET","header":[{"key":"x-timestamp","value":"","type":"text"},{"key":"x-signature","value":"{{SIGNATURE}}","type":"text"}],"url":{"raw":"https://wa-client.plasgos.co.id/api/v1/references/contacts?page=1&limit=20","host":["https://wa-client.plasgos.co.id"],"path":["api","v1","references","contacts"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"20"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 403,\n    \"message\": \"Invalid signature\",\n    \"metadata\": {\n        \"timestamp\": 1775644335000\n    }\n}"}],"_postman_id":"3097d678-373e-4325-9c48-c6630f2c78f7"}],"id":"8059d9a5-9222-4691-a8eb-a087b6e9bb2f","_postman_id":"8059d9a5-9222-4691-a8eb-a087b6e9bb2f","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"ef77b579-e1a2-406f-9051-daff322fdee6","id":"ef77b579-e1a2-406f-9051-daff322fdee6","name":"🚀 Plasgos CRM API Documentation","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":""}]}},"event":[{"listen":"prerequest","script":{"type":"text/javascript","requests":{},"exec":[""],"id":"1bcd7043-f814-4a2d-a096-d248306cb257"}},{"listen":"test","script":{"type":"text/javascript","requests":{},"exec":[""],"id":"23514c6d-7d0a-4372-ba6e-99daabad39bb"}}],"variable":[{"key":"baseUrl","value":"https://farming-simulator.pstmn.io"},{"key":"base_url","value":"https://wa-client.plasgos.co.id"},{"key":"YOUR_API_KEY","value":""},{"key":"ACCOUNT_ID","value":""},{"key":"MESSAGE_ID","value":""},{"key":"OFFICIAL_ACCOUNT_ID","value":""},{"key":"OFFICIAL_PHONE_NUMBER_ID","value":""},{"key":"OFFICIAL_TEMPLATE_ID","value":""},{"key":"OFFICIAL_TEMPLATE_NAME","value":"order_update_v1"},{"key":"OFFICIAL_TEMPLATE_CATEGORY","value":"UTILITY"},{"key":"OFFICIAL_BROADCAST_REQUEST_ID","value":"broadcast_req_20260407_001"},{"key":"TARGET_PHONE_NUMBER","value":"6281234567890"},{"key":"TIMESTAMP","value":"","type":"default"}]}