{"info":{"_postman_id":"6af7803b-e285-43de-b39e-a6e5caa35f77","name":"Baileys API v0.2","description":"<html><head></head><body><p>API Documentation for <a href=\"https://github.com/mdaushi/baileys-api\">https://github.com/mdaushi/baileys-api</a>.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"7711393","collectionId":"6af7803b-e285-43de-b39e-a6e5caa35f77","publishedId":"UzQxL3VB","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-07-18T08:23:15.000Z"},"item":[{"name":"Sessions","item":[{"name":"Find Session","id":"bd3ba1b1-7e6f-459d-ae51-1c052d5e3a3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/sessions/find/:id","description":"<p>Find a session.</p>\n","urlObject":{"path":["api","sessions","find",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"type":"any","value":"1234","key":"id"}]}},"response":[{"id":"a4b0f9b1-e57c-437d-af1d-d38aa67f8ef1","name":"Session Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/sessions/find/:id","host":["{{base_url}}"],"path":["sessions","find",":id"],"variable":[{"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":"27c53c8b-16ca-4996-a822-bf17608af208","name":"Session Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/sessions/find/:id","host":["{{base_url}}"],"path":["sessions","find",":id"],"variable":[{"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":"bd3ba1b1-7e6f-459d-ae51-1c052d5e3a3e"},{"name":"Session Status","id":"59b11e6d-ca8f-4abb-abef-732c3419dd22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/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":["api","sessions","status",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"type":"any","value":"1234","key":"id"}]}},"response":[{"id":"d554b8f5-422f-4807-82d5-e2ae14a929de","name":"Response Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/sessions/status/:id","host":["{{base_url}}"],"path":["sessions","status",":id"],"variable":[{"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}"},{"id":"da8c3134-0303-41fb-87ee-5931bb726bc8","name":"connected","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/sessions/status/:id","host":["{{base_url}}"],"path":["sessions","status",":id"],"variable":[{"key":"id","value":"1234","description":"Your created session id."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"59"},{"key":"ETag","value":"W/\"3b-RH+uieJpOfxsciHWZ6B0D3OI+ng\""},{"key":"Date","value":"Sat, 16 Jul 2022 11:25:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"\",\n    \"data\": {\n        \"status\": \"connected\"\n    }\n}"}],"_postman_id":"59b11e6d-ca8f-4abb-abef-732c3419dd22"},{"name":"Create New Session","id":"6f559cb8-dfc3-4983-87ad-e12b88a8c086","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"1234","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}}/api/sessions/add","description":"<p>Create a new session.</p>\n","urlObject":{"path":["api","sessions","add"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"235cda57-7414-45c5-b6e3-cb74db507342","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/kYa21LnlYa61LHtZa65IfflnF36TyhcpU8YbKVDGpTBVTxaQy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kcqIyVXxRMalMFScqU8Wk8obKVPFPUnlD5aRiUpkqTlROKiaV3/Sw1lqXPKy11iUPa611if3BWmtd8LDWWpc8rLXWJQ9rrXXJw1prXfKw1lqXPKy11iUPa611ycNaa13ysNZalzystdYlD2utdcnDWmtd8rDWWpc8rLXWJQ9rrXXJ/wAn7OuDxKQ82gAAAABJRU5ErkJggg==\"\n    }\n}"},{"id":"bc469037-dfb9-4412-b53c-ac439ff02bcd","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":"c3213245-9a64-4157-afdc-cd99d0638dd7","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":"6f559cb8-dfc3-4983-87ad-e12b88a8c086"},{"name":"Delete Session","id":"59ff3f62-6554-4eda-8d23-d3777a3aaf9e","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":"1234","key":"id"}]}},"response":[{"id":"8ced38b9-8e82-43de-a1a3-06ecb536894c","name":"Response Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{base_url}}/sessions/delete/:id","host":["{{base_url}}"],"path":["sessions","delete",":id"],"variable":[{"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":"59ff3f62-6554-4eda-8d23-d3777a3aaf9e"},{"name":"List","id":"e2b115bd-7404-464d-863a-b3bf4dea8206","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/sessions/list","urlObject":{"path":["api","sessions","list"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"6c45f1f9-cf65-4361-b72a-5df2937bea88","name":"200","originalRequest":{"method":"GET","header":[],"url":"{{base_url}}/sessions/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"78"},{"key":"ETag","value":"W/\"4e-49RDrr6SpcSm0ifwDsSXvsH8Qfk\""},{"key":"Date","value":"Fri, 15 Jul 2022 17:23:04 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Success\",\n    \"data\": [\n        {\n            \"name\": \"1234\",\n            \"isLegacy\": false\n        }\n    ]\n}"}],"_postman_id":"e2b115bd-7404-464d-863a-b3bf4dea8206"}],"id":"4e4f4161-8f00-4e05-abb1-da31290fd30d","_postman_id":"4e4f4161-8f00-4e05-abb1-da31290fd30d","description":""},{"name":"Chats","item":[{"name":"Get Chat List","id":"49d27969-0585-4d4f-88c4-071477c7953c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/chats?id=firdaustesting","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":"firdaustesting"}],"variable":[]}},"response":[{"id":"a15eb0ec-67af-4150-ac5e-62cee0b3bb9e","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":"49d27969-0585-4d4f-88c4-071477c7953c"},{"name":"Get Conversation","id":"03ccda2b-b573-4760-9aa8-f56f00c9d2a8","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":[{"id":"ec10dfb6-c1f9-41f0-b1e1-38ee395baa1c","description":{"content":"<p>Chat jid.</p>\n","type":"text/plain"},"type":"any","value":"628950xxxxx@s.whatsapp.net","key":"jid"}]}},"response":[{"id":"2475673a-54c6-4c07-8f1a-a203bc3baa29","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":"04119faa-7c61-49b0-a6af-a7e64732347c","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":"03ccda2b-b573-4760-9aa8-f56f00c9d2a8"},{"name":"Send Message","id":"a991f750-fb6c-48e8-b9b6-c3881d592598","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"6289526211170\", \r\n    \"message\": {\r\n        \"text\": \"halo world\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/chats/send?id=kemal&","description":"<p>Send message to someone.</p>\n","urlObject":{"path":["api","chats","send"],"host":["{{base_url}}"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"kemal"},{"key":"","value":null}],"variable":[]}},"response":[{"id":"3503f297-ee4f-4384-a4f3-4386b11dca2e","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":"0d1f17dd-2361-4e69-ab02-4714258f2797","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":"a991f750-fb6c-48e8-b9b6-c3881d592598"},{"name":"Send  Bulk Message","id":"52a91793-05a8-49ea-92f2-b3f5b8f6454a","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":"c1fb2eda-b0b0-4c5a-aa60-c7e80a7eb0a8","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":"e21c5d23-b0cb-4102-84b6-4f30c3213153","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":"e596df1b-bc75-49fd-bde9-3b065ca21133","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":"52a91793-05a8-49ea-92f2-b3f5b8f6454a"}],"id":"178cbb7a-54d4-431b-ad52-4e8db1d11e12","_postman_id":"178cbb7a-54d4-431b-ad52-4e8db1d11e12","description":""},{"name":"Groups","item":[{"name":"Get Chat List","id":"8a38b189-fdca-4668-a191-43b13b9daf61","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":"b591997b-b46c-4a40-a179-d070abaf52a6","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":"8a38b189-fdca-4668-a191-43b13b9daf61"},{"name":"Get Conversation","id":"61cb0529-069f-46b1-a99c-92a78e1f6eaf","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":[{"id":"e8cd5046-2fd0-4541-82b2-8a85cd176be1","description":{"content":"<p>Group jid.</p>\n","type":"text/plain"},"type":"any","value":"628950xxxxx-16310xxxxx@g.us","key":"jid"}]}},"response":[{"id":"be62ede1-030e-4e1d-b22e-e0687d6cc46e","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":"2a62426c-56cb-47c1-b4ed-394ee1ddfc1a","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":"61cb0529-069f-46b1-a99c-92a78e1f6eaf"},{"name":"Get Group Metadata","id":"15646c53-4493-41f3-9930-2ce51878cb51","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":[{"id":"7e64e028-7e97-4152-afe0-660adb43ad16","description":{"content":"<p>Group jid.</p>\n","type":"text/plain"},"type":"any","value":"628950xxxxx-16310xxxxx@g.us","key":"jid"}]}},"response":[{"id":"a3bd6497-ec72-486e-97a0-36f65043e673","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":"15646c53-4493-41f3-9930-2ce51878cb51"},{"name":"Send Message","id":"5d14bb3c-0c0f-4a02-af72-55558e1e49ed","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":"c0b425a3-7af0-49ca-852f-7ee6bc36e323","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":"1a67f95d-cd3d-4473-a0c9-c784f24dbc82","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":"5d14bb3c-0c0f-4a02-af72-55558e1e49ed"}],"id":"7c9397f1-7e68-481d-999f-14a0ffcc710c","_postman_id":"7c9397f1-7e68-481d-999f-14a0ffcc710c","description":""},{"name":"AUTH","item":[{"name":"register","id":"888e965c-7e51-46ef-923d-8e53dd2dd7b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"admin\",\r\n    \"email\": \"admin@admin.com\",\r\n    \"password\": \"787898\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/auth/register","urlObject":{"path":["api","auth","register"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"888e965c-7e51-46ef-923d-8e53dd2dd7b0"},{"name":"LOGIN","id":"5b48026a-011b-4bcd-bb7a-1ad38a6d5d52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"admin@admin.com\",\r\n    \"password\": \"787898\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/auth/login","urlObject":{"path":["api","auth","login"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5b48026a-011b-4bcd-bb7a-1ad38a6d5d52"},{"name":"testing","id":"1d67a388-443d-4ca5-b72a-f54c61f3cd86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NCwiaWF0IjoxNjg1MzQzNjYwfQ.8kqYWNvxrrVcAKSlBmutryqWXAYsew0xHzNMKJVdkMg","type":"text"}],"url":"{{base_url}}/api/auth/testing","urlObject":{"path":["api","auth","testing"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1d67a388-443d-4ca5-b72a-f54c61f3cd86"}],"id":"805eeabb-b216-4006-b4ff-859f5c7bce4c","_postman_id":"805eeabb-b216-4006-b4ff-859f5c7bce4c","description":""}]}