{"info":{"_postman_id":"f135a9fa-8b5c-454e-a5af-7aa9bc5790e1","name":"Baileys API v0.2","description":"<html><head></head><body><p>API Documentation for <a href=\"https://github.com/ookamiiixd/baileys-api\">https://github.com/ookamiiixd/baileys-api</a>.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"18988925","collectionId":"f135a9fa-8b5c-454e-a5af-7aa9bc5790e1","publishedId":"UVeNni36","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-02-14T14:32:48.000Z"},"item":[{"name":"Sessions","item":[{"name":"Find Session","id":"768327ca-38bc-4993-8819-68d58f0b2fe6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/sessions/find/:id","description":"<p>Find a session.</p>\n","urlObject":{"path":["sessions","find",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"type":"any","value":"john","key":"id"}]}},"response":[{"id":"de964e56-bcfc-465c-a22e-e6585af93619","name":"Session Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/sessions/find/:id","host":["{{base_url}}"],"path":["sessions","find",":id"],"variable":[{"id":"28ce36a1-3112-43fd-adb7-d26632f9f525","key":"id","value":"john","description":"Your created session id."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"53"},{"key":"ETag","value":"W/\"35-khYshx+O7ykPwxU1BA54yKAyByk\""},{"key":"Date","value":"Mon, 14 Feb 2022 13:42:04 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Session found.\",\n    \"data\": {}\n}"},{"id":"83a559bb-d698-47e2-aace-c36e8d2f9208","name":"Session Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/sessions/find/:id","host":["{{base_url}}"],"path":["sessions","find",":id"],"variable":[{"id":"28ce36a1-3112-43fd-adb7-d26632f9f525","key":"id","value":"john","description":"Your created session id."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"58"},{"key":"ETag","value":"W/\"3a-n9SkLlroaSpVRpF69SpOWOnBy+Q\""},{"key":"Date","value":"Mon, 14 Feb 2022 13:39:45 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Session not found.\",\n    \"data\": {}\n}"}],"_postman_id":"768327ca-38bc-4993-8819-68d58f0b2fe6"},{"name":"Session Status","id":"46914550-de1b-4e65-a9cd-d4424e374831","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/sessions/status/:id","description":"<p>Get session status. The status value is either <code>authenticated, connecting, connected, disconnecting</code> or <code>disconnected</code>.</p>\n","urlObject":{"path":["sessions","status",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"id":"b23702a1-883e-4d09-9dc6-db863621cc27","description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"type":"any","value":"john","key":"id"}]}},"response":[{"id":"935d74ce-e7c7-4f7a-bc56-81aa25e8799f","name":"Response Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/sessions/status/:id","host":["{{base_url}}"],"path":["sessions","status",":id"],"variable":[{"id":"b23702a1-883e-4d09-9dc6-db863621cc27","key":"id","value":"john","description":"Your created session id."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"63"},{"key":"ETag","value":"W/\"3f-RGosI+9nNJliG+uza0vX9GICMuE\""},{"key":"Date","value":"Sun, 10 Apr 2022 10:20:48 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"\",\n    \"data\": {\n        \"status\": \"authenticated\"\n    }\n}"}],"_postman_id":"46914550-de1b-4e65-a9cd-d4424e374831"},{"name":"Create New Session","id":"002a2f86-cb8a-471e-a296-e6a9a6868a22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"john","description":"<p>Session id you want to use.</p>\n","type":"default"},{"key":"isLegacy","value":"false","description":"<p>Client type. Value: 'true' (Normal WhatsApp Web / Legacy) or 'false' (Beta Multi-Device).</p>\n","type":"text"}]},"url":"{{base_url}}/sessions/add","description":"<p>Create a new session.</p>\n","urlObject":{"path":["sessions","add"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"38753bc3-16d2-4674-b001-e6a60d13899e","name":"QR Code Received","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"john","description":"Session id you want to use.","type":"default"},{"key":"isLegacy","value":"false","description":"Client type. Value: 'true' (Normal WhatsApp Web / Legacy) or 'false' (Beta Multi-Device).\n","type":"text"}]},"url":"{{base_url}}/sessions/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"6566"},{"key":"ETag","value":"W/\"19a6-vzlGWUlBSFJ765YPTkwCU1ZRPMw\""},{"key":"Date","value":"Mon, 14 Feb 2022 13:40:50 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"QR code received, please scan the QR code.\",\n    \"data\": {\n        \"qr\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARQAAAEUCAYAAADqcMl5AAAAAklEQVR4AewaftIAABKhSURBVO3BQY7gRhLAQFLo/3+ZO8c8FSCoemwvMsL+YK21LnhYa61LHtZa65KHtda65GGttS55WGutSx7WWuuSh7XWuuRhrbUueVhrrUse1lrrkoe11rrkYa21LnlYa61LHtZa65KHtda65IePVP6mihOVNyomlTcqJpWTikllqvibVL6oeEPlpOILlZOKm1SmihOVk4pJ5W+q+OJhrbUueVhrrUse1lrrkh8uq7hJ5aaKv6liUpkqJpWpYlKZKiaVLyomlaniROWkYlKZVE4qTiomlUnlpOJEZar4mypuUrnpYa21LnlYa61LHtZa65IffpnKGxVvqEwVk8qJyhcqJypTxUnFpDJVTCpTxRsqb6hMFVPFpDKpTBWTyonKVDGpTBUnKicqU8WkMlVMKr9J5Y2K3/Sw1lqXPKy11iUPa611yQ//Z1T+TSp+U8WkMlVMKlPFpDJVvKFyUjGpTBWTylRxUnGiMlVMKicqX1RMKv9PHtZa65KHtda65GGttS754f9MxaRyUnGiMlVMKlPFpDJVnKjcpDJVTConKm9UTConFZPKicpUMalMFVPFpDJVTCpTxYnKicpU8f/kYa21LnlYa61LHtZa65IfflnF36TyhcpU8YbKVDGpTBVTxaQyqUwVU8WJyknFGyqTylQxqZxUvKEyVUwqU8VUMalMFW9UTCpTxU0V/yYPa611ycNaa13ysNZal/xwmco/qWJSOVGZKiaVqeKkYlKZKiaVqeKkYlKZKiaVqWJSOVGZKk4qJpWpYlI5UZkqblKZKiaVqWJSmSreUJkqTlT+zR7WWuuSh7XWuuRhrbUusT/4D1M5qXhD5Y2KE5Wp4kTlpOINlaliUpkq3lA5qfhC5aTiDZU3KiaVqeJEZar4f/aw1lqXPKy11iUPa611if3BBypTxaRyU8XfpPJGxaQyVZyovFExqUwVJyq/qWJSOan4N1O5qeJE5aaK3/Sw1lqXPKy11iUPa611yQ+XqbxRMalMFScq/2UqU8WkMlVMKlPFGxWTyhcVJxW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LXWJQ9rrXXJw1prXWJ/8B+mMlVMKl9UnKhMFb9J5YuKSWWqeENlqvhNKlPFpHJS8ZtUpopJ5aTiDZUvKm56WGutSx7WWuuSh7XWuuSHj1T+poqp4qRiUnlD5aRiUpkqJpWbKiaVm1SmihOVNyomlZOKk4pJ5URlqvg3UZkq3qiYVCaVqeKLh7XWuuRhrbUueVhrrUt+uKziJpUTlZOKqeJEZap4o2JSOal4Q2VSmSpOVN6o+E0qU8Wk8kXFpDJVTConFScVk8oXFTdV/KaHtda65GGttS55WGutS374ZSpvVPybqEwVX1ScqEwVJxWTylTxhspNFScqk8pUMalMFZPKVDFVnFScqJxUTBUnKpPKFxWTylTxmx7WWuuSh7XWuuRhrbUu+eH/TMWkclLxhspUMalMFScqU8WkcqIyVZxUnKi8UfGGyhcVJxWTyknFTSpTxRsVk8pUMalMKm+oTBVfPKy11iUPa611ycNaa13yw/8ZlTdUpoo3VKaKNypOKiaVqeINlaliqphUpooTlaliqphUpopJ5aRiUpkq3lC5SWWqmComlROVqeLf5GGttS55WGutSx7WWuuSH35ZxW+qeENlqphUTiq+UPlNKlPFVHGicqLyhspU8UbFpDKpnKi8UfGFylQxqZxUTCr/JQ9rrXXJw1prXfKw1lqX/HCZyt+kclJxk8pUcaIyVUwqU8WkcqIyVXxRMalMFScqU8Wk8obKVPFPUnlD5aRiUpkqTlROKiaV3/Sw1lqXPKy11iUPa611if3BWmtd8LDWWpc8rLXWJQ9rrXXJw1prXfKw1lqXPKy11iUPa611ycNaa13ysNZalzystdYlD2utdcnDWmtd8rDWWpc8rLXWJQ9rrXXJ/wAn7OuDxKQ82gAAAABJRU5ErkJggg==\"\n    }\n}"},{"id":"12d80a32-11c6-40c4-b89d-a55b2d662690","name":"Duplicate Session ID","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"john","description":"Session id you want to use.","type":"default"},{"key":"isLegacy","value":"false","description":"Client type. Value: 'true' (Normal WhatsApp Web / Legacy) or 'false' (Beta Multi-Device).\n","type":"text"}]},"url":"{{base_url}}/sessions/add"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"86"},{"key":"ETag","value":"W/\"56-me8/2a7Yu/zUpld2FLOxphmzhLE\""},{"key":"Date","value":"Mon, 14 Feb 2022 13:42:36 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Session already exists, please use another id.\",\n    \"data\": {}\n}"},{"id":"2889c529-4d90-4e70-a315-9507074750df","name":"Response Failed","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"john","description":"Session id you want to use.","type":"default"},{"key":"isLegacy","value":"false","description":"Client type. Value: 'true' (Normal WhatsApp Web / Legacy) or 'false' (Beta Multi-Device).\n","type":"text"}]},"url":"{{base_url}}/sessions/add"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"65"},{"key":"ETag","value":"W/\"41-yr9kXk0+HoqFsLUzFrS67vhNCpo\""},{"key":"Date","value":"Mon, 14 Feb 2022 13:44:20 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Unable to create session.\",\n    \"data\": {}\n}"}],"_postman_id":"002a2f86-cb8a-471e-a296-e6a9a6868a22"},{"name":"Delete Session","id":"eca91232-9a8f-4e77-9f01-a6670d399ef4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{base_url}}/sessions/delete/:id","description":"<p>Delete a session.</p>\n","urlObject":{"path":["sessions","delete",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"type":"any","value":"john","key":"id"}]}},"response":[{"id":"c2fdbd25-7f44-4e36-a24d-5f60a350f7c0","name":"Response Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{base_url}}/sessions/delete/:id","host":["{{base_url}}"],"path":["sessions","delete",":id"],"variable":[{"id":"2ea8a11f-3dac-4886-9948-c97893d4e91c","key":"id","value":"john","description":"Your created session id."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"81"},{"key":"ETag","value":"W/\"51-sboVGYKvgXknbi2fZx1c7QmxdeM\""},{"key":"Date","value":"Mon, 14 Feb 2022 13:37:26 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"The session has been successfully deleted.\",\n    \"data\": {}\n}"}],"_postman_id":"eca91232-9a8f-4e77-9f01-a6670d399ef4"}],"id":"d567a2fe-c498-43a5-b854-730c73fad846","_postman_id":"d567a2fe-c498-43a5-b854-730c73fad846","description":""},{"name":"Chats","item":[{"name":"Get Chat List","id":"f31e9913-4e1f-42d4-b8d9-18da6707996f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/chats?id=john","description":"<p>Get personal chat list.</p>\n","urlObject":{"path":["chats"],"host":["{{base_url}}"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"john"}],"variable":[]}},"response":[{"id":"acd71ad8-2e64-4632-bf91-b889c09f254c","name":"Response Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/chats?id=john","host":["{{base_url}}"],"path":["chats"],"query":[{"key":"id","value":"john","description":"Your created session id."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"24103"},{"key":"ETag","value":"W/\"5e27-GvFZTma/gJIMYSu3bl/1hVF6MFc\""},{"key":"Date","value":"Mon, 14 Feb 2022 13:48:04 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"\",\n    \"data\": [\n        {\n            \"id\": \"628812xxxxx@s.whatsapp.net\",\n            \"unreadCount\": 1,\n            \"readOnly\": false,\n            \"ephemeralExpiration\": 0,\n            \"conversationTimestamp\": \"1644843624\",\n            \"notSpam\": true,\n            \"disappearingMode\": {\n                \"initiator\": \"CHANGED_IN_CHAT\"\n            },\n            \"unreadMentionCount\": 0,\n            \"contactPrimaryIdentityKey\": \"REDACTED\"\n        },\n        ...\n    ]\n}"}],"_postman_id":"f31e9913-4e1f-42d4-b8d9-18da6707996f"},{"name":"Get Conversation","id":"ee3141d8-9b90-4028-b844-8fb3058fd0ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/chats/:jid?id=john&limit=25&cursor_id=REDACTED&cursor_fromMe=true","description":"<p>Load conversation with a person in paginated manner.</p>\n","urlObject":{"path":["chats",":jid"],"host":["{{base_url}}"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"john"},{"description":{"content":"<p>Limit data length. Default: 25 (Optional).</p>\n","type":"text/plain"},"key":"limit","value":"25"},{"description":{"content":"<p>id field from message key used as cursor to fetch previous messages (Optional).</p>\n","type":"text/plain"},"key":"cursor_id","value":"REDACTED"},{"description":{"content":"<p>fromMe field from message key used as cursor to fetch previous messages. Value: 'true' or 'false', default: 'false' (Optional).</p>\n","type":"text/plain"},"key":"cursor_fromMe","value":"true"}],"variable":[{"description":{"content":"<p>Chat jid.</p>\n","type":"text/plain"},"type":"any","value":"628950xxxxx@s.whatsapp.net","key":"jid"}]}},"response":[{"id":"da675c5f-6e02-4c7e-b6ea-943cb3da9bfc","name":"Response Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/chats/:jid?id=john&limit=25&cursor_id=REDACTED","host":["{{base_url}}"],"path":["chats",":jid"],"query":[{"key":"id","value":"john","description":"Your created session id."},{"key":"limit","value":"25","description":"Limit data length. Default: 25 (Optional)."},{"key":"cursor_id","value":"REDACTED","description":"id from any message key used as cursor to fetch previous messages (Optional)."}],"variable":[{"key":"jid","value":"6289509xxxxx@s.whatsapp.net","description":"Chat jid."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"412"},{"key":"ETag","value":"W/\"19c-h/anIXQxB+0YE+KNxkgNf2rzj5Y\""},{"key":"Date","value":"Mon, 14 Feb 2022 13:52:15 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"\",\n    \"data\": [\n        {\n            \"key\": {\n                \"remoteJid\": \"628950xxxxx@s.whatsapp.net\",\n                \"fromMe\": true,\n                \"id\": \"REDACTED\"\n            },\n            \"message\": {\n                \"conversation\": \"Hello there!\"\n            },\n            \"messageTimestamp\": \"1631510231\",\n            \"status\": \"READ\",\n            \"messageC2STimestamp\": \"1631510232\",\n            \"userReceipt\": [\n                {\n                    \"userJid\": \"628950xxxxx@s.whatsapp.net\",\n                    \"receiptTimestamp\": \"1631510234000\",\n                    \"readTimestamp\": \"1631510939000\",\n                    \"playedTimestamp\": \"0\"\n                }\n            ]\n        },\n        ...\n    ]\n}"},{"id":"143e9a40-d2f0-4542-aa45-929b4251e057","name":"Response Failed","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/chats/:jid?id=john&limit=25&cursor_id=REDACTED","host":["{{base_url}}"],"path":["chats",":jid"],"query":[{"key":"id","value":"john","description":"Your created session id."},{"key":"limit","value":"25","description":"Limit data length. Default: 25 (Optional)."},{"key":"cursor_id","value":"REDACTED","description":"id from any message key used as cursor to fetch previous messages (Optional)."}],"variable":[{"key":"jid","value":"6289509xxxxx@s.whatsapp.net","description":"Chat jid."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"412"},{"key":"ETag","value":"W/\"19c-h/anIXQxB+0YE+KNxkgNf2rzj5Y\""},{"key":"Date","value":"Mon, 14 Feb 2022 13:52:15 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Failed to load messages.\",\n    \"data\": {}\n}"}],"_postman_id":"ee3141d8-9b90-4028-b844-8fb3058fd0ca"},{"name":"Send Message","id":"c2ef57c5-207d-43f1-a1cd-ad42e9ddb404","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\", \r\n    \"message\": {\r\n        \"text\": \"hello there!\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/chats/send?id=john","description":"<p>Send message to someone.</p>\n","urlObject":{"path":["chats","send"],"host":["{{base_url}}"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"john"}],"variable":[]}},"response":[{"id":"d579fb65-0899-4250-8fb6-1215e789e205","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\", \r\n    \"message\": {\r\n        \"text\": \"hello there!\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/chats/send?id=john","host":["{{base_url}}"],"path":["chats","send"],"query":[{"key":"id","value":"john","description":"Your created session id."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"78"},{"key":"ETag","value":"W/\"4e-ZvkGSI8StDnkSjZX5UQTQVUBqSQ\""},{"key":"Date","value":"Fri, 27 May 2022 14:57:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"The message has been successfully sent.\",\n    \"data\": {}\n}"},{"id":"130aff0e-163b-4b43-9f1f-ae3e8d14764a","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\", \r\n    \"message\": {\r\n        \"text\": \"hello there!\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/chats/send?id=john","host":["{{base_url}}"],"path":["chats","send"],"query":[{"key":"id","value":"john","description":"Your created session id."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"67"},{"key":"ETag","value":"W/\"43-VVa944bJzICOqHAXbrMtuGViNDY\""},{"key":"Date","value":"Mon, 14 Feb 2022 13:58:14 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Failed to send the message.\",\n    \"data\": {}\n}"}],"_postman_id":"c2ef57c5-207d-43f1-a1cd-ad42e9ddb404"},{"name":"Send  Bulk Message","id":"c1db5c9b-1c3e-460c-8e81-a40da0f44715","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"receiver\": \"628231xxxxx\", \r\n        \"message\": {\r\n            \"text\": \"hi! how are you?\"\r\n        }\r\n    },\r\n    {\r\n        \"receiver\": \"628950xxxxx\",\r\n        \"delay\": 60000, \r\n        \"message\": {\r\n            \"text\": \"i'm fine, thank you!\"\r\n        }\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/chats/send-bulk?id=john","description":"<p>Send message to multiple person.</p>\n<p>You can also set custom <code>delay</code> between each message by adding the delay (in milliseconds) to the <code>delay</code> properties. Default value is <code>1000</code> if you don't provide any delay or you provide an invalid delay.</p>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">[\n  {\n    \"receiver\": \"628231xxxxx\",\n    // 1000ms / 1 seconds delay before it try to send the message since we don't provide any delay\n    \"message\": {\n      \"text\": \"hi! how are you?\"\n    }\n  },\n  {\n    \"receiver\": \"628950xxxxx\",\n    \"delay\": 60000, // 1 minutes delay before it try to send the message\n    \"message\": {\n      \"text\": \"i'm fine, thank you!\"\n    }\n  }\n]\n\n</code></pre>\n","urlObject":{"path":["chats","send-bulk"],"host":["{{base_url}}"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"john"}],"variable":[]}},"response":[{"id":"348c6404-1fda-443f-a435-6dd67e581c4f","name":"Response Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text","disabled":true}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"receiver\": \"628231xxxxx\", \r\n        \"message\": {\r\n            \"text\": \"hi! how are you?\"\r\n        }\r\n    },\r\n    {\r\n        \"receiver\": \"628950xxxxx\",\r\n        \"delay\": 60000, \r\n        \"message\": {\r\n            \"text\": \"i'm fine, thank you!\"\r\n        }\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/chats/send-bulk?id=john","host":["{{base_url}}"],"path":["chats","send-bulk"],"query":[{"key":"id","value":"john","description":"Your created session id."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"79"},{"key":"ETag","value":"W/\"4f-WZISsPR0zkoRx3Ch/QHgiuzvzWw\""},{"key":"Date","value":"Fri, 27 May 2022 15:19:02 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"All messages has been successfully sent.\",\n    \"data\": {}\n}"},{"id":"d1a3d53c-508f-4c5e-aa4c-2290a42136e5","name":"Response Success With Partial Errors","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"message\": {\r\n            \"text\": \"Whoops, some parameters is missing!\"\r\n        }\r\n    },\r\n    {\r\n        \"receiver\": \"628231xxxxx\", \r\n        \"message\": {\r\n            \"text\": \"yay, i'm sent!\"\r\n        }\r\n    },\r\n    {\r\n        \"receiver\": \"6281234567890\",\r\n        \"message\": {\r\n            \"text\": \"Looks like your phone number is not exists.\"\r\n        }\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/chats/send-bulk?id=john","host":["{{base_url}}"],"path":["chats","send-bulk"],"query":[{"key":"id","value":"john","description":"Your created session id."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"96"},{"key":"ETag","value":"W/\"60-f/z6nvDfETHAUZOj+Wj57JGlRLo\""},{"key":"Date","value":"Mon, 14 Feb 2022 12:32:53 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Some messages has been successfully sent.\",\n    \"data\": {\n        \"errors\": [\n            0,\n            2\n        ]\n    }\n}"},{"id":"e2018a9a-4918-417f-9e90-944f2f7ea33b","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"message\": {\r\n            \"text\": \"Whoops, some parameters is missing!\"\r\n        }\r\n    },\r\n    {\r\n        \"receiver\": \"628231xxxxx\"\r\n    },\r\n    {\r\n        \"receiver\": \"6281234567890\",\r\n        \"message\": {\r\n            \"text\": \"Looks like your phone number is not exists.\"\r\n        }\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/chats/send-bulk?id=john","host":["{{base_url}}"],"path":["chats","send-bulk"],"query":[{"key":"id","value":"john","description":"Your created session id."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"96"},{"key":"ETag","value":"W/\"60-f/z6nvDfETHAUZOj+Wj57JGlRLo\""},{"key":"Date","value":"Mon, 14 Feb 2022 12:32:53 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Failed to send all messages.\",\n    \"data\": {\n        \"errors\": [\n            0,\n            1,\n            2\n        ]\n    }\n}"}],"_postman_id":"c1db5c9b-1c3e-460c-8e81-a40da0f44715"}],"id":"73864731-8149-4af5-93c0-3b74458c44b2","_postman_id":"73864731-8149-4af5-93c0-3b74458c44b2","description":""},{"name":"Groups","item":[{"name":"Get Chat List","id":"078ab944-785c-4d15-98f1-af4c000d8b48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/groups?id=john","description":"<p>Get group chat list.</p>\n","urlObject":{"path":["groups"],"host":["{{base_url}}"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"john"}],"variable":[]}},"response":[{"id":"c524b51b-b67c-41d8-a8b3-f782c80ff957","name":"Response Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/groups?id=john","host":["{{base_url}}"],"path":["groups"],"query":[{"key":"id","value":"john","description":"Your created session id."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2540"},{"key":"ETag","value":"W/\"9ec-dkcBL4TQ52DrQkyrEMlAw+iTs/4\""},{"key":"Date","value":"Mon, 14 Feb 2022 14:05:38 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"\",\n    \"data\": [\n        {\n            \"id\": \"628950xxxxx-16310xxxxx@g.us\",\n            \"unreadCount\": 0,\n            \"readOnly\": false,\n            \"ephemeralExpiration\": 0,\n            \"conversationTimestamp\": \"1644825488\",\n            \"name\": \"Raventale\",\n            \"pHash\": \"xxxxx\",\n            \"notSpam\": true,\n            \"unreadMentionCount\": 0\n        },\n        ...\n    ]\n}"}],"_postman_id":"078ab944-785c-4d15-98f1-af4c000d8b48"},{"name":"Get Conversation","id":"94260016-f13d-4e43-9ae4-71df2be24b6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/groups/:jid?id=john&limit=25&cursor_id=REDACTED&cursor_fromMe=true","description":"<p>Load conversation in a group in paginated manner.</p>\n","urlObject":{"path":["groups",":jid"],"host":["{{base_url}}"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"john"},{"description":{"content":"<p>Limit data length. Default: 25 (Optional).</p>\n","type":"text/plain"},"key":"limit","value":"25"},{"description":{"content":"<p>id field from message key used as cursor to fetch previous messages (Optional).</p>\n","type":"text/plain"},"key":"cursor_id","value":"REDACTED"},{"description":{"content":"<p>fromMe field from message key used as cursor to fetch previous messages. Value: 'true' or 'false', default: 'false' (Optional).</p>\n","type":"text/plain"},"key":"cursor_fromMe","value":"true"}],"variable":[{"description":{"content":"<p>Group jid.</p>\n","type":"text/plain"},"type":"any","value":"628950xxxxx-16310xxxxx@g.us","key":"jid"}]}},"response":[{"id":"afbd1359-9087-4c67-bdb2-089306f0b9cc","name":"Response Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/groups/:jid?id=john&limit=25&cursor_id=REDACTED","host":["{{base_url}}"],"path":["groups",":jid"],"query":[{"key":"id","value":"john","description":"Your created session id."},{"key":"limit","value":"25","description":"Limit data length. Default: 25 (Optional)."},{"key":"cursor_id","value":"REDACTED","description":"id from message key used as cursor to fetch previous messages (Optional)."}],"variable":[{"key":"jid","value":"628950xxxxx-16310xxxxx@g.us","description":"Group jid."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1197"},{"key":"ETag","value":"W/\"4ad-7HAPLYY7YLdKVWwL9fjgeUM2CJs\""},{"key":"Date","value":"Mon, 14 Feb 2022 14:08:52 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"\",\n    \"data\": [\n        {\n            \"key\": {\n                \"remoteJid\": \"628950xxxxx-16310xxxxx@g.us\",\n                \"fromMe\": true,\n                \"id\": \"REDACTED\"\n            },\n            \"message\": {\n                \"conversation\": \"Hi guys, how are you?\"\n            },\n            \"messageTimestamp\": \"1644713060\",\n            \"status\": \"READ\",\n            \"userReceipt\": [\n                {\n                    \"userJid\": \"628950xxxxx@s.whatsapp.net\",\n                    \"receiptTimestamp\": \"1644713064000\",\n                    \"readTimestamp\": \"1644713075000\",\n                    \"playedTimestamp\": \"0\"\n                },\n                {\n                    \"userJid\": \"628231xxxxx@s.whatsapp.net\",\n                    \"receiptTimestamp\": \"1644713064000\",\n                    \"readTimestamp\": \"1644713071000\",\n                    \"playedTimestamp\": \"0\"\n                }\n            ]\n        },\n        ...\n    ]\n}"},{"id":"eec36c26-caf2-4c84-b7c9-e2469796816b","name":"Response Failed","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/groups/:jid?id=john&limit=25&cursor_id=REDACTED","host":["{{base_url}}"],"path":["groups",":jid"],"query":[{"key":"id","value":"john","description":"Your created session id."},{"key":"limit","value":"25","description":"Limit data length. Default: 25 (Optional)."},{"key":"cursor_id","value":"REDACTED","description":"Cursor id field (Optional)."}],"variable":[{"key":"jid","value":"628950xxxxx-16310xxxxx@g.us","description":"Group jid."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1197"},{"key":"ETag","value":"W/\"4ad-7HAPLYY7YLdKVWwL9fjgeUM2CJs\""},{"key":"Date","value":"Mon, 14 Feb 2022 14:08:52 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Failed to load messages.\",\n    \"data\": {}\n}"}],"_postman_id":"94260016-f13d-4e43-9ae4-71df2be24b6e"},{"name":"Get Group Metadata","id":"7ff671fa-087e-4799-a90d-3fc1b479a93e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/groups/meta/:jid?id=john","urlObject":{"path":["groups","meta",":jid"],"host":["{{base_url}}"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"john"}],"variable":[{"description":{"content":"<p>Group jid.</p>\n","type":"text/plain"},"type":"any","value":"628950xxxxx-16310xxxxx@g.us","key":"jid"}]}},"response":[{"id":"602437c3-d7a0-4966-9caa-00b794deaa67","name":"Response Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/groups/meta/:jid?id=john","host":["{{base_url}}"],"path":["groups","meta",":jid"],"query":[{"key":"id","value":"john","description":"Your created session id."}],"variable":[{"key":"jid","value":"628950xxxxx-16310xxxxx@g.us","description":"Group jid."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"422"},{"key":"ETag","value":"W/\"1a6-ydEaw0RfAhuvtlzdPdFtbsTmC4U\""},{"key":"Date","value":"Thu, 12 May 2022 04:25:15 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"\",\n    \"data\": {\n        \"id\": \"628950xxxxx-16310xxxxx@g.us\",\n        \"subject\": \"Raven\",\n        \"creation\": 1631090896,\n        \"owner\": \"628950xxxxx@s.whatsapp.net\",\n        \"restrict\": false,\n        \"announce\": false,\n        \"participants\": [\n            {\n                \"id\": \"6281320xxxxx@s.whatsapp.net\",\n                \"admin\": null\n            },\n            {\n                \"id\": \"628950xxxxxx@s.whatsapp.net\",\n                \"admin\": \"superadmin\"\n            }\n        ]\n    }\n}"}],"_postman_id":"7ff671fa-087e-4799-a90d-3fc1b479a93e"},{"name":"Send Message","id":"26a9f047-7e7a-4bbd-88af-0577743b6f78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628950xxxxx-1631xxxxx\", \r\n    \"message\": {\r\n        \"text\": \"hello guys!\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/groups/send?id=john","description":"<p>Send message to a group.</p>\n","urlObject":{"path":["groups","send"],"host":["{{base_url}}"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"john"}],"variable":[]}},"response":[{"id":"b4926252-397e-4b9e-ae1b-9c216c64428b","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628950xxxxx-1631xxxxx\", \r\n    \"message\": {\r\n        \"text\": \"hello guys!\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/groups/send?id=john","host":["{{base_url}}"],"path":["groups","send"],"query":[{"key":"id","value":"john","description":"Your created session id."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"78"},{"key":"ETag","value":"W/\"4e-ZvkGSI8StDnkSjZX5UQTQVUBqSQ\""},{"key":"Date","value":"Fri, 27 May 2022 15:04:39 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"The message has been successfully sent.\",\n    \"data\": {}\n}"},{"id":"0f323674-e771-44a5-b8c8-aa1efb63b67b","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628950xxxxx-1631xxxxx\", \r\n    \"message\": {\r\n        \"text\": \"hello guys!\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/groups/send?id=john","host":["{{base_url}}"],"path":["groups","send"],"query":[{"key":"id","value":"john","description":"Your created session id."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"67"},{"key":"ETag","value":"W/\"43-VVa944bJzICOqHAXbrMtuGViNDY\""},{"key":"Date","value":"Mon, 14 Feb 2022 14:14:51 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"message\": \"Failed to send the message.\",\n    \"data\": {}\n}"}],"_postman_id":"26a9f047-7e7a-4bbd-88af-0577743b6f78"}],"id":"cf4f86d2-b2f2-4495-bc2c-63b5c5925bc0","_postman_id":"cf4f86d2-b2f2-4495-bc2c-63b5c5925bc0","description":""}]}