{"info":{"_postman_id":"bc1dab30-7f57-4611-857c-1e497ee881c9","name":"Whatsep","description":"<html><head></head><body><p>Simple whatsap API based on <a href=\"https://github.com/pedroslopez/whatsapp-web.js\">https://github.com/pedroslopez/whatsapp-web.js</a></p>\n<h2 id=\"todo\">Todo</h2>\n<ul>\n<li>Auth</li>\n<li>Set webhook url using REST</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"11986481","collectionId":"bc1dab30-7f57-4611-857c-1e497ee881c9","publishedId":"T17Kd6TY","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-07-09T04:16:18.000Z"},"item":[{"name":"Get Info","id":"5542fee5-8d11-465b-8b3a-ca0e6c0ef79e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3001/info","description":"<p>Getting information about the connected phone</p>\n","urlObject":{"protocol":"http","port":"3001","path":["info"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"316c5e14-32d3-4187-81d4-dc821658a7d3","name":"Get Info","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3001/info"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"success\": true,\r\n    \"status\": \"CONNECTED\",\r\n    \"alias\": \"Whatsep\",\r\n    \"uid\": \"<PHONE NUMBER>\",\r\n    \"platform\": \"android\",\r\n    \"battery\": 84,\r\n    \"plugged\": false\r\n}"}],"_postman_id":"5542fee5-8d11-465b-8b3a-ca0e6c0ef79e"},{"name":"Send Message","id":"ab554d50-d985-406a-a601-43fa83c03630","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"number","value":"<PHONE NUMBER>","type":"text"},{"key":"msg","value":"Test message","type":"text"}]},"url":"http://localhost:3001/send","description":"<p>To send messages</p>\n","urlObject":{"protocol":"http","port":"3001","path":["send"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"cecca362-4fc0-4b93-ac19-1c8e7c5dccf9","name":"Send Message","originalRequest":{"method":"POST","header":[],"url":"http://localhost:3001/send"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"success\": true,\r\n    \"result\": {\r\n        \"id\": {\r\n            \"fromMe\": true,\r\n            \"remote\": {\r\n                \"server\": \"c.us\",\r\n                \"user\": \"<PHONE NUMBER>\",\r\n                \"_serialized\": \"<PHONE NUMBER>@c.us\"\r\n            },\r\n            \"id\": \"AA123123123123128\",\r\n            \"_serialized\": \"true_<PHONE NUMBER>@c.us_AA123123123123128\"\r\n        },\r\n        \"ack\": 0,\r\n        \"hasMedia\": false,\r\n        \"body\": \"test message\",\r\n        \"type\": \"chat\",\r\n        \"timestamp\": 1593671928,\r\n        \"from\": \"<PHONE NUMBER>@c.us\",\r\n        \"to\": \"<PHONE NUMBER>@c.us\",\r\n        \"isForwarded\": false,\r\n        \"fromMe\": true,\r\n        \"hasQuotedMsg\": false,\r\n        \"mentionedIds\": []\r\n    }\r\n}"}],"_postman_id":"ab554d50-d985-406a-a601-43fa83c03630"},{"name":"Scan QrCode","id":"b1e77ec1-5895-4269-8e8a-6a609ee1235e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3001/qr","description":"<p>To get started with whatsapp API scan QR using this url</p>\n","urlObject":{"protocol":"http","port":"3001","path":["qr"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"2571fe95-c8bb-49af-8cb4-ce5bbf37b57a","name":"Scan QrCode","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3001/qr"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"b1e77ec1-5895-4269-8e8a-6a609ee1235e"}]}