{"info":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","description":"<html><head></head><body><p>API Documentation fo <a href=\"\">https://github.com/andresayac/baileys-api</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"9471522","collectionId":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","publishedId":"2s8YehTwHJ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-11-09T01:45:03.000Z"},"item":[{"name":"Sessions","item":[{"name":"Find Session","id":"44e0620f-b3d1-41f7-99ac-b49e6adc29b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/sessions/find/:id","description":"<p>Find a session.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["sessions","find",":id"],"host":["http://localhost:8000"],"query":[],"variable":[{"type":"any","value":"tmp-session","key":"id"}]}},"response":[{"id":"dc4871df-3ad2-4bbb-ab0a-a5776698b023","name":"Session Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8000/sessions/find/:id","host":["http://localhost:8000"],"path":["sessions","find",":id"],"variable":[{"key":"id","value":"tmp-session","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":"4ca81b99-de73-4a67-97cf-50f7bb4407b9","name":"Session Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8000/sessions/find/:id","host":["http://localhost:8000"],"path":["sessions","find",":id"],"variable":[{"key":"id","value":"tmp-session","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":"44e0620f-b3d1-41f7-99ac-b49e6adc29b2"},{"name":"Session Status","id":"d31f8b9e-c404-4e6c-af4e-29749556afa3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/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","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["sessions","status",":id"],"host":["http://localhost:8000"],"query":[],"variable":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"type":"any","value":"tmp-session","key":"id"}]}},"response":[{"id":"ed3db244-7b6f-487f-ad80-ca3bfe9a3485","name":"Response Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8000/sessions/status/:id","host":["http://localhost:8000"],"path":["sessions","status",":id"],"variable":[{"key":"id","value":"tmp-session","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":"d31f8b9e-c404-4e6c-af4e-29749556afa3"},{"name":"List Sessions","id":"b9b5206a-fa8f-49d1-bb2c-1d3044d9a25d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/sessions/list","description":"<p>Get the name of the created session.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["sessions","list"],"host":["http://localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"679cf348-868d-4e91-bd37-91cf9db6a6e2","name":"Response Success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/sessions/list"},"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\": \"Session list\",\n    \"data\": [\n        \"id-session\"\n    ]\n}"}],"_postman_id":"b9b5206a-fa8f-49d1-bb2c-1d3044d9a25d"},{"name":"Create New Session","id":"f22cb9c5-ce02-45c0-80ec-532cfeee1e5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"tmp-session","description":"<p>Session id you want to use.</p>\n","type":"default"},{"key":"typeAuth","value":"code","description":"<p>The authentication type (code or QR). By default, qr is selected.</p>\n","type":"text"},{"key":"phoneNumber","value":"120363027xxxxxx","description":"<p>Telephone number with international code used for authentication</p>\n","type":"text","disabled":true}]},"url":"http://localhost:8000/sessions/add","description":"<p>Create a new session.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["sessions","add"],"host":["http://localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"3f8b8e97-d8e0-4321-9be2-7040b7394462","name":"QR Code Received","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"tmp-session","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":"http://localhost:8000/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/2UqU8WkMlVMKlPFGxWTyhcVJxWTyqQyVUwqv6nipoo3VN6o+EJlqvjiYa21LnlYa61LHtZa65IfPqqYVKaKNyomlanijYpJ5aRiUjmpOKmYVE5UpopJZao4UZkqJpWp4kRlqphU3qh4o+JE5aTiROWkYlJ5Q+Wk4kTlDZW/6WGttS55WGutSx7WWuuSHy6rmFSmihOVqeKmiknljYpJ5YuKL1ROKk4qJpUvKk5UTlROKiaVL1SmiptUpooTlaliqphUpoqpYlKZKm56WGutSx7WWuuSh7XWuuSHj1S+UDlROak4UZkqflPFGypfVEwqJypvVEwqJypTxVQxqUwVJypTxYnKpDJVnKj8JpWp4kRlqphUpoqpYlKZKr54WGutSx7WWuuSh7XWusT+4BepTBWTyknFpPJGxYnKScUbKlPFpHJSMancVHGiclPFpPJGxaQyVUwqX1ScqLxR8YbKScWkclLxNz2stdYlD2utdcnDWmtdYn9wkcpUMancVDGpTBUnKl9UTConFV+ovFExqbxRMalMFScqU8WkMlVMKlPFGyonFScqJxUnKlPFpPJGxRsqU8WkMlV88bDWWpc8rLXWJQ9rrXWJ/cEHKlPFicpUMalMFW+ofFFxk8pUMalMFZPKVHGiMlV8oTJVTCpTxYnKGxU3qUwVk8pUcaIyVXyh8kXFicpJxRcPa611ycNaa13ysNZal/zwUcWkclIxqZyofFFxojKpnFRMKlPFTRU3qUwVJxWTylQxqZxUTCpTxaRyUnGiMlWcVEwqU8UbKr+pYlL5Jz2stdYlD2utdcnDWmtd8sNHKlPFTRU3qdxUcVJxUnGiMlV8UXGiclIxqUwVJypvVLyhcqIyVZxUTConKlPFGyo3VUwqU8VND2utdcnDWmtd8rDWWpfYH3ygMlWcqEwVk8pJxYnKVDGpnFRMKicVX6icVEwqU8UbKlPFGypTxaQyVZyofFExqUwVX6icVJyonFRMKlPFpPJFxaQyVXzxsNZalzystdYlD2utdckPH1VMKjdVTCpTxVTxhcpvUjmp+EJlqpgq3lCZKiaVLypOVE5UvlCZKqaKN1Smijcqvqg4UflND2utdcnDWmtd8rDWWpfYH3ygclIxqUwVk8pJxaQyVZyofFHxhspUMam8UXGTyknFpDJVvKFyUvGFyknFicpUMam8UTGpTBUnKicVk8pU8Tc9rLXWJQ9rrXXJw1prXWJ/cJHKScUXKm9UvKFyUjGpTBUnKm9UTCpvVEwqU8WkMlVMKlPFpDJVTCpvVEwqU8Wk8kbFGypTxaQyVbyhclIxqXxRcdPDWmtd8rDWWpc8rLXWJT9cVnGiclIxqZxUnKhMFZPKVDGpTCo3VdxUMalMFScVX1RMKlPFpPJGxUnFicqkclJxk8pU8UXFicqJylTxxcNaa13ysNZalzystdYlP3ykclJxUjGpTBUnKlPFVDGpTBWTyknFpPI3VZyoTBWTylQxqUwVU8WJylQxqUwVb6icVEwqJxWTyknFpDJVTCpTxU0qU8VU8Tc9rLXWJQ9rrXXJw1prXfLDv5zKVDFVTCq/SWWqeKPiC5WTipOKk4pJ5Y2KN1ROKk4qJpUvKk5UTlROVKaKk4pJZaqYVE4qJpWp4ouHtda65GGttS55WGutS364rOKk4o2KSeWk4kTlJpWTijdUTiomlUnljYo3Kk5UpoqpYlKZKk4qTiomlaliUjmpeKPiJpUTlanin/Sw1lqXPKy11iUPa611yQ8fVZyoTBWTyonKScWkMlXcVDGpTBWTyknFGyonFZPKVDGpTBUnKicVJyonKlPFicobKlPFGxWTyonKVDGpTBVvqEwq/6SHtda65GGttS55WGutS+wPLlKZKiaVqWJSmSpOVE4qTlSmiknljYo3VKaKN1SmiptUpopJZaqYVKaKE5WTijdU3qiYVL6omFSmikllqphUTipOVKaKmx7WWuuSh7XWuuRhrbUusT/4RSr/JhUnKlPFTSpvVJyonFRMKn9TxYnKVDGpTBVfqEwVb6icVEwq/6SKSWWquOlhrbUueVhrrUse1lrrkh8uU/mi4g2Vk4oTlTdUpoo3Kt5Q+ULljYo3VKaKE5UTlaliUpkqJpUvVKaKN1SmihOVqeINlaniDZWp4ouHtda65GGttS55WGutS374SOWNiknlRGWqOKmYVE4qfpPKVHGiMlVMKicVb6icqEwVJypvVLxRcVLxRcWkMlWcqEwqU8UbKlPFico/6WGttS55WGutSx7WWuuSHz6qeEPljYo3VKaKSeUNlaniRGWqOFGZKt6oeEPljYo3Kk5UfpPKFxVTxRsVJypvVLxR8YbKTQ9rrXXJw1prXfKw1lqX2B9cpDJVTCq/qWJSOal4Q2WqOFH5omJSOal4Q+W/pOJEZap4Q+WmiknlN1W8oTJVfPGw1lqXPKy11iUPa611if3BX6TyRsWk8kXFTSpTxU0qN1WcqEwVk8obFZPKVDGpTBUnKl9U/E0qJxWTyknFicpJxU0Pa611ycNaa13ysNZal9gffKDyRcWkclJxonJSMalMFZPKVHGiclIxqUwVk8pU8YbKScWJylTxhsobFV+oTBUnKlPFFyq/qWJSOak4UZkqvnhYa61LHtZa65KHtda6xP7gF6mcVEwqU8WkMlWcqPxNFW+oTBW/SWWqmFTeqPhC5aRiUpkqJpWTihOVqWJSmSomlaniROWkYlI5qXhDZar44mGttS55WGutSx7WWuuSH/7lVE5U3qh4Q2WqmFR+k8pUcaIyVdxU8YXKVDGpTCpTxaTyhspJxaQyVUwqU8WJylTxRsWkcqIyVUwVNz2stdYlD2utdcnDWmtdYn/wgcoXFZPKVDGpnFRMKicVk8oXFScqU8UbKicVk8oXFZPKVHGTylQxqXxRMalMFScqU8WkMlWcqHxRMalMFZPKScUXD2utdcnDWmtd8rDWWpf88FHFpHJScVIxqZxUvFFxUjGpTBWTyqQyVfymiknljYpJ5aTiC5WpYqqYVKaKSWWqOFH5ouKkYlL5TSpfVNz0sNZalzystdYlD2utdckPH6lMFZPKicpUMVVMKpPKVPGGylQxVUwqv0nlpOKkYlKZKiaVN1SmikllqpgqTlSmiknlDZUvVKaKLypOVL6oOKmYVKaKLx7WWuuSh7XWuuRhrbUu+eGXVUwqU8WJyhcVk8pUMam8UTGpTConKicVJypvqLyhMlV8ofJFxYnKScUbFScqU8WJyknFpDJVnKicVPymh7XWuuRhrbUueVhrrUt++KhiUnlD5aRiUpkqTlSmijcqJpWTikllqjhROVGZKt5QeaPiRGWqeKNiUjlRmSr+JpUTlaniROUNlaliqjhRmSpuelhrrUse1lrrkoe11rrE/uAilaniDZWTihOVNyomlS8q3lA5qXhDZaqYVKaKE5WTikllqphUvqh4Q+WkYlKZKiaVqeJE5TdVvKFyUvHFw1prXfKw1lqXPKy11iU//MNUpoovKiaVLyomlROVNyomlUnlpOJE5UTlpGJSOamYVE4qJpU3VE4qJpVJZaqYVE5UpoqTiknlpGJS+aJiUrnpYa21LnlYa61LHtZa6xL7g4tUpoo3VL6oeENlqrhJZar4TSpTxRcqU8WJyhcVk8pJxU0qf1PFicpUMam8UfGbHtZa65KHtda65GGttS754SOVqWJSmSomlZOKE5UTlaniDZWpYlI5qZhUpooTlTcqJpUvKiaVqWKqmFSmihOVL1SmiknlpGJSmSpOVKaKE5WpYqqYVKaKL1Smii8e1lrrkoe11rrkYa21LrE/uEjli4pJ5Y2KSWWqmFS+qJhUpoovVKaKv0llqjhRmSomlaniN6lMFZPKScWk8kXFpPJGxaRyUjGpnFR88bDWWpc8rLXWJQ9rrXWJ/cFfpPJGxaQyVbyh8kbFpDJVfKEyVXyhMlWcqHxRMalMFZPKVPGFyt9UMalMFW+o3FRxojJV3PSw1lqXPKy11iUPa611yQ+/TOULlTdUpoqTikllUnlD5QuVk4qTii8qJpWpYlKZKk4qJpWTikllqphUTipOVKaKSeULlaniC5UTlROVqeKLh7XWuuRhrbUueVhrrUt++EhlqjipmFSmijdUpopJZao4qXhD5aRiUvlC5Tep/CaVf5LKb1KZKqaKL1SmikllqphUpoqbHtZa65KHtda65GGttS6xP/hFKjdVnKhMFV+ovFExqXxRMalMFW+oTBVvqEwVk8obFScqb1ScqEwVJypvVLyh8kbFpDJVnKicVHzxsNZalzystdYlD2utdckPH6m8UTGpTBUnKn9TxRsqU8WkMlVMKm+oTBWTylQxqbxRcVJxU8WJyonKVDGpnFRMKicqU8WkclLxX/aw1lqXPKy11iUPa611if3BBypfVJyonFScqLxRMalMFScqJxWTyknFicpUcaLyX1Jxk8pUMal8UXGi8jdVnKhMFV88rLXWJQ9rrXXJw1prXWJ/8B+mMlVMKl9UnKhMFb9J5YuKSWWqeENlqvhNKlPFpHJS8ZtUpopJ5aTiDZUvKm56WGutSx7WWuuSh7XWuuSHj1T+poqp4qRiUnlD5aRiUpkqJpWbKiaVm1SmihOVNyomlZOKk4pJ5URlqvg3UZkq3qiYVCaVqeKLh7XWuuRhrbUueVhrrUt+uKziJpUTlZOKqeJEZap4o2JSOal4Q2VSmSpOVN6o+E0qU8Wk8kXFpDJVTConFScVk8oXFTdV/KaHtda65GGttS55WGutS374ZSpvVPybqEwVX1ScqEwVJxWTylTxhspNFScqk8pUMalMFZPKVDFVnFScqJxUTBUnKpPKFxWTylTxmx7WWuuSh7XWuuRhrbUu+eH/TMWkclLxhspUMalMFScqU8WkcqIyVZxUnKi8UfGGyhcVJxWTyknFTSpTxRsVk8pUMalMKm+oTBVfPKy11iUPa611ycNaa13yw/8ZlTdUpoo3VKaKNypOKiaVqeINlaliqphUpooTlaliqphUpopJ5aRiUpkq3lC5SWWqmComlROVqeLf5GGttS55WGutSx7WWuuSH35ZxW+qeENlqphUTiq+UPlNKlPFVHGicqLyhspU8UbFpDKpnKi8UfGFylQxqZxUTCr/JQ9rrXXJw1prXfKw1lqX/HCZyt+kclJxk8pUcaIyVUwqU8WkcqIyVXxRMalMFScqU8Wk8obKVPFPUnlD5aRiUpkqTlROKiaV3/Sw1lqXPKy11iUPa611if3BWmtd8LDWWpc8rLXWJQ9rrXXJw1prXfKw1lqXPKy11iUPa611ycNaa13ysNZalzystdYlD2utdcnDWmtd8rDWWpc8rLXWJQ9rrXXJ/wAn7OuDxKQ82gAAAABJRU5ErkJggg==\"\n    }\n}"},{"id":"692efc70-8101-4538-be75-85d8a666990a","name":"Duplicate Session ID","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"tmp-session","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":"http://localhost:8000/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":"113c7013-593f-4ec4-82b7-64293e12b892","name":"Response Failed","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"tmp-session","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":"http://localhost:8000/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":"f22cb9c5-ce02-45c0-80ec-532cfeee1e5b"},{"name":"Delete Session","id":"77132d47-3c12-4296-8956-f64c62caeb4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8000/sessions/delete/:id","description":"<p>Delete a session.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["sessions","delete",":id"],"host":["http://localhost:8000"],"query":[],"variable":[{"type":"any","value":"tmp-session","key":"id"}]}},"response":[{"id":"0eaf62c0-5297-4b70-ad5f-c06a1cba8475","name":"Response Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"http://localhost:8000/sessions/delete/:id","host":["http://localhost:8000"],"path":["sessions","delete",":id"],"variable":[{"key":"id","value":"tmp-session","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":"77132d47-3c12-4296-8956-f64c62caeb4b"}],"id":"329f9ace-497d-432d-8d37-48db298ac149","description":"<p>A session refers to an instance of WhatsApp that you can implement for the use of the API, you can manage an unlimited number of sessions</p>\n","_postman_id":"329f9ace-497d-432d-8d37-48db298ac149","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}}},{"name":"Chats","item":[{"name":"Send Message Types","item":[{"name":"Send Message Text","id":"1b89951b-4d8a-4c11-b0cf-8c2dfa1b7a0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"text\": \"hello there!\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/chats/send?id=tmp-session","description":"<p>Send message to someone.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats","send"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"c4f59442-e470-48db-aa9a-cdf72cabf43f","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"text\": \"hello there!\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"a62f294d-c12c-4e51-b671-1ba14b1d0b32","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    \"isGroup\": false,\r\n    \"message\": {\r\n        \"text\": \"hello there!\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"1b89951b-4d8a-4c11-b0cf-8c2dfa1b7a0e"},{"name":"Send Message Image","id":"ca7ca0d4-22e2-4924-966a-e0e3f7acb7f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"image\": {\r\n            \"url\": \"https://raw.githubusercontent.com/pedrazadixon/sample-files/main/sample_image.jpg\"\r\n        },\r\n        \"caption\": \"My logo\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/chats/send?id=tmp-session","description":"<p>Send image to someone important specify the url<br />the caption is not required.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats","send"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"f11f1d5c-1699-4b86-a223-660b6c1c21b1","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"image\": {\r\n            \"url\": \"https://source.unsplash.com/random/200x200\"\r\n        },\r\n        \"caption\": \"My logo\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"d687527d-1417-402f-96ff-cf2316b0d175","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    \"isGroup\": false,\r\n    \"message\": {\r\n        \"image\": {\r\n            \"url\": \"https://source.unsplash.com/random/200x200\"\r\n        },\r\n        \"caption\": \"My logo\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"ca7ca0d4-22e2-4924-966a-e0e3f7acb7f1"},{"name":"Send Message Audio","id":"0eb1e8fa-760d-4b7b-b793-3bd6eeca0b0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"audio\": {\r\n            \"url\": \"https://github.com/pedrazadixon/sample-files/raw/main/sample_mp3.mp3\"\r\n        },\r\n        \"ptt\": true\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/chats/send?id=tmp-session","description":"<p>Send message to someone.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats","send"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"108b5041-202a-4419-bae4-97ef493138f7","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"audio\": {\r\n            \"url\": \"https://raw.githubusercontent.com/adiwajshing/Baileys/master/Media/sonata.mp3\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"ca641ce3-73a9-4c7d-8aa5-3058166c0bbb","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    \"isGroup\": false,\r\n    \"message\": {\r\n        \"audio\": {\r\n            \"url\": \"https://raw.githubusercontent.com/adiwajshing/Baileys/master/Media/sonata.mp3\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"0eb1e8fa-760d-4b7b-b793-3bd6eeca0b0a"},{"name":"Send Message Video","id":"d5a82678-5b42-44a3-a7e4-3e5fb2b4518d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"isBase64\": false,\r\n    \"message\": {\r\n        \"video\": {\r\n            \"url\": \"https://raw.githubusercontent.com/WhiskeySockets/Baileys/master/Media/ma_gif.mp4\"\r\n        },\r\n        \"caption\": \"My viedo\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/chats/send?id=tmp-session","description":"<p>Send video to someone, important to specify the url</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats","send"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"66bc383a-bdd1-43ae-857c-78afaf7c55e4","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"video\": {\r\n            \"url\": \"https://raw.githubusercontent.com/adiwajshing/Baileys/master/Media/ma_gif.mp4\"\r\n        },\r\n        \"caption\": \"hello!\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"e30216e6-3a80-4fcb-abae-21c9b961e0dc","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    \"isGroup\": false,\r\n    \"message\": {\r\n        \"video\": {\r\n            \"url\": \"https://raw.githubusercontent.com/adiwajshing/Baileys/master/Media/ma_gif.mp4\"\r\n        },\r\n        \"caption\": \"hello!\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"d5a82678-5b42-44a3-a7e4-3e5fb2b4518d"},{"name":"Send Message Document","id":"fc08949a-2c48-4ea7-bb2d-e69b94ddd47c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"document\": {\r\n            \"url\": \"https://github.com/pedrazadixon/sample-files/raw/main/sample_pdf.pdf\"\r\n        },\r\n        \"caption\": \"revisa este video\",\r\n        \"mimetype\": \"application/pdf\",\r\n        \"fileName\": \"sample_pdf.pdf\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/chats/send?id=tmp-session","description":"<p>Send document to someone, it is important to specify the url if it is not pdf use the corresponding minetype</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats","send"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"b6791a70-eec3-4a59-bfd6-c73b150a0708","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"document\": {\r\n            \"url\": \"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf\"\r\n        },\r\n        \"caption\": \"hello!\",\r\n        \"mimetype\": \"application/pdf\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"20d68453-dbef-4953-9e74-a205178f93fb","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    \"isGroup\": false,\r\n    \"message\": {\r\n        \"document\": {\r\n            \"url\": \"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf\"\r\n        },\r\n        \"caption\": \"hello!\",\r\n        \"mimetype\": \"application/pdf\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"fc08949a-2c48-4ea7-bb2d-e69b94ddd47c"},{"name":"Send Message Gif","id":"e979b7e8-0641-449d-8266-74d4cda09b63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"video\": {\r\n            \"url\": \"https://github.com/pedrazadixon/sample-files/raw/main/sample_video_mp4.mp4\"\r\n        },\r\n        \"caption\": \"hello!\",\r\n        \"gifPlayback\": true\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/chats/send?id=tmp-session","description":"<p>Send git to someone, it is important to specify the url the caption is not required but it is mandatory to use gifPlayback true</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats","send"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"a76e5eb4-1eb2-469a-9bf2-9490582439d6","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"video\": {\r\n            \"url\": \"https://raw.githubusercontent.com/adiwajshing/Baileys/master/Media/ma_gif.mp4\"\r\n        },\r\n        \"caption\": \"hello!\",\r\n        \"gifPlayback\": true\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"5132d5fd-5723-4f01-8f3f-439c4871f33d","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    \"isGroup\": false,\r\n    \"message\": {\r\n        \"video\": {\r\n            \"url\": \"https://raw.githubusercontent.com/adiwajshing/Baileys/master/Media/ma_gif.mp4\"\r\n        },\r\n        \"caption\": \"hello!\",\r\n        \"gifPlayback\": true\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"e979b7e8-0641-449d-8266-74d4cda09b63"},{"name":"Send Message Sticker","id":"dd5e8975-e116-4a73-b36c-f56e2f5c7f4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"sticker\": {\r\n            \"url\": \"https://raw.githubusercontent.com/WhiskeySockets/Baileys/4fab130d07594afc64da929bd5ef4fcab3354530/Media/octopus.webp\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/chats/send?id=tmp-session","description":"<p>Send a sticker to someone, it is important to specify the url the file must be in .webp format</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats","send"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"c9e2a47d-097a-4e9d-9455-a52fc6305f40","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"sticker\": {\r\n            \"url\": \"https://dayax.net/Media/sticker_mv.webp\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"2b8ff960-b59e-41a5-8009-307b02626820","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    \"isGroup\": false,\r\n    \"message\": {\r\n        \"sticker\": {\r\n            \"url\": \"https://dayax.net/Media/sticker_mv.webp\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"dd5e8975-e116-4a73-b36c-f56e2f5c7f4b"},{"name":"Send Message Contact","id":"32c744f2-ee30-4d1c-b720-0255f3c2fd5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"contacts\": {\r\n            \"displayName\": \"Jeff\",\r\n            \"contacts\": [\r\n                {\r\n                    \"vcard\": \"BEGIN:VCARD\\nVERSION:3.0\\nFN;CHARSET=UTF-8:John Doe\\nN;CHARSET=UTF-8:Doe;John;;;\\nEMAIL;CHARSET=UTF-8;type=HOME,INTERNET:john@doe.com\\nTEL;TYPE=HOME,VOICE:1234567890\\nREV:2021-06-06T02:35:53.559Z\\nEND:VCARD\"\r\n                }\r\n            ]\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/chats/send?id=tmp-session","description":"<p>Send contact to someone, it is important to specify in the provided format more information <a href=\"https://en.wikipedia.org/wiki/VCard\">https://en.wikipedia.org/wiki/VCard</a></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats","send"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"bd5b255f-4f2b-4c3e-af6a-027fca18acdd","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"contacts\": {\r\n            \"displayName\": \"Jeff\",\r\n            \"contacts\": [\r\n                {\r\n                    \"vcard\": \"BEGIN:VCARD\\\\nVERSION:3.0\\\\nFN:Jeff Singh\\\\nORG:Ashoka Uni;\\\\nTEL;type=CELL;type=VOICE;waid=911234567890:+91 12345 67890\\\\nEND:VCARD\"\r\n                }\r\n            ]\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"5e51825c-a8ab-4eef-841b-13080fb420eb","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    \"isGroup\": false,\r\n    \"message\": {\r\n        \"contacts\": {\r\n            \"displayName\": \"Jeff\",\r\n            \"contacts\": [\r\n                {\r\n                    \"vcard\": \"BEGIN:VCARD\\\\nVERSION:3.0\\\\nFN:Jeff Singh\\\\nORG:Ashoka Uni;\\\\nTEL;type=CELL;type=VOICE;waid=911234567890:+91 12345 67890\\\\nEND:VCARD\"\r\n                }\r\n            ]\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"32c744f2-ee30-4d1c-b720-0255f3c2fd5c"},{"name":"Send Message Location","id":"7740e239-266d-489e-8dc9-df73054296ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"location\": {\r\n            \"degreesLatitude\": 24.121231,\r\n            \"degreesLongitude\": 55.1121221\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/chats/send?id=tmp-session","description":"<p>Send location to someone, it is important to specify the points</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats","send"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"58bfe3a3-cf5a-4c41-b881-3f1a5b4437f9","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"location\": {\r\n            \"degreesLatitude\": 24.121231,\r\n            \"degreesLongitude\": 55.1121221\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"7213fe29-b8aa-49e2-88e5-f3c892b92c59","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    \"isGroup\": false,\r\n    \"message\": {\r\n        \"location\": {\r\n            \"degreesLatitude\": 24.121231,\r\n            \"degreesLongitude\": 55.1121221\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"7740e239-266d-489e-8dc9-df73054296ab"},{"name":"Send Message React","id":"55380187-2180-47f1-bc68-6998ae64a0d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"react\": {\r\n            \"text\": \"💖\",\r\n            \"key\": {\r\n                \"remoteJid\": \"120363027219XXXX@g.us\",\r\n                \"fromMe\": false,\r\n                \"id\": \"6F4132748XXXXXX\",\r\n                \"participant\": \"628231xxxxx@s.whatsapp.net\"\r\n            }\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/chats/send?id=tmp-session","description":"<p>Send reaction to someone, it is important to specify the identifier of the message</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats","send"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"281637a0-0819-40f8-93b1-818f00c87111","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"react\": {\r\n            \"text\": \"💖\",\r\n            \"key\": {\r\n                \"remoteJid\": \"120363027219XXXX@g.us\",\r\n                \"fromMe\": false,\r\n                \"id\": \"6F4132748XXXXXX\",\r\n                \"participant\": \"628231xxxxx@s.whatsapp.net\"\r\n            }\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"6508b238-7f8d-4016-8ec7-246bc19f3223","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    \"isGroup\": false,\r\n    \"message\": {\r\n        \"react\": {\r\n            \"text\": \"💖\",\r\n            \"key\": {\r\n                \"remoteJid\": \"120363027219XXXX@g.us\",\r\n                \"fromMe\": false,\r\n                \"id\": \"6F4132748XXXXXX\",\r\n                \"participant\": \"628231xxxxx@s.whatsapp.net\"\r\n            }\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"55380187-2180-47f1-bc68-6998ae64a0d0"},{"name":"Send Message Poll","id":"6d4aaf52-2285-4231-bae4-938ebdb51b3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"poll\": {\r\n            \"name\": \"You accept terms\",\r\n            \"values\": [\r\n                \"Yes\",\r\n                \"Not\"\r\n            ],\r\n            \"selectableCount\": 0\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/chats/send?id=tmp-session","description":"<p>Send polls to someone.<br /><code>name</code>: Name of polls<br /><code>values</code>: arrays with options<br /><code>selectableCount</code>: number of elements selectable</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats","send"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"98177031-d925-4cb8-b9c6-f9f8512d7265","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"poll\": {\r\n            \"name\": \"hello there!\",\r\n            \"values\": [\r\n                \"test123\",\r\n                \"test231\"\r\n            ]\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"ecf666a4-952a-4ed8-9f68-fecd11e53a0d","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    \"isGroup\": false,\r\n    \"message\": {\r\n        \"poll\": {\r\n            \"name\": \"hello there!\",\r\n            \"values\": [\r\n                \"test123\",\r\n                \"test231\"\r\n            ]\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"6d4aaf52-2285-4231-bae4-938ebdb51b3c"}],"id":"428eaae9-ea4c-4193-ab36-2eec25df3340","_postman_id":"428eaae9-ea4c-4193-ab36-2eec25df3340","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}}},{"name":"Get Chat List","id":"23e357e6-ac89-4a60-9635-26f84e93f904","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/chats?id=tmp-session","description":"<p>Get personal chat list.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"e9e07915-7625-45f8-af0c-ba1d90c02af5","name":"Response Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8000/chats?id=tmp-session","host":["http://localhost:8000"],"path":["chats"],"query":[{"key":"id","value":"tmp-session","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":"23e357e6-ac89-4a60-9635-26f84e93f904"},{"name":"Get Conversation","id":"a6d98e47-7e00-4585-8fd4-dd652c6fcd07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/chats/120363027xxxxxx?id=tmp-session&limit=5&isGroup=false","description":"<p>Load conversation with a person in paginated manner.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats","120363027xxxxxx"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"},{"description":{"content":"<p>Limit data length. Default: 25 (Optional).</p>\n","type":"text/plain"},"key":"limit","value":"5"},{"disabled":true,"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"},{"disabled":true,"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"},{"description":{"content":"<p>Default false</p>\n","type":"text/plain"},"key":"isGroup","value":"false"}],"variable":[]}},"response":[{"id":"442d4ac9-d57f-4f00-9b3e-c1f21ec9c369","name":"Response Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8000/chats/:jid?id=tmp-session&limit=25&cursor_id=REDACTED","host":["http://localhost:8000"],"path":["chats",":jid"],"query":[{"key":"id","value":"tmp-session","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":"dbc6503e-c2ac-4e67-9a8f-c4650ac5c88b","name":"Response Failed","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8000/chats/:jid?id=tmp-session&limit=25&cursor_id=REDACTED","host":["http://localhost:8000"],"path":["chats",":jid"],"query":[{"key":"id","value":"tmp-session","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":"a6d98e47-7e00-4585-8fd4-dd652c6fcd07"},{"name":"Forward Message","id":"fca18b69-9c81-4f4e-889d-fb8b1626ee77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"forward\": {\r\n        \"id\": \"3EB07BB4C18F7XXXX\",\r\n        \"remoteJid\": \"12036302721XXXX@g.us\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/chats/forward?id=tmp-session","description":"<p>Forward messages to groups or people it is mandatory to complete the information as it is in the example all fields are required</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats","forward"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"7c7406d4-48b6-477b-8788-dd1219974b10","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"forward\": {\r\n        \"id\": \"3EB07BB4C18F7XXXX\",\r\n        \"remoteJid\": \"12036302721XXXX@g.us\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/forward?id=tmp-session","host":["http://localhost:8000"],"path":["chats","forward"],"query":[{"key":"id","value":"tmp-session","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 forwarded.\",\n    \"data\": {}\n}"},{"id":"7d6a6dd8-c832-4cba-b7be-7a579d69a34a","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    \"isGroup\": false,\r\n    \"forward\": {\r\n        \"id\": \"3EB07BB4C18F7XXXX\",\r\n        \"remoteJid\": \"12036302721XXXX@g.us\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/forward?id=tmp-session","host":["http://localhost:8000"],"path":["chats","forward"],"query":[{"key":"id","value":"tmp-session","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 forward the message.\",\n    \"data\": {}\n}"}],"_postman_id":"fca18b69-9c81-4f4e-889d-fb8b1626ee77"},{"name":"Download Message Media","id":"96d201e8-6b13-43dd-adc5-ed9a03454775","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"remoteJid\": \"57xxxxxx@s.whatsapp.net\",\r\n    \"isGroup\": false,\r\n    \"messageId\": \"3EB0551C33F4857DA513A3\"\r\n}   ","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/chats/download-media?id=tmp-session","description":"<p>Download media using <code>messageId</code> and <code>remoteJid</code></p>\n<p>it is important to specify if it is a group in <code>isGroup</code></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats","download-media"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"256d1bda-a033-4040-9fde-93370a0a8dff","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"forward\": {\r\n        \"id\": \"3EB07BB4C18F7XXXX\",\r\n        \"remoteJid\": \"12036302721XXXX@g.us\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/forward?id=tmp-session","host":["http://localhost:8000"],"path":["chats","forward"],"query":[{"key":"id","value":"tmp-session","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 forwarded.\",\n    \"data\": {}\n}"},{"id":"af7237af-8bcc-40e8-9212-4274de41fad9","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    \"isGroup\": false,\r\n    \"forward\": {\r\n        \"id\": \"3EB07BB4C18F7XXXX\",\r\n        \"remoteJid\": \"12036302721XXXX@g.us\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/forward?id=tmp-session","host":["http://localhost:8000"],"path":["chats","forward"],"query":[{"key":"id","value":"tmp-session","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 forward the message.\",\n    \"data\": {}\n}"}],"_postman_id":"96d201e8-6b13-43dd-adc5-ed9a03454775"},{"name":"Send Message","id":"b2d65495-9252-4dc0-84b5-85b7b7d7126f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"text\": \"hello there!\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/chats/send?id=tmp-session","description":"<p>Send message to someone.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats","send"],"host":["http://localhost:8000"],"query":[{"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"3606c8d6-6ad2-4cb5-8d79-8d93a710e1a7","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":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"405477f1-ed99-491a-85f1-d5d2d07ae408","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":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"b2d65495-9252-4dc0-84b5-85b7b7d7126f"},{"name":"Get Message Poll","id":"fb99e6fd-54a8-41ad-a20b-31581ab9afb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"remoteJid\": \"57300xxxxx4@s.whatsapp.net\",\r\n    \"isGroup\": false,\r\n    \"messageId\": \"BAE5EC706B741D18\"\r\n}   ","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/chats/get-poll?id=tmp-session","description":"<p>Download media using <code>messageId</code> and <code>remoteJid</code></p>\n<p>it is important to specify if it is a group in <code>isGroup</code></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats","get-poll"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"f0b4ce50-e74a-4940-8a4c-abfa3c5f3f2d","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"forward\": {\r\n        \"id\": \"3EB07BB4C18F7XXXX\",\r\n        \"remoteJid\": \"12036302721XXXX@g.us\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/forward?id=tmp-session","host":["http://localhost:8000"],"path":["chats","forward"],"query":[{"key":"id","value":"tmp-session","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 forwarded.\",\n    \"data\": {}\n}"},{"id":"1a09db4d-525c-4e17-a883-33a6be918aec","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    \"isGroup\": false,\r\n    \"forward\": {\r\n        \"id\": \"3EB07BB4C18F7XXXX\",\r\n        \"remoteJid\": \"12036302721XXXX@g.us\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/forward?id=tmp-session","host":["http://localhost:8000"],"path":["chats","forward"],"query":[{"key":"id","value":"tmp-session","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 forward the message.\",\n    \"data\": {}\n}"}],"_postman_id":"fb99e6fd-54a8-41ad-a20b-31581ab9afb1"},{"name":"Delete Message","id":"8b39391a-76be-4bff-9ff2-96efd22634c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"remoteJid\": \"628231xxxxx@s.whatsapp.net\",\r\n        \"fromMe\": true,\r\n        \"id\": \"9A8xxxxxAC0FE60B59F6xxxxxxxxxxx\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/chats/delete?id=tmp-session","description":"<p>Send a message as if it was sent by someone</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats","delete"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"455bf7ff-45f9-4618-955b-770f7283f5f9","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"forward\": {\r\n            \"key\": {\r\n                \"id\": null\r\n            },\r\n            \"message\": {\r\n                \"conversation\": \"hi this message is forwarded\"\r\n            }\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"1a48fc2d-6248-490f-814c-6073e650cb36","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    \"isGroup\": false,\r\n    \"message\": {\r\n        \"forward\": {\r\n            \"key\": {\r\n                \"id\": null\r\n            },\r\n            \"message\": {\r\n                \"conversation\": \"hi this message is forwarded\"\r\n            }\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"8b39391a-76be-4bff-9ff2-96efd22634c2"},{"name":"Archive Message","id":"01ba143c-b931-4a4e-b3ce-1805ffb542dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"remoteJid\": \"628231xxxxx@s.whatsapp.net\",\r\n        \"fromMe\": true,\r\n        \"id\": \"9A8xxxxxAC0FE60B59F6xxxxxxxxxxx\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/chats/archive?id=tmp-session","description":"<p>Send a message as if it was sent by someone</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats","archive"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"f000137f-2083-4bae-9ba6-5c60609c9990","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\",\r\n    \"isGroup\": false,\r\n    \"message\": {\r\n        \"forward\": {\r\n            \"key\": {\r\n                \"id\": null\r\n            },\r\n            \"message\": {\r\n                \"conversation\": \"hi this message is forwarded\"\r\n            }\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"93ee8fdb-c532-4402-a3e3-882c7392b328","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    \"isGroup\": false,\r\n    \"message\": {\r\n        \"forward\": {\r\n            \"key\": {\r\n                \"id\": null\r\n            },\r\n            \"message\": {\r\n                \"conversation\": \"hi this message is forwarded\"\r\n            }\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"01ba143c-b931-4a4e-b3ce-1805ffb542dc"},{"name":"Send Presence Update","id":"5466ac46-4d68-48a6-a71c-f8c80f8cff67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\", \r\n    \"isGroup\": false,\r\n    \"presence\": \"composing\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/chats/send-presence?id=tmp-session","description":"<p>This lets the person/group with id know whether you're online, offline, typing etc.</p>\n<p>Presence can be one of the following:</p>\n<ul>\n<li><code>unavailable</code></li>\n<li><code>available</code></li>\n<li><code>composing</code></li>\n<li><code>recording</code></li>\n<li><code>paused</code></li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats","send-presence"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"52340476-5a99-4310-857c-cb1c189e1c7b","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"628231xxxxx\", \r\n    \"isGroup\": false,\r\n    \"presence\": \"composing\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send-presence?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send-presence"],"query":[{"key":"id","value":"tmp-session","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\": \"Presence has been successfully sent.\",\n    \"data\": {}\n}"},{"id":"6f440a75-737c-4ea7-bebd-c063675f6edc","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    \"isGroup\": false,\r\n    \"presence\": \"composing\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send-presence?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send-presence"],"query":[{"key":"id","value":"tmp-session","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 presence.\",\n    \"data\": {}\n}"}],"_postman_id":"5466ac46-4d68-48a6-a71c-f8c80f8cff67"},{"name":"Read Message","id":"c6274cb1-5ef4-4a33-95ae-f0fae162f268","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"keys\": [\r\n        {\r\n            \"remoteJid\": \"120363027xxxxxx@g.us\",\r\n            \"fromMe\": false,\r\n            \"id\": \"455299CA1Bxxxxxx\",\r\n            \"participant\": \"57300xxxxxx@s.whatsapp.net\"\r\n        },\r\n        {\r\n            \"remoteJid\": \"57300xxxxxx@s.whatsapp.net\",\r\n            \"fromMe\": false,\r\n            \"id\": \"3EB07D48Dxxxxxxxxx\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/chats/read?id=tmp-session","description":"<p>Send message to someone.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats","read"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"b5200a9e-783e-4d79-98cf-1cad33742592","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":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"e8b6d818-248e-4616-8351-c4a2dc8030c4","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":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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":"c6274cb1-5ef4-4a33-95ae-f0fae162f268"},{"name":"Send  Bulk Message","id":"f2fd77e9-9880-4a09-9405-d6c334ac43e1","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\": \"628231xxxxx\",\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":"http://localhost:8000/chats/send-bulk?id=tmp-session","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","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["chats","send-bulk"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"6a727c3c-9fb2-4607-9851-f2a655d7d543","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":"http://localhost:8000/chats/send-bulk?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send-bulk"],"query":[{"key":"id","value":"tmp-session","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":"2d6548fb-ae16-4370-8e81-d7469c214889","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":"http://localhost:8000/chats/send-bulk?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send-bulk"],"query":[{"key":"id","value":"tmp-session","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":"93bce1f8-82ef-4011-b3cf-41bf32f4b8f8","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":"http://localhost:8000/chats/send-bulk?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send-bulk"],"query":[{"key":"id","value":"tmp-session","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":"f2fd77e9-9880-4a09-9405-d6c334ac43e1"}],"id":"ab5f58c3-6d61-4f7c-ae3e-ec8c7ee936dd","description":"<p>Endpoint with message utilities (send, download, delete)</p>\n","_postman_id":"ab5f58c3-6d61-4f7c-ae3e-ec8c7ee936dd","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}}},{"name":"Groups","item":[{"name":"Get Chat List","id":"9b33f97d-be08-4542-a5a9-4a2fc666a8a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/groups?id=tmp-session","description":"<p>Get group chat list.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["groups"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"352f755f-97f1-4fb3-a806-a279700fbc37","name":"Response Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8000/groups?id=tmp-session","host":["http://localhost:8000"],"path":["groups"],"query":[{"key":"id","value":"tmp-session","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":"9b33f97d-be08-4542-a5a9-4a2fc666a8a1"},{"name":"Get Conversation","id":"5aced204-35b1-40cb-b455-5bcf2ce1312b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/groups/:jid?id=tmp-session&limit=2&cursor_fromMe=false","description":"<p>Load conversation in a group in paginated manner.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["groups",":jid"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"},{"description":{"content":"<p>Limit data length. Default: 25 (Optional).</p>\n","type":"text/plain"},"key":"limit","value":"2"},{"disabled":true,"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":"false"}],"variable":[{"description":{"content":"<p>Group jid.</p>\n","type":"text/plain"},"type":"any","value":"120363027219852289@g.us","key":"jid"}]}},"response":[{"id":"1c0af454-1e45-45c6-9b0f-5bd19831f1c2","name":"Response Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8000/groups/:jid?id=tmp-session&limit=25&cursor_id=REDACTED","host":["http://localhost:8000"],"path":["groups",":jid"],"query":[{"key":"id","value":"tmp-session","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":"b9de7507-ff4e-476c-93fa-aac6c96341bd","name":"Response Failed","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8000/groups/:jid?id=tmp-session&limit=25&cursor_id=REDACTED","host":["http://localhost:8000"],"path":["groups",":jid"],"query":[{"key":"id","value":"tmp-session","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":"5aced204-35b1-40cb-b455-5bcf2ce1312b"},{"name":"Get Group Metadata","id":"a1865276-cb60-47e3-972e-f7918c3bd52b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/groups/meta/:jid?id=tmp-session","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["groups","meta",":jid"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[{"description":{"content":"<p>Group jid.</p>\n","type":"text/plain"},"type":"any","value":"120363027219852289@g.us","key":"jid"}]}},"response":[{"id":"bc5b0ac6-dbfc-49ba-80e8-5f54382249da","name":"Response Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8000/groups/meta/:jid?id=tmp-session","host":["http://localhost:8000"],"path":["groups","meta",":jid"],"query":[{"key":"id","value":"tmp-session","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":"a1865276-cb60-47e3-972e-f7918c3bd52b"},{"name":"Create Group","id":"7806ad3f-b7b2-4997-ac10-3c3e145a0def","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"groupName\": \"My Firt Group\", \r\n    \"participants\": [\r\n        \"628231xxxxx\",\r\n        \"628252xxxxx\"\r\n    ]\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/groups/create?id=tmp-session","description":"<p>Allows you to create a group on whatsapp it is necessary that the participants are in your contact list</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["groups","create"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"da625cfe-d9f9-4ebe-98b9-6c3eba63b91d","name":"Response Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"groupName\": \"My Firt Group\", \r\n    \"participants\": [\r\n        \"628231xxxxx\",\r\n        \"628252xxxxx\"\r\n    ]\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/groups/create?id=tmp-session","host":["http://localhost:8000"],"path":["groups","create"],"query":[{"key":"id","value":"tmp-session","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 group has been successfully created.\",\n    \"data\": {\n        \"id\": \"12036302xxxxxxxx@g.us\",\n        \"subject\": \"My Firt Group\",\n        \"subjectOwner\": \"628231xxxxx@s.whatsapp.net\",\n        \"subjectTime\": 1667962920,\n        \"size\": null,\n        \"creation\": 1667962920,\n        \"owner\": \"628231xxxxx@s.whatsapp.net\",\n        \"restrict\": false,\n        \"announce\": false,\n        \"participants\": [\n            {\n                \"id\": \"628231xxxxx@s.whatsapp.net\",\n                \"admin\": \"superadmin\"\n            },\n            {\n                \"id\": \"628252xxxxx@s.whatsapp.net\",\n                \"admin\": null\n            }\n        ]\n    }\n}"},{"id":"8a899d15-4b1e-4269-9efc-df6d9a85856e","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"groupName\": \"My Firt Group\", \r\n    \"participants\": [\r\n        \"628231xxxxx\",\r\n        \"628252xxxxx\"\r\n    ]\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/groups/create?id=tmp-session","host":["http://localhost:8000"],"path":["groups","create"],"query":[{"key":"id","value":"tmp-session","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 create the group.\",\n    \"data\": {}\n}"}],"_postman_id":"7806ad3f-b7b2-4997-ac10-3c3e145a0def"},{"name":"Group Update Participants","id":"6235ca41-5382-4dec-96af-6b528e919d9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"action\": \"promote\", \r\n    \"participants\": [\r\n        \"628231xxxxx\"\r\n    ]\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/groups/participants-update/120363027xxxxxx?id=tmp-session","description":"<p>It allows you to update a group in whatsapp it is necessary that the participants are in your list if you want to add them</p>\n<p>StartFragment</p>\n<p>Replace this parameter <code>action</code> with:</p>\n<ul>\n<li><code>add</code></li>\n<li><code>remove</code></li>\n<li><code>demote</code></li>\n<li><code>promote</code></li>\n</ul>\n<p>EndFragment</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["groups","participants-update","120363027xxxxxx"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"3685803b-b9d4-4974-9a83-945d2bec7c3d","name":"Response Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"action\": \"demote\", \r\n    \"participants\": [\r\n        \"628231xxxxx\"\r\n    ]\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/groups/create?id=tmp-session","host":["http://localhost:8000"],"path":["groups","create"],"query":[{"key":"id","value":"tmp-session","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\": \"Update participants successfully.\",\n    \"data\": {}\n}"},{"id":"d5bb16c4-4b87-4aef-aaf2-2c987d28c406","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"action\": \"demote\", \r\n    \"participants\": [\r\n        \"628231xxxxx\"\r\n    ]\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/groups/create?id=tmp-session","host":["http://localhost:8000"],"path":["groups","create"],"query":[{"key":"id","value":"tmp-session","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 update participants\",\n    \"data\": {}\n}"}],"_postman_id":"6235ca41-5382-4dec-96af-6b528e919d9e"},{"name":"Group Update Subject","id":"2686ca04-885a-49a4-b898-77cc1925a028","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"subject\": \"Subject Hi\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/groups/subject-update/120363027xxxxxx?id=tmp-session","description":"<p>It allows you to update a group in whatsapp it is necessary that the participants are in your list if you want to add them</p>\n<p>StartFragment</p>\n<p>Replace this parameter <code>action</code> with:</p>\n<ul>\n<li><code>add</code></li>\n<li><code>remove</code></li>\n<li><code>demote</code></li>\n<li><code>promote</code></li>\n</ul>\n<p>EndFragment</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["groups","subject-update","120363027xxxxxx"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"c5c8afde-11ae-41bc-a4f1-0737fe363353","name":"Response Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"subject\": \"Subject Hi\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/groups/subject-update/120363027xxxxxx?id=tmp-session","host":["http://localhost:8000"],"path":["groups","subject-update","120363027xxxxxx"],"query":[{"key":"id","value":"tmp-session","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\": \"Update subject successfully.\",\n    \"data\": {}\n}"},{"id":"644387e8-afa9-45c7-be71-c7c67ffe4395","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"subject\": \"Subject Hi\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/groups/subject-update/120363027xxxxxx?id=tmp-session","host":["http://localhost:8000"],"path":["groups","subject-update","120363027xxxxxx"],"query":[{"key":"id","value":"tmp-session","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 update subject.\",\n    \"data\": {}\n}"}],"_postman_id":"2686ca04-885a-49a4-b898-77cc1925a028"},{"name":"Group Update Description","id":"579e26fb-8ca4-453f-8ed1-aed773cf4733","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\": \"Description Hi\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/groups/description-update/120363027xxxxxx?id=tmp-session","description":"<p>It allows you to update a group in whatsapp it is necessary that the participants are in your list if you want to add them</p>\n<p>StartFragment</p>\n<p>Replace this parameter <code>action</code> with:</p>\n<ul>\n<li><code>add</code></li>\n<li><code>remove</code></li>\n<li><code>demote</code></li>\n<li><code>promote</code></li>\n</ul>\n<p>EndFragment</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["groups","description-update","120363027xxxxxx"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"114ce736-b14a-4618-88cd-4b5b615f843a","name":"Response Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"description\": \"Description Hi\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/groups/description-update/120363027xxxxxx?id=tmp-session","host":["http://localhost:8000"],"path":["groups","description-update","120363027xxxxxx"],"query":[{"key":"id","value":"tmp-session","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\": \"Update description successfully.\",\n    \"data\": {}\n}"},{"id":"ad748d9c-fba0-46ec-b56e-3c56db1df55c","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"description\": \"Description Hi\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/groups/description-update/120363027xxxxxx?id=tmp-session","host":["http://localhost:8000"],"path":["groups","description-update","120363027xxxxxx"],"query":[{"key":"id","value":"tmp-session","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 description subject.\",\n    \"data\": {}\n}"}],"_postman_id":"579e26fb-8ca4-453f-8ed1-aed773cf4733"},{"name":"Group Update Settings","id":"f6f72482-d822-45c8-ae25-1877bd9eb465","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"settings\": \"announcement\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/groups/setting-update/120363027xxxxxx?id=tmp-session","description":"<p>It allows you to change group settings</p>\n<p>Replace this parameter <code>settings</code>with:</p>\n<ul>\n<li>only allow admins to send messages: <code>announcement</code></li>\n<li>allow everyone to send messages: <code>not_announcement</code></li>\n<li>allow everyone to modify the group's settings -- like display picture etc: <code>unlocked</code></li>\n<li>only allow admins to modify the group's settings: <code>locked</code></li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["groups","setting-update","120363027xxxxxx"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"721a3c57-9e1f-4fef-8745-01c00ef60376","name":"Response Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"settings\": \"announcement\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/groups/setting-update/120363027xxxxxx?id=tmp-session","host":["http://localhost:8000"],"path":["groups","setting-update","120363027xxxxxx"],"query":[{"key":"id","value":"tmp-session","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\": \"Update description successfully.\",\n    \"data\": {}\n}"},{"id":"21f8b49f-2b20-4366-8121-001d4cf6852c","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"settings\": \"announcement\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/groups/setting-update/120363027xxxxxx?id=tmp-session","host":["http://localhost:8000"],"path":["groups","setting-update","120363027xxxxxx"],"query":[{"key":"id","value":"tmp-session","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 update setting.\",\n    \"data\": {}\n}"}],"_postman_id":"f6f72482-d822-45c8-ae25-1877bd9eb465"},{"name":"Group Get Invite Code","id":"d8a00c64-f7f7-4fe5-8d30-03e1d2713c97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/groups/invite-code/120363027xxxxxx?id=tmp-session","description":"<p>To get the invite code for a group</p>\n<p>Concatenate: <a href=\"https://chat.whatsapp.com/LpwHX9drRx2DlCzmVxCfUm\">https://chat.whatsapp.com/</a><code>xxxxxxxxx</code></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["groups","invite-code","120363027xxxxxx"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"a63da7f3-d34d-4289-a8ff-f4632a58d5c4","name":"Response Success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"http://localhost:8000/groups/accept-invite?id=tmp-session","host":["http://localhost:8000"],"path":["groups","accept-invite"],"query":[{"key":"id","value":"tmp-session","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\": \"Invite code successfully.\",\n    \"data\": \"BRgDNcvwo7XH620BeSVRtp\"\n}"},{"id":"d8e30e6a-1ad9-44a2-89b2-716b67435596","name":"Response Failed","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"http://localhost:8000/groups/accept-invite?id=tmp-session","host":["http://localhost:8000"],"path":["groups","accept-invite"],"query":[{"key":"id","value":"tmp-session","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 invite code.\",\n    \"data\": {}\n}"}],"_postman_id":"d8a00c64-f7f7-4fe5-8d30-03e1d2713c97"},{"name":"Group Join Invite Code","id":"642be89b-4d28-4323-baa7-96cf5512c609","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"invite\": \"LpwHX9drRx2DlCXXXXXXX\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/groups/accept-invite?id=tmp-session","description":"<p>To join the group using the invitation code</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["groups","accept-invite"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"f6321648-79f1-49cf-8943-a5ab4ae225eb","name":"Response Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"invite\": \"LpwHX9drRx2DlCXXXXXXX\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/groups/accept-invite?id=tmp-session","host":["http://localhost:8000"],"path":["groups","accept-invite"],"query":[{"key":"id","value":"tmp-session","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\": \"Accept invite successfully.\",\n    \"data\": \"573145117826-152549XXX@g.us\"\n}"},{"id":"adad8453-94ec-4430-874c-503d4a5c09dc","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"invite\": \"LpwHX9drRx2DlCXXXXXXX\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/groups/accept-invite?id=tmp-session","host":["http://localhost:8000"],"path":["groups","accept-invite"],"query":[{"key":"id","value":"tmp-session","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 accept invite.\",\n    \"data\": {}\n}"}],"_postman_id":"642be89b-4d28-4323-baa7-96cf5512c609"},{"name":"Group Revoke Invite Code","id":"dede3454-eece-4719-9343-a945acdbc762","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:8000/groups/revoke-code/120363027xxxxxx?id=tmp-session","description":"<p>To join the group using the invitation code</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["groups","revoke-code","120363027xxxxxx"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"c3f64ef1-4cb3-4521-abc6-3e1387883524","name":"Response Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"http://localhost:8000/groups/revoke-code/120363027xxxxxx?id=tmp-session","host":["http://localhost:8000"],"path":["groups","revoke-code","120363027xxxxxx"],"query":[{"key":"id","value":"tmp-session","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\": \"Revoke code successfully.\",\n    \"data\": \"new invite code\"\n}"},{"id":"4e1dbfad-d116-4d88-b371-2d18770e4515","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"http://localhost:8000/groups/revoke-code/120363027xxxxxx?id=tmp-session","host":["http://localhost:8000"],"path":["groups","revoke-code","120363027xxxxxx"],"query":[{"key":"id","value":"tmp-session","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 rovoke code.\",\n    \"data\": {}\n}"}],"_postman_id":"dede3454-eece-4719-9343-a945acdbc762"},{"name":"Group Update Picture","id":"1ff98f93-6a56-4a9a-a779-cdbdc781908e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"url\": \"https://source.unsplash.com/random/200x200\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/groups/profile-picture/120363027xxxxxx?id=tmp-session","description":"<p>To change your display picture or a group's</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["groups","profile-picture","120363027xxxxxx"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"744cf933-eaa8-459c-91ea-72cb070fb5ce","name":"Response Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"url\": \"https://source.unsplash.com/random/200x200\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/groups/profile-picture/120363027xxxxxx?id=tmp-session","host":["http://localhost:8000"],"path":["groups","profile-picture","120363027xxxxxx"],"query":[{"key":"id","value":"tmp-session","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\": \"Update profile picture successfully.\",\n    \"data\": {}\n}"},{"id":"66445a3e-9c92-4a7b-aaa3-c8d97f010293","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"url\": \"https://source.unsplash.com/random/200x200\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/groups/profile-picture/120363027xxxxxx?id=tmp-session","host":["http://localhost:8000"],"path":["groups","profile-picture","120363027xxxxxx"],"query":[{"key":"id","value":"tmp-session","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 Update profile picture.\",\n    \"data\": {}\n}"}],"_postman_id":"1ff98f93-6a56-4a9a-a779-cdbdc781908e"},{"name":"Group List Without Participants","id":"21bac716-98c1-47a0-be40-39c90dd9c8e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:8000/groups/get-participants?id=tmp-session","description":"<p>To list of group with participants</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["groups","get-participants"],"host":["http://localhost:8000"],"query":[{"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"03be204e-31a2-4afb-81bc-a58a09b681f2","name":"Response Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"http://localhost:8000/groups/get-participants?id=tmp-session","host":["http://localhost:8000"],"path":["groups","get-participants"],"query":[{"key":"id","value":"tmp-session","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\": \"\",\n    \"data\": {\n        \"12036302930xxxxxx@g.us\": {\n            \"id\": \"12036302930xxxxxx@g.us\",\n            \"subject\": \"My Firt Group\",\n            \"subjectOwner\": \"628950xxxxx@s.whatsapp.net\",\n            \"subjectTime\": 1667962920,\n            \"size\": null,\n            \"creation\": 1667962920,\n            \"owner\": \"628950xxxxx@s.whatsapp.net\",\n            \"restrict\": false,\n            \"announce\": false,\n            \"participants\": [\n                {\n                    \"id\": \"628950xxxxx@s.whatsapp.net\",\n                    \"admin\": \"superadmin\"\n                }\n            ]\n        },\n        \"1203630272198xxxxx@g.us\": {\n            \"id\": \"1203630272198xxxxx@g.us\",\n            \"subject\": \"Subject Hi\",\n            \"subjectOwner\": \"628950xxxxx@s.whatsapp.net\",\n            \"subjectTime\": 1668048329,\n            \"size\": null,\n            \"creation\": 1668046664,\n            \"owner\": \"628950xxxxx@s.whatsapp.net\",\n            \"desc\": {\n                \"type\": \"Buffer\",\n                \"data\": [\n                    68,\n                    101,\n                    115,\n                    99,\n                    114,\n                    105,\n                    112,\n                    116,\n                    105,\n                    111,\n                    110,\n                    32,\n                    72,\n                    105\n                ]\n            },\n            \"descId\": \"BAE593123E0A037F\",\n            \"restrict\": false,\n            \"announce\": true,\n            \"participants\": [\n                {\n                    \"id\": \"628950xxxxx@s.whatsapp.net\",\n                    \"admin\": null\n                },\n                {\n                    \"id\": \"628952xxxxx@s.whatsapp.net\",\n                    \"admin\": \"superadmin\"\n                }\n            ]\n        }\n        \n    }\n}"},{"id":"fd1616fa-4309-4770-941e-33b42e82e508","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"http://localhost:8000/groups/get-participants?id=tmp-session","host":["http://localhost:8000"],"path":["groups","get-participants"],"query":[{"key":"id","value":"tmp-session","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 get group list with participants.\",\n    \"data\": {}\n}"}],"_postman_id":"21bac716-98c1-47a0-be40-39c90dd9c8e1"}],"id":"01b73e30-75be-4fc8-a1fe-5f0f0683164b","_postman_id":"01b73e30-75be-4fc8-a1fe-5f0f0683164b","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}}},{"name":"Misc","item":[{"name":"Create Story","item":[{"name":"Create Text Story","id":"983e97f9-df95-4846-a91c-5cb64cb4886f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"all_contacts\",\r\n    \"message\": {\r\n        \"text\": \"hello there!\"\r\n    },\r\n    \"options\": {\r\n        \"backgroundColor\": \"#103529\",\r\n        \"font\": 12\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/misc/public-story-status?id=tmp-session","description":"<p><strong>Create Text Story</strong></p>\n<p><strong>Parameter:</strong> <code>receiver</code> — <em>string</em> or <em>array</em></p>\n<p>Use the <code>receiver</code> field to specify the contact(s) who will receive the story. Depending on your use case, follow the format below:</p>\n<ul>\n<li><p><strong>To send to all contacts:</strong> \"receiver\": \"all_contacts\"</p>\n</li>\n<li><p><strong>To send to a specific contact: use</strong> \"receiver\": \"628231xxxxx\" or \"receiver\": [\"628231xxxxx\"]</p>\n</li>\n<li><p><strong>To send to multiple contacts:</strong> \"receiver\": [\"628231xxxxx\", \"628231xxxxx\", \"628231xxxxx\"]</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["misc","public-story-status"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"e0c7591f-e26f-49ae-bcd9-a4de7009be8f","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"all_contacts\",\r\n    \"message\": {\r\n        \"text\": \"hello there!\"\r\n    },\r\n    \"options\": {\r\n        \"backgroundColor\": \"#103529\",\r\n        \"font\": 12\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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 story status has been successfully sent.\",\n    \"data\": {}\n}"},{"id":"fe3c9966-5108-4c1e-a783-2432a28ad845","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"all_contacts\",\r\n    \"message\": {\r\n        \"text\": \"hello there!\"\r\n    },\r\n    \"options\": {\r\n        \"backgroundColor\": \"#103529\",\r\n        \"font\": 12\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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\": true,\n    \"message\": \"Failed to send The story status\",\n    \"data\": {}\n}"}],"_postman_id":"983e97f9-df95-4846-a91c-5cb64cb4886f"},{"name":"Create Message Image Story","id":"5a8ce72d-4245-424c-94fe-3081b911018d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"all_contacts\",\r\n    \"message\": {\r\n        \"image\": {\r\n            \"url\": \"https://raw.githubusercontent.com/pedrazadixon/sample-files/main/sample_image.jpg\"\r\n        },\r\n        \"caption\": \"My logo\"\r\n    },\r\n    \"options\": {\r\n        \"backgroundColor\": \"#103529\",\r\n        \"font\": 12\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/misc/public-story-status?id=tmp-session","description":"<p><strong>Create Image Story</strong></p>\n<p><strong>Parameter:</strong> <code>receiver</code> — <em>string</em> or <em>array</em></p>\n<p>Use the <code>receiver</code> field to specify the contact(s) who will receive the story. Depending on your use case, follow the format below:</p>\n<ul>\n<li><p><strong>To send to all contacts:</strong> \"receiver\": \"all_contacts\"</p>\n</li>\n<li><p><strong>To send to a specific contact: use</strong> \"receiver\": \"628231xxxxx\" or \"receiver\": [\"628231xxxxx\"]</p>\n</li>\n<li><p><strong>To send to multiple contacts:</strong> \"receiver\": [\"628231xxxxx\", \"628231xxxxx\", \"628231xxxxx\"]</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["misc","public-story-status"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"20bb1bb2-f442-4499-a788-9c43b0ade9e9","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"all_contacts\",\r\n    \"message\": {\r\n        \"image\": {\r\n            \"url\": \"https://raw.githubusercontent.com/pedrazadixon/sample-files/main/sample_image.jpg\"\r\n        },\r\n        \"caption\": \"My logo\"\r\n    },\r\n    \"options\": {\r\n        \"backgroundColor\": \"#103529\",\r\n        \"font\": 12\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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 story status has been successfully sent.\",\n    \"data\": {}\n}"},{"id":"3228d16a-f179-4c39-90ba-fae62ccd1875","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"all_contacts\",\r\n    \"message\": {\r\n        \"image\": {\r\n            \"url\": \"https://raw.githubusercontent.com/pedrazadixon/sample-files/main/sample_image.jpg\"\r\n        },\r\n        \"caption\": \"My logo\"\r\n    },\r\n    \"options\": {\r\n        \"backgroundColor\": \"#103529\",\r\n        \"font\": 12\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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\": true,\n    \"message\": \"Failed to send The story status\",\n    \"data\": {}\n}"}],"_postman_id":"5a8ce72d-4245-424c-94fe-3081b911018d"},{"name":"Create Message Video Story","id":"e4107c19-53eb-4387-b350-3794166d167f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"all_contacts\",\r\n    \"message\": {\r\n        \"video\": {\r\n            \"url\": \"https://raw.githubusercontent.com/WhiskeySockets/Baileys/master/Media/ma_gif.mp4\"\r\n        },\r\n        \"caption\": \"My viedo\"\r\n    },\r\n    \"options\": {\r\n        \"backgroundColor\": \"#103529\",\r\n        \"font\": 12\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/misc/public-story-status?id=tmp-session","description":"<p><strong>Create Video Story</strong></p>\n<p><strong>Parameter:</strong> <code>receiver</code> — <em>string</em> or <em>array</em></p>\n<p>Use the <code>receiver</code> field to specify the contact(s) who will receive the story. Depending on your use case, follow the format below:</p>\n<ul>\n<li><p><strong>To send to all contacts:</strong> \"receiver\": \"all_contacts\"</p>\n</li>\n<li><p><strong>To send to a specific contact: use</strong> \"receiver\": \"628231xxxxx\" or \"receiver\": [\"628231xxxxx\"]</p>\n</li>\n<li><p><strong>To send to multiple contacts:</strong> \"receiver\": [\"628231xxxxx\", \"628231xxxxx\", \"628231xxxxx\"]</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["misc","public-story-status"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"b77c993f-f4dc-4f93-8d1c-990cdece3861","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"all_contacts\",\r\n    \"message\": {\r\n        \"video\": {\r\n            \"url\": \"https://raw.githubusercontent.com/WhiskeySockets/Baileys/master/Media/ma_gif.mp4\"\r\n        },\r\n        \"caption\": \"My viedo\"\r\n    },\r\n    \"options\": {\r\n        \"backgroundColor\": \"#103529\",\r\n        \"font\": 12\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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 story status has been successfully sent.\",\n    \"data\": {}\n}"},{"id":"04890c4d-caee-4bf3-8c0b-f0ae5d41b3b5","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"all_contacts\",\r\n    \"message\": {\r\n        \"video\": {\r\n            \"url\": \"https://raw.githubusercontent.com/WhiskeySockets/Baileys/master/Media/ma_gif.mp4\"\r\n        },\r\n        \"caption\": \"My viedo\"\r\n    },\r\n    \"options\": {\r\n        \"backgroundColor\": \"#103529\",\r\n        \"font\": 12\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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\": true,\n    \"message\": \"Failed to send The story status\",\n    \"data\": {}\n}"}],"_postman_id":"e4107c19-53eb-4387-b350-3794166d167f"},{"name":"Create Message Audio Story","id":"c27af540-3a73-42cf-9e7f-322a455174f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"all_contacts\",\r\n    \"message\": {\r\n        \"audio\": {\r\n            \"url\": \"https://github.com/pedrazadixon/sample-files/raw/main/sample_mp3.mp3\"\r\n        }\r\n    },    \r\n    \"options\": {\r\n        \"backgroundColor\": \"#103529\",\r\n        \"font\": 10\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/misc/public-story-status?id=tmp-session","description":"<p><strong>Create Audio Story</strong></p>\n<p><strong>Parameter:</strong> <code>receiver</code> — <em>string</em> or <em>array</em></p>\n<p>Use the <code>receiver</code> field to specify the contact(s) who will receive the story. Depending on your use case, follow the format below:</p>\n<ul>\n<li><p><strong>To send to all contacts:</strong> \"receiver\": \"all_contacts\"</p>\n</li>\n<li><p><strong>To send to a specific contact: use</strong> \"receiver\": \"628231xxxxx\" or \"receiver\": [\"628231xxxxx\"]</p>\n</li>\n<li><p><strong>To send to multiple contacts:</strong> \"receiver\": [\"628231xxxxx\", \"628231xxxxx\", \"628231xxxxx\"]</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["misc","public-story-status"],"host":["http://localhost:8000"],"query":[{"description":{"content":"<p>Your created session id.</p>\n","type":"text/plain"},"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"4ab640f5-aa04-4704-9abb-d88a0db96991","name":"Response Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"all_contacts\",\r\n    \"message\": {\r\n        \"audio\": {\r\n            \"url\": \"https://github.com/pedrazadixon/sample-files/raw/main/sample_mp3.mp3\"\r\n        }\r\n    },    \r\n    \"options\": {\r\n        \"backgroundColor\": \"#103529\",\r\n        \"font\": 10\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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 story status has been successfully sent.\",\n    \"data\": {}\n}"},{"id":"405344c9-c038-4b29-9ea3-c97039e1f5ff","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"receiver\": \"all_contacts\",\r\n    \"message\": {\r\n        \"audio\": {\r\n            \"url\": \"https://github.com/pedrazadixon/sample-files/raw/main/sample_mp3.mp3\"\r\n        }\r\n    },    \r\n    \"options\": {\r\n        \"backgroundColor\": \"#103529\",\r\n        \"font\": 10\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/chats/send?id=tmp-session","host":["http://localhost:8000"],"path":["chats","send"],"query":[{"key":"id","value":"tmp-session","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\": true,\n    \"message\": \"Failed to send The story status\",\n    \"data\": {}\n}"}],"_postman_id":"c27af540-3a73-42cf-9e7f-322a455174f2"}],"id":"c2a0d3a8-1b4e-4201-975f-b002c16139b8","_postman_id":"c2a0d3a8-1b4e-4201-975f-b002c16139b8","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}}},{"name":"Update Profile Status","id":"7b250dff-9d95-47c0-9659-96d9e25045ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"status","value":"My Status","description":"<p>status you want to set</p>\n","type":"text"}]},"url":"http://localhost:8000/misc/update-profile-status?id=tmp-session","description":"<p>Update Whatsapp profile status.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["misc","update-profile-status"],"host":["http://localhost:8000"],"query":[{"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"dbac2a38-c440-4754-9e08-897b643a05ef","name":"Response Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"status","value":"Hi","type":"text"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/misc/update-profile-status?id=tmp-session","host":["http://localhost:8000"],"path":["misc","update-profile-status"],"query":[{"key":"id","value":"tmp-session"}]}},"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 status has been updated successfully\",\n    \"data\": {}\n}"},{"id":"a6f3dfc1-94e7-42cc-80f8-a353845af600","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"status","value":"Hi","type":"text"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/misc/update-profile-status?id=tmp-session","host":["http://localhost:8000"],"path":["misc","update-profile-status"],"query":[{"key":"id","value":"tmp-session"}]}},"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 update status\",\n    \"data\": {}\n}"}],"_postman_id":"7b250dff-9d95-47c0-9659-96d9e25045ea"},{"name":"Update Profile Image","id":"c93efb6e-9516-4374-b7f0-14ff3c9bdecc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"url\": \"https://source.unsplash.com/random/200x200\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/misc/set-profile-picture?id=tmp-session","description":"<p>Update Whatsapp profile image.<br />Note:<br />Use url public to imagen to update</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["misc","set-profile-picture"],"host":["http://localhost:8000"],"query":[{"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"52c3b94c-0538-4ac7-8797-70ae820cf589","name":"Response Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"url\": \"https://source.unsplash.com/random/200x200\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/misc/set-profile-picture?id=tmp-session","host":["http://localhost:8000"],"path":["misc","set-profile-picture"],"query":[{"key":"id","value":"tmp-session"}]}},"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\": \"Update profile picture successfully.\",\n    \"data\": {}\n}"},{"id":"6ed56d56-8a0b-47fa-aef7-153aac16717c","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"url\": \"https://source.unsplash.com/random/200x200\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/misc/set-profile-picture?id=tmp-session","host":["http://localhost:8000"],"path":["misc","set-profile-picture"],"query":[{"key":"id","value":"tmp-session"}]}},"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 Update profile picture.\",\n    \"data\": {}\n}"}],"_postman_id":"c93efb6e-9516-4374-b7f0-14ff3c9bdecc"},{"name":"Update Profile Name","id":"29acc478-aad5-48b9-bf70-9d7d40846a21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Boxi","type":"text","description":"<p>name you want to set</p>\n"}]},"url":"http://localhost:8000/misc/update-profile-name?id=tmp-session","description":"<p>Update Whatsapp profile name.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["misc","update-profile-name"],"host":["http://localhost:8000"],"query":[{"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"f21a3966-6bea-42ea-9765-95274ce7ac0d","name":"Response Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"status","value":"Hi","type":"text"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/misc/update-profile-status?id=tmp-session","host":["http://localhost:8000"],"path":["misc","update-profile-status"],"query":[{"key":"id","value":"tmp-session"}]}},"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 status has been updated successfully\",\n    \"data\": {}\n}"},{"id":"45b04fd6-3ca2-4ae0-97de-0e009d6ba21a","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"status","value":"Hi","type":"text"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/misc/update-profile-status?id=tmp-session","host":["http://localhost:8000"],"path":["misc","update-profile-status"],"query":[{"key":"id","value":"tmp-session"}]}},"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 update status\",\n    \"data\": {}\n}"}],"_postman_id":"29acc478-aad5-48b9-bf70-9d7d40846a21"},{"name":"Get Profile","id":"aaded3fc-a580-4545-8fd4-c047a6bd304b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Boxi","type":"text","description":"<p>name you want to set</p>\n"}]},"url":"http://localhost:8000/misc/my-profile?id=tmp-session","description":"<p>Update Whatsapp profile name.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["misc","my-profile"],"host":["http://localhost:8000"],"query":[{"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"38bc1f5b-f2c8-42de-a0cc-a5ae28aa10f8","name":"Response Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"status","value":"Hi","type":"text"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/misc/update-profile-status?id=tmp-session","host":["http://localhost:8000"],"path":["misc","update-profile-status"],"query":[{"key":"id","value":"tmp-session"}]}},"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 status has been updated successfully\",\n    \"data\": {}\n}"},{"id":"84443193-1943-46ff-8463-f6d272b0ca81","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"status","value":"Hi","type":"text"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/misc/update-profile-status?id=tmp-session","host":["http://localhost:8000"],"path":["misc","update-profile-status"],"query":[{"key":"id","value":"tmp-session"}]}},"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 update status\",\n    \"data\": {}\n}"}],"_postman_id":"aaded3fc-a580-4545-8fd4-c047a6bd304b"},{"name":"Get Profile Image User","id":"b634fe02-c0ee-4bbe-8e22-5f1c5f5ba9f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"jid\": \"57300278xxx\",\r\n    \"isGroup\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/misc/profile-picture?id=tmp-session","description":"<p>Get image profile to group and user using jid</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["misc","profile-picture"],"host":["http://localhost:8000"],"query":[{"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"e8bcd755-78d4-442b-8944-430e357e0de7","name":"Response Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"jid\": \"57300278xxx\",\r\n    \"isGroup\": false\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/misc//profile-picture?id=tmp-session","host":["http://localhost:8000"],"path":["misc","","profile-picture"],"query":[{"key":"id","value":"tmp-session"}]}},"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 image has been obtained successfully.\",\n    \"data\": \"https://pps.whatsapp.net/v/t61.24694-24/414641733_xxxxxx343_xxxxx_n.jpg?ccb=11-4&oh=01_AdT3FF6zdCFxxxxxxxQ&oe=xxx9&_nc_sid=xxc&_nc_cat=101\"\n}"},{"id":"031d75cf-ccb4-48a4-a0f8-c38fd1366ff8","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"jid\": \"57300278xxx\",\r\n    \"isGroup\": false\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/misc//profile-picture?id=tmp-session","host":["http://localhost:8000"],"path":["misc","","profile-picture"],"query":[{"key":"id","value":"tmp-session"}]}},"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\": \"the user or group not have image\",\n    \"data\": {}\n}"}],"_postman_id":"b634fe02-c0ee-4bbe-8e22-5f1c5f5ba9f5"},{"name":"Block And Unblock User","id":"47ddd64b-8884-421b-af24-2aecc3df2bd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"jid\": \"57300278xxx\",\r\n    \"isBlock\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/misc/block-and-unblock?id=tmp-session","description":"<p>Block user using jib is posible Block user and Unblock user</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}},"urlObject":{"path":["misc","block-and-unblock"],"host":["http://localhost:8000"],"query":[{"key":"id","value":"tmp-session"}],"variable":[]}},"response":[{"id":"75526337-1f09-45a6-bd93-e96ea38fccb2","name":"Response Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"jid\": \"57300278xxx\",\r\n    \"isBlock\": false\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/misc/block-and-unblock?id=tmp-session","host":["http://localhost:8000"],"path":["misc","block-and-unblock"],"query":[{"key":"id","value":"tmp-session"}]}},"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 contact has been blocked or unblocked successfully\",\n    \"data\": {}\n}"},{"id":"38fad38d-65b1-4b49-803e-18298efb0e33","name":"Response Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"jid\": \"57300278xxx\",\r\n    \"isBlock\": false\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/misc/block-and-unblock?id=tmp-session","host":["http://localhost:8000"],"path":["misc","block-and-unblock"],"query":[{"key":"id","value":"tmp-session"}]}},"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 block or unblock contact\",\n    \"data\": {}\n}"}],"_postman_id":"47ddd64b-8884-421b-af24-2aecc3df2bd1"}],"id":"ffa99ef3-72ab-4ce8-8963-172faded66c1","_postman_id":"ffa99ef3-72ab-4ce8-8963-172faded66c1","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]},"isInherited":true,"source":{"_postman_id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","id":"92b6ff15-d51c-472c-bbc0-81f7db72c0b8","name":"Baileys API v0.4","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]}},"event":[{"listen":"prerequest","script":{"id":"b3624e0f-16db-430d-9f45-434025ab5907","type":"text/javascript","requests":{},"exec":[""]}},{"listen":"test","script":{"id":"de2416a4-67bd-4f23-9106-d016fddfda53","type":"text/javascript","requests":{},"exec":[""]}}],"variable":[{"key":"session","value":"tmp-session"},{"key":"base_url","value":"http://localhost:8000"},{"key":"jid","value":"120363027xxxxxx"},{"key":"receiver","value":"628231xxxxx"},{"key":"isGroup","value":"false"},{"key":"apikey","value":"A4gx18YGxKAvR01ClcHpcR7TjZUNtwvE"}]}