{"info":{"_postman_id":"d3e41336-c0c4-427c-bb8c-b2d87b541b72","name":"WA Toolbox Incoming Webhooks (REST API)","description":"<html><head></head><body><p>Please refer to this post for more details: <a href=\"https://watoolbox.com/help/webhooks\">https://watoolbox.com/help/webhooks</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"4265029","collectionId":"d3e41336-c0c4-427c-bb8c-b2d87b541b72","publishedId":"2s7ZE8mhPk","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"2D9E64"},"publishDate":"2022-09-22T16:05:03.000Z"},"item":[{"name":"Sending Text Messages","id":"df96ff49-3794-403c-bf79-862a33885ddb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"action\": \"send-message\",\n    \"type\": \"text\",\n    \"content\": \"Hello, WhatsApp!\",\n    \"phone\": \"905366365288\"\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-toolbox.web.app/webhooks/XYZ","description":"<p>Below is the body of the request. Make sure you insert phone numbers without any leading zeros or plus sign, and in international format.</p>\n<p>To send messages to groups, make sure to put the Group ID in the “phone” parameter field. Group IDs can be found in the Excel file that you can download from the Export tab in WA Toolbox, an example of a Group ID would be like “<a href=\"mailto:120363020166629872@g.us\">120363020166629872@g.us</a>”.</p>\n","urlObject":{"host":["https://wa-toolbox.web.app/webhooks/XYZ"],"query":[],"variable":[]}},"response":[],"_postman_id":"df96ff49-3794-403c-bf79-862a33885ddb"},{"name":"Sending Media Messages","id":"935c69fc-6eea-4085-ada9-de839176d667","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"action\": \"send-message\",\n    \"type\": \"media\",\n    \"content\": \"Hello, WhatsApp!\",\n    \"phone\": \"905366365288\",\n    \"attachments\": [\"https://example.com/image.jpg\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-toolbox.web.app/webhooks/XYZ","description":"<p>To send media messages, such as image and video messages, make sure you pass an array of direct links to your files in the “attachments” parameter.</p>\n","urlObject":{"host":["https://wa-toolbox.web.app/webhooks/XYZ"],"query":[],"variable":[]}},"response":[],"_postman_id":"935c69fc-6eea-4085-ada9-de839176d667"},{"name":"Sending Message Templates","id":"f53b1b45-57ac-4e43-8d49-cf37abfbf40b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"action\": \"send-template\",\n    \"template\": \"welcome message\",\n    \"phone\": \"905366365288\"\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-toolbox.web.app/webhooks/XYZ","description":"<p>To send an already prepared message template, simply send the template name as you saved it in WA Toolbox, template names here are case insensitive.</p>\n","urlObject":{"host":["https://wa-toolbox.web.app/webhooks/XYZ"],"query":[],"variable":[]}},"response":[],"_postman_id":"f53b1b45-57ac-4e43-8d49-cf37abfbf40b"},{"name":"Labeling Chats","id":"87e8f9cf-4ccd-4828-8390-798bb7f978e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"action\": \"label-chat\",\n    \"label\": \"interested customer\",\n    \"phone\": \"905366365288\"\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-toolbox.web.app/webhooks/XYZ","description":"<p>Labels are specific tags that you put in chats to easily filter and identify them, this feature is only available in WhatsApp Business. To label or unlabel a chat, simply send the label name as it is saved in your WhatsApp Business account, labels names here are case insensitive.</p>\n<p>Please note that this action only works with existing chats.</p>\n","urlObject":{"host":["https://wa-toolbox.web.app/webhooks/XYZ"],"query":[],"variable":[]}},"response":[],"_postman_id":"87e8f9cf-4ccd-4828-8390-798bb7f978e4"},{"name":"Unlabeling Chats","id":"10fb3fc8-a12b-435b-9a8e-dcd6d9e63e4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"action\": \"unlabel-chat\",\n    \"label\": \"interested customer\",\n    \"phone\": \"905366365288\"\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-toolbox.web.app/webhooks/XYZ","urlObject":{"host":["https://wa-toolbox.web.app/webhooks/XYZ"],"query":[],"variable":[]}},"response":[],"_postman_id":"10fb3fc8-a12b-435b-9a8e-dcd6d9e63e4c"},{"name":"Archiving Chats","id":"699d6378-3348-4efe-9747-aa3286be5b9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"action\": \"archive-chat\",\n    \"phone\": \"905366365288\"\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-toolbox.web.app/webhooks/XYZ","description":"<p>Sending chats to the archive folder.</p>\n","urlObject":{"host":["https://wa-toolbox.web.app/webhooks/XYZ"],"query":[],"variable":[]}},"response":[],"_postman_id":"699d6378-3348-4efe-9747-aa3286be5b9c"},{"name":"Blocking Chats","id":"baabd7ed-fdae-4e2b-ae93-c2b7de7b1728","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"action\": \"block-chat\",\n    \"phone\": \"905366365288\"\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-toolbox.web.app/webhooks/XYZ","description":"<p>Blocking chats prevents users from sending you more messages.</p>\n","urlObject":{"host":["https://wa-toolbox.web.app/webhooks/XYZ"],"query":[],"variable":[]}},"response":[],"_postman_id":"baabd7ed-fdae-4e2b-ae93-c2b7de7b1728"},{"name":"Run Broadcast","id":"3df5a78c-45be-4f25-95f3-772280aa72fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"action\": \"run-broadcast\",\n    \"broadcast\": \"Sunday Scheduled Campaign\"\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-toolbox.web.app/webhooks/XYZ","description":"<p>Blocking chats prevents users from sending you more messages.</p>\n","urlObject":{"host":["https://wa-toolbox.web.app/webhooks/XYZ"],"query":[],"variable":[]}},"response":[],"_postman_id":"3df5a78c-45be-4f25-95f3-772280aa72fc"},{"name":"Run Workflow","id":"05c5139e-9368-4462-b589-8b26f02dbd9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"action\": \"run-workflow\",\n    \"workflow\": \"Refund Workflow\",\n    \"phone\": \"905366365288\"\n}","options":{"raw":{"language":"json"}}},"url":"https://wa-toolbox.web.app/webhooks/XYZ","description":"<p>Blocking chats prevents users from sending you more messages.</p>\n","urlObject":{"host":["https://wa-toolbox.web.app/webhooks/XYZ"],"query":[],"variable":[]}},"response":[],"_postman_id":"05c5139e-9368-4462-b589-8b26f02dbd9a"}],"event":[{"listen":"prerequest","script":{"id":"f795bd4e-d76a-40b5-ac65-eabee62e999c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"92ee759b-89ea-4ce5-9367-f27a75a099d0","type":"text/javascript","exec":[""]}}],"variable":[{"key":"Webhook URL","value":"https://wa-toolbox.web.app/webhooks/XYZ","type":"string"}]}