{"info":{"_postman_id":"9db85f5b-971f-4218-8f0b-7eca66651a01","name":"whatsapp-api-nodejs","description":"<html><head></head><body><h2 id=\"api-documentation\"><strong>API</strong> Documentation</h2>\n<h3 id=\"whatsapp-api-nodejs\">whatsapp-api-nodejs</h3>\n<p><a href=\"https://github.com/salman0ansari/whatsapp-api-nodejs\">https://github.com/salman0ansari/whatsapp-api-nodejs</a></p>\n<p>An implementation of <a href=\"https://github.com/adiwajshing/Baileys/\">Baileys</a> as a simple RESTful API service with multi device support just <code>download</code>, <code>install</code>, and <code>start</code> using, <code>simple</code> as that.</p>\n<p>Build with NodeJs + Express</p>\n<hr>\n<h2 id=\"legal-notice\">Legal Notice</h2>\n<ul>\n<li>This code is in no way affiliated, authorized, maintained, sponsored or endorsed by WA(WhatsApp) or any of its affiliates or subsidiaries.</li>\n<li>The official WhatsApp website can be found at <a href=\"https://whatsapp.com\">https://whatsapp.com</a>. \"WhatsApp\" as well as related names, marks, emblems and images are registered trademarks of their respective owners.</li>\n<li>This is an independent and unofficial software Use at your own risk.</li>\n<li>Do not spam people with this.</li>\n</ul>\n<hr>\n<h2 id=\"contact\">Contact</h2>\n<p>Developer: <a href=\"https://github.com/salman0ansari\">https://github.com/salman0ansari</a></p>\n<p>Email: <a href=\"mailto:salman0ansari@pm.me\">salman0ansari@pm.me</a></p>\n<p>Telegram: @salman0ansari</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"12514774","collectionId":"9db85f5b-971f-4218-8f0b-7eca66651a01","publishedId":"UVsPQkBq","public":true,"customColor":{"top-bar":"303030","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-03-20T10:28:40.000Z"},"item":[{"name":"Instance","item":[{"name":"Init Instance","id":"b519321a-9215-4d3c-8b13-8513245f3ad8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"localhost:3333/instance/init?key=123&token=RANDOM_STRING_HERE","description":"<p>Init a new WhatsApp instance</p>\n","urlObject":{"path":["instance","init"],"host":["localhost:3333"],"query":[{"disabled":true,"description":{"content":"<p>Allow Webhook\n(Optional) </p>\n","type":"text/plain"},"key":"webhook","value":"true"},{"description":{"content":"<p>Custom Instance Key\n(Optional)</p>\n","type":"text/plain"},"key":"key","value":"123"},{"key":"token","value":"RANDOM_STRING_HERE"}],"variable":[]}},"response":[],"_postman_id":"b519321a-9215-4d3c-8b13-8513245f3ad8"},{"name":"Scan QR","id":"8809def3-0049-4dfd-b1cd-f4f22e3b4c02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:3333/instance/qr?key=123","description":"<p>Get an instance QrCode</p>\n","urlObject":{"path":["instance","qr"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"}],"variable":[]}},"response":[],"_postman_id":"8809def3-0049-4dfd-b1cd-f4f22e3b4c02"},{"name":"Get QR in Base64","id":"505011a9-09fd-4f4b-a045-ce96ed24b7a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:3333/instance/qrbase64?key=123","urlObject":{"path":["instance","qrbase64"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"}],"variable":[]}},"response":[],"_postman_id":"505011a9-09fd-4f4b-a045-ce96ed24b7a8"},{"name":"Instance Info","id":"3070d252-0599-4758-bb86-47a18efb7ba0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:3333/instance/info?key=123","description":"<p>Get an instance info</p>\n","urlObject":{"path":["instance","info"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"}],"variable":[]}},"response":[],"_postman_id":"3070d252-0599-4758-bb86-47a18efb7ba0"},{"name":"Restore All Instances","id":"99cefee7-b698-4ac8-b688-68534e6b8c55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:3333/instance/restore","urlObject":{"path":["instance","restore"],"host":["localhost:3333"],"query":[],"variable":[]}},"response":[],"_postman_id":"99cefee7-b698-4ac8-b688-68534e6b8c55"},{"name":"Delete Instance","id":"d76bbe79-39ec-4286-ab81-304df10cd880","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"localhost:3333/instance/delete?key=123","description":"<p>Delete an instance</p>\n","urlObject":{"path":["instance","delete"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"}],"variable":[]}},"response":[],"_postman_id":"d76bbe79-39ec-4286-ab81-304df10cd880"},{"name":"Logout Instance","id":"1204ace8-2ac4-4cae-8070-f055659e09b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"localhost:3333/instance/logout?key=123","description":"<p>Logout WhatsApp session from mobile</p>\n","urlObject":{"path":["instance","logout"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"}],"variable":[]}},"response":[],"_postman_id":"1204ace8-2ac4-4cae-8070-f055659e09b1"},{"name":"List All Sessions","id":"b73b2b49-d1f3-44ee-8283-faeae103004a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:3333/instance/list","description":"<p>List all Instances</p>\n","urlObject":{"path":["instance","list"],"host":["localhost:3333"],"query":[{"disabled":true,"description":{"content":"<p>List Active Instances\n(Optional) </p>\n","type":"text/plain"},"key":"active","value":"true"}],"variable":[]}},"response":[],"_postman_id":"b73b2b49-d1f3-44ee-8283-faeae103004a"}],"id":"f70d81a2-767b-4cbd-aeac-5a55e1668336","_postman_id":"f70d81a2-767b-4cbd-aeac-5a55e1668336","description":""},{"name":"Message","item":[{"name":"Send Text Message","id":"51e0a5cc-f58e-4840-aa5d-55b6100a5212","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"","description":"<p>Recipient Id or Group Id\n(Required)</p>\n","type":"text"},{"key":"message","value":"","description":"<p>Message to Send\n(Required)</p>\n","type":"text"}]},"url":"localhost:3333/message/text?key=bot","description":"<p>Send a text message to WhatsApp User or Group</p>\n","urlObject":{"path":["message","text"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"bot"}],"variable":[]}},"response":[],"_postman_id":"51e0a5cc-f58e-4840-aa5d-55b6100a5212"},{"name":"Send Image Message","id":"be5eac16-eca8-4ae4-b01c-78f3ef8afcea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"<p>Image you want to send\n(Required) </p>\n","type":"file","value":null},{"key":"id","value":"","description":"<p>Recipient Id or Group Id\n(Required)</p>\n","type":"text"},{"key":"caption","value":"","description":"<p>Message Caption\n(Optional) </p>\n","type":"text"}]},"url":"localhost:3333/message/image?key=123","description":"<p>Send an image message to WhatsApp User</p>\n","urlObject":{"path":["message","image"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"},{"disabled":true,"key":"id","value":""},{"disabled":true,"key":"caption","value":""}],"variable":[]}},"response":[],"_postman_id":"be5eac16-eca8-4ae4-b01c-78f3ef8afcea"},{"name":"Send Video Message","id":"bf7dd9fb-11ec-4887-879b-26513b2e6c75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"<p>Video You Want to Send\n(Required)</p>\n","type":"file","value":null},{"key":"id","value":"","description":"<p>Recipient Id or Group Id\n(Required)</p>\n","type":"text"},{"key":"caption","value":"","description":"<p>Message Caption\n(Optional) </p>\n","type":"text"}]},"url":"localhost:3333/message/video?key=123","description":"<p>Send a video message to WhatsApp User</p>\n","urlObject":{"path":["message","video"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"}],"variable":[]}},"response":[],"_postman_id":"bf7dd9fb-11ec-4887-879b-26513b2e6c75"},{"name":"Send Audio Message","id":"c67def9d-bfc9-4d11-8a67-d006058ba04d","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"<p>Audio You Want to Send\n(Required)</p>\n","type":"file","value":null},{"key":"id","value":"","description":"<p>Recipient Id or Group Id\n(Required)</p>\n","type":"text"}]},"url":"localhost:3333/message/audio?key=123","description":"<p>Send an audio message to WhatsApp User</p>\n","urlObject":{"path":["message","audio"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"}],"variable":[]}},"response":[],"_postman_id":"c67def9d-bfc9-4d11-8a67-d006058ba04d"},{"name":"Send Document Message","id":"267fde06-a130-4f42-99f8-a8bb7242fdf1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"<p>Document You Want to Send\n(Required)</p>\n","type":"file","value":null},{"key":"id","value":"","description":"<p>Recipient Id or Group Id\n(Required)</p>\n","type":"text"},{"key":"filename","value":"","description":"<p>Custom File Name\n(Optional)</p>\n","type":"text"}]},"url":"localhost:3333/message/doc?key=123","description":"<p>Send a document message to WhatsApp User</p>\n","urlObject":{"path":["message","doc"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"}],"variable":[]}},"response":[],"_postman_id":"267fde06-a130-4f42-99f8-a8bb7242fdf1"},{"name":"Send File URL","id":"bc350d74-ac61-4017-bda2-d3893961c391","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"","type":"text","description":"<p>Recipient Id or Group Id\n(Required)</p>\n"},{"key":"url","value":"","type":"text","description":"<p>Direct URL of Media File\n(Required)</p>\n"},{"key":"type","value":"","type":"text","description":"<p>Message Type\n(Required)</p>\n"},{"key":"mimetype","value":"","type":"text","description":"<p>Mime Type \n(Sometimes Required)\n(Optional)</p>\n"},{"key":"caption","value":"","type":"text","description":"<p>Message Caption\n(Optional)</p>\n"}]},"url":"localhost:3333/message/mediaurl?key=123","description":"<p>Send a media message via a URL</p>\n<ul>\n<li>Image</li>\n<li>Video</li>\n<li>Document</li>\n</ul>\n","urlObject":{"path":["message","mediaurl"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"}],"variable":[]}},"response":[],"_postman_id":"bc350d74-ac61-4017-bda2-d3893961c391"},{"name":"Send Button(Template) Message","id":"de205b70-f123-4278-8b44-f8341a3f9f13","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{   \n    \"id\": \"\",\n    \"btndata\": {\n        \"text\": \"title Head\",\n        \"buttons\": [\n            {\n                \"type\": \"replyButton\",\n                \"title\": \"Reply this text (REPLY)\"\n            },\n            {\n                \"type\": \"urlButton\",\n                \"title\": \"Click me (URL)\",\n                \"payload\": \"https://google.com\"\n            },\n            {\n                \"type\": \"callButton\",\n                \"title\": \"Click to call (CALL)\",\n                \"payload\": \"918788889688\"\n            }\n        ],\n        \"footerText\": \"title footer\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"localhost:3333/message/button?key=123","description":"<p>Send an interactive template message to an WhatsApp User</p>\n","urlObject":{"path":["message","button"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"}],"variable":[]}},"response":[],"_postman_id":"de205b70-f123-4278-8b44-f8341a3f9f13"},{"name":"Send Contact Message","id":"7238dd10-35d4-4a01-97d3-8f7148cf62f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{   \n    \"id\": \"\",\n    \"vcard\": {\n        \"fullName\": \"john doe\",\n        \"displayName\": \"johndoe\",\n        \"organization\": \"Men In Black\",\n        \"phoneNumber\": \"919999999999\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"localhost:3333/message/contact?key=123","description":"<p>Send an contact(vcard) message to an WhatsApp User</p>\n","urlObject":{"path":["message","contact"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"}],"variable":[]}},"response":[],"_postman_id":"7238dd10-35d4-4a01-97d3-8f7148cf62f2"},{"name":"Send List Message","id":"8112d2bd-66c5-410e-af56-3c0df5f7d5fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"id\": \"\",\n  \"msgdata\": {\n    \"buttonText\": \"Button Text\",\n    \"text\": \"Middle Text\",\n    \"title\": \"Head Title\",\n    \"description\": \"Footer Description\",\n    \"sections\": [\n      {\n        \"title\": \"title\",\n        \"rows\": [\n          {\n            \"title\": \"Title Option 1\",\n            \"description\": \"Option Description\",\n            \"rowId\": \"string\"\n          }\n        ]\n      }\n    ],\n    \"listType\": 0\n  }\n}","options":{"raw":{"language":"json"}}},"url":"localhost:3333/message/list?key=123","description":"<p>Send an list button message to WhatsApp User</p>\n","urlObject":{"path":["message","list"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"}],"variable":[]}},"response":[],"_postman_id":"8112d2bd-66c5-410e-af56-3c0df5f7d5fa"},{"name":"Set Status","id":"ac4a68c2-19c3-416c-bcc6-c196457204ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"status","value":"","description":"<p>Status Value\n(Required)</p>\n","type":"text"}]},"url":"localhost:3333/message/setstatus?key=123","description":"<p>Send an list button message to WhatsApp User</p>\n","urlObject":{"path":["message","setstatus"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"}],"variable":[]}},"response":[],"_postman_id":"ac4a68c2-19c3-416c-bcc6-c196457204ca"},{"name":"Send Button With Media","id":"341237ab-0c7c-49eb-9bf3-6dc56671abd8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"\",\n    \"btndata\": {\n        \"text\": \"Title of Message\",\n        \"buttons\": [\n            {\n                \"type\": \"replyButton\",\n                \"title\": \"this button reply\"\n            },\n            {\n                \"type\": \"callButton\",\n                \"title\": \"this button calls\",\n                \"payload\": \"91999999999\"\n            }\n        ],\n        \"footerText\": \"Footer text\",\n        \"image\": \"https://picsum.photos/536/354\",\n        \"mediaType\": \"image\",\n        \"mimeType\": \"image/jpeg\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"localhost:3333/message/MediaButton?key=123","description":"<p>Send an interactive template message with media to WhatsApp User</p>\n","urlObject":{"path":["message","MediaButton"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Recipient Id or Group Id\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"},{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[],"_postman_id":"341237ab-0c7c-49eb-9bf3-6dc56671abd8"}],"id":"f7f090ac-8dfe-4f72-83da-746ca2d61e0e","_postman_id":"f7f090ac-8dfe-4f72-83da-746ca2d61e0e","description":""},{"name":"Misc","item":[{"name":"Is On Whatsapp?","id":"40597258-8cd8-4cc8-97f2-1aa626b2512c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:3333/misc/onwhatsapp?key=123&id=","description":"<p>Check if a number is registered on WhatsApp</p>\n","urlObject":{"path":["misc","onwhatsapp"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"},{"description":{"content":"<p>User Whatsapp Id\n(Required)</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"40597258-8cd8-4cc8-97f2-1aa626b2512c"},{"name":"Download Profile Pic","id":"52a02d27-816f-41ab-929d-2417a0ad8001","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:3333/misc/downProfile?key=123&id=","description":"<p>Download Profile pic of an WhatsApp user</p>\n","urlObject":{"path":["misc","downProfile"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"},{"description":{"content":"<p>User Whatsapp Id\n(Required)</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"52a02d27-816f-41ab-929d-2417a0ad8001"},{"name":"Get User Status","id":"a426339b-b748-4e63-b71c-5cc367e95fb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:3333/misc/getStatus?key=123&id=","description":"<p>Get user status (about).</p>\n","urlObject":{"path":["misc","getStatus"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"},{"description":{"content":"<p>User Id\n(Required)</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"a426339b-b748-4e63-b71c-5cc367e95fb2"},{"name":"Block/Unblock User","id":"eddbd5b1-79f9-4fe8-8d15-831f9d186cbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:3333/misc/blockUser?key=123&id","description":"<p>Block Or Unblock User.</p>\n","urlObject":{"path":["misc","blockUser"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"},{"description":{"content":"<p>User Id\n(Required)</p>\n","type":"text/plain"},"key":"id","value":null}],"variable":[]}},"response":[],"_postman_id":"eddbd5b1-79f9-4fe8-8d15-831f9d186cbb"},{"name":"Update Profile Picture","id":"4639fce1-0197-4270-a5c2-ae726e34fad3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"","description":"<p>Your Id or Group Id\n(Required)</p>\n","type":"text"},{"key":"url","value":"","description":"<p>Direct Image URl\n(Required)</p>\n","type":"text"}]},"url":"localhost:3333/misc/updateProfilePicture?key=123","description":"<p>Block Or Unblock User.</p>\n","urlObject":{"path":["misc","updateProfilePicture"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"}],"variable":[]}},"response":[],"_postman_id":"4639fce1-0197-4270-a5c2-ae726e34fad3"}],"id":"3fb20508-5f03-4481-aa16-368f1d7238bd","_postman_id":"3fb20508-5f03-4481-aa16-368f1d7238bd","description":""},{"name":"Group","item":[{"name":"Create Group","id":"e4b18341-73ac-4a56-b9c8-d1e472e7db77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:3333/group/create?key=123","description":"<p>Create a group</p>\n","urlObject":{"path":["group","create"],"host":["localhost:3333"],"query":[{"key":"key","value":"123"}],"variable":[]}},"response":[],"_postman_id":"e4b18341-73ac-4a56-b9c8-d1e472e7db77"},{"name":"Leave Group","id":"7492cf27-34a4-421e-ad9b-92c3b8fd0a46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:3333/group/leave?key=123&id","description":"<p>Leave a group by its ID</p>\n","urlObject":{"path":["group","leave"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"},{"description":{"content":"<p>Group Id\n(Required)</p>\n","type":"text/plain"},"key":"id","value":null}],"variable":[]}},"response":[],"_postman_id":"7492cf27-34a4-421e-ad9b-92c3b8fd0a46"},{"name":"Get All Groups","id":"9ba22b1d-9534-40ce-bd61-6befdf318203","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:3333/group/listall?key=123","description":"<p>List all groups in which you are in</p>\n","urlObject":{"path":["group","listall"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"}],"variable":[]}},"response":[],"_postman_id":"9ba22b1d-9534-40ce-bd61-6befdf318203"},{"name":"Invite User","id":"c16f99f8-442d-4eb2-b2ff-21ceae0831d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"","description":"<p>Group Id\n(Required)</p>\n","type":"text"},{"key":"users","value":"","description":"<p>Users Id\n(Required)</p>\n","type":"text"}]},"url":"localhost:3333/group/inviteuser?key=123","description":"<p>Invite Users to Group</p>\n","urlObject":{"path":["group","inviteuser"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"}],"variable":[]}},"response":[],"_postman_id":"c16f99f8-442d-4eb2-b2ff-21ceae0831d2"},{"name":"Make Admin","id":"32db106b-153b-4dc7-962d-650c6deb6b1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"","description":"<p>Group Id\n(Required)</p>\n","type":"text"},{"key":"users","value":"","description":"<p>User Id\n(Required)</p>\n","type":"text"}]},"url":"localhost:3333/group/makeadmin?key=123","description":"<p>Promote group users to admin</p>\n","urlObject":{"path":["group","makeadmin"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"}],"variable":[]}},"response":[],"_postman_id":"32db106b-153b-4dc7-962d-650c6deb6b1a"},{"name":"Demote Admin","id":"c08c8ef6-3043-4c86-8aba-be9335ba633a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"","description":"<p>Group Id\n(Required)</p>\n","type":"text"},{"key":"users","value":"","description":"<p>User Id\n(Required)</p>\n","type":"text"}]},"url":"localhost:3333/group/demoteadmin?key=123","description":"<p>Demote group admin</p>\n","urlObject":{"path":["group","demoteadmin"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"}],"variable":[]}},"response":[],"_postman_id":"c08c8ef6-3043-4c86-8aba-be9335ba633a"},{"name":"Get Group Invite Code","id":"77dbf9ec-df68-48bd-852e-e92f79c5f3ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"localhost:3333/group/getinvitecode?key=123&id","description":"<p>Get invite link of a group</p>\n","urlObject":{"path":["group","getinvitecode"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"},{"description":{"content":"<p>Group Id\n(Required)</p>\n","type":"text/plain"},"key":"id","value":null}],"variable":[]}},"response":[],"_postman_id":"77dbf9ec-df68-48bd-852e-e92f79c5f3ed"},{"name":"Get All Groups","id":"252b22fa-7909-4754-a355-b1adfd314def","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"localhost:3333/group/getallgroups?key=123","description":"<p>Get invite link of a group</p>\n","urlObject":{"path":["group","getallgroups"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"},{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[],"_postman_id":"252b22fa-7909-4754-a355-b1adfd314def"},{"name":"Update Group Participants","id":"5f6426be-104c-4cc1-8cd0-ee17cfde9bcc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"","description":"<p>Group Id\n(Required)</p>\n","type":"text"},{"key":"users","value":"","description":"<p>Users\n(Required)</p>\n","type":"text"},{"key":"action","value":"","description":"<p>Action\n(Required)</p>\n","type":"text"}]},"url":"localhost:3333/group/participantsupdate?key=123","description":"<p>Get invite link of a group</p>\n","urlObject":{"path":["group","participantsupdate"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"},{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[],"_postman_id":"5f6426be-104c-4cc1-8cd0-ee17cfde9bcc"},{"name":"Update Group Setting","id":"57e64f5f-234e-49bf-9501-071b76a82982","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"","description":"<p>Group Id\n(Required)</p>\n","type":"text"},{"key":"action","value":"","description":"<p>Action\n(Required)</p>\n","type":"text"}]},"url":"localhost:3333/group/settingsupdate?key=123","description":"<p>Get invite link of a group</p>\n","urlObject":{"path":["group","settingsupdate"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"},{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[],"_postman_id":"57e64f5f-234e-49bf-9501-071b76a82982"},{"name":"Update Group Subject","id":"eab7e759-fdc6-499e-ab20-434815616513","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"","description":"<p>Group Id\n(Required)</p>\n","type":"text"},{"key":"subject","value":"","description":"<p>Subject\n(Required)</p>\n","type":"text"}]},"url":"localhost:3333/group/updatesubject?key=123","description":"<p>Get invite link of a group</p>\n","urlObject":{"path":["group","updatesubject"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"},{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[],"_postman_id":"eab7e759-fdc6-499e-ab20-434815616513"},{"name":"Update Group Description","id":"cb79ee0a-049e-4347-a5d8-663245a38659","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"","description":"<p>Group Id\n(Required)</p>\n","type":"text"},{"key":"description","value":"","description":"<p>Group Description\n(Required)</p>\n","type":"text"}]},"url":"localhost:3333/group/updatedescription?key=123","description":"<p>Get invite link of a group</p>\n","urlObject":{"path":["group","updatedescription"],"host":["localhost:3333"],"query":[{"description":{"content":"<p>Instance Key\n(Required)</p>\n","type":"text/plain"},"key":"key","value":"123"},{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[],"_postman_id":"cb79ee0a-049e-4347-a5d8-663245a38659"}],"id":"bf9fbb76-7394-4e65-a25a-651083466418","_postman_id":"bf9fbb76-7394-4e65-a25a-651083466418","description":""}],"event":[{"listen":"prerequest","script":{"id":"a4553604-951d-46a6-9ccf-6744019634e4","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d5b10132-cf7b-45ec-aa1b-e72ac7a26d25","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"localhost:3333"},{"key":"instance_key","value":"123"}]}