{"info":{"_postman_id":"d2aa82ea-cbe0-4732-8ead-b94b888894e6","name":"Blueticks API","description":"<html><head></head><body><p>Send messages using your personal WhatsApp account</p>\n<p>Download the extension:<br><a href=\"https://blueticks.co/\">https://blueticks.co/</a></p>\n<p><code>endpoint = 'https://api.blueticks.co'</code></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"800229","collectionId":"d2aa82ea-cbe0-4732-8ead-b94b888894e6","publishedId":"TVsrG9VS","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"546FFF"},"publishDate":"2021-01-30T14:33:56.000Z"},"item":[{"name":"Send / Schedule a Message","id":"d90d5705-0716-40a4-83ad-bf66c42fdb49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"to\": \"+1800555555\",\n    \"message\": \"This is a scheduled test message\",\n    \"apiKey\": \"yYBiIMwqvUWBWWzxEyvPzIuIGrGcHgJG\",\n    \"dueDate\": \"2024-01-01T00:00:00.000Z\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.blueticks.co/messages","description":"<h1 id=\"whatsapp-messaging-api-documentation\">WhatsApp Messaging API Documentation</h1>\n<h2 id=\"overview\">Overview</h2>\n<p>This API enables users to send messages through WhatsApp from their personal account. With features like message scheduling and attachment support, it provides flexibility for automated messaging campaigns. The Campaigner package offers enhanced capabilities, including sending messages without the need to keep WhatsApp Web open.</p>\n<h2 id=\"features\">Features</h2>\n<ul>\n<li><strong>Direct Messaging</strong>: Send messages using your personal WhatsApp account. WhatsApp Web must be actively open.</li>\n<li><strong>Campaigner Package</strong>: Subscribers can send messages without keeping WhatsApp Web open.</li>\n<li><strong>Message Scheduling</strong>: Schedule messages to be sent at a later time by specifying a <code>dueDate</code> in UTC.</li>\n<li><strong>Attachments</strong>: Add an attachment to your message by including an <code>asset</code> object with a public URL and MIME type.</li>\n<li><strong>Asynchronous Requests</strong>: Message requests are processed asynchronously.</li>\n<li><strong>Delivery Notifications</strong>: Receive a notification on the specified <code>callbackUrl</code> regarding the success or failure of the message delivery.</li>\n</ul>\n<hr />\n<h1 id=\"whatsapp-messaging-api-documentation-1\">WhatsApp Messaging API Documentation</h1>\n<h2 id=\"overview-1\">Overview</h2>\n<p>This API enables users to send messages through WhatsApp from their personal account. With features like message scheduling and attachment support, it provides flexibility for automated messaging campaigns. The Campaigner package offers enhanced capabilities, including sending messages without the need to keep WhatsApp Web open.</p>\n<h2 id=\"features-1\">Features</h2>\n<ul>\n<li><strong>Direct Messaging</strong>: Send messages using your personal WhatsApp account. WhatsApp Web must be actively open.</li>\n<li><strong>Campaigner Package</strong>: Subscribers can send messages without keeping WhatsApp Web open.</li>\n<li><strong>Message Scheduling</strong>: Schedule messages to be sent at a later time by specifying a <code>dueDate</code> in UTC.</li>\n<li><strong>Attachments</strong>: Add an attachment to your message by including an <code>asset</code> object with a public URL and MIME type.</li>\n<li><strong>Asynchronous Requests</strong>: Message requests are processed asynchronously.</li>\n<li><strong>Delivery Notifications</strong>: Receive a notification on the specified <code>callbackUrl</code> regarding the success or failure of the message delivery.</li>\n</ul>\n<h2 id=\"usage\">Usage</h2>\n<h3 id=\"sending-a-message\">Sending a Message</h3>\n<ol>\n<li><strong>Standard Message</strong>: Ensure WhatsApp Web is open. Format your request with the recipient's details and your message content.</li>\n<li><strong>With Campaigner Package</strong>: If you've purchased the Campaigner package, you can send messages without keeping WhatsApp Web open.</li>\n</ol>\n<h3 id=\"scheduling-a-message\">Scheduling a Message</h3>\n<p>Specify the <code>dueDate</code> in your request in UTC format to schedule your message.</p>\n<h3 id=\"adding-an-attachment\">Adding an Attachment</h3>\n<p>Include an <code>asset</code> object in your request with the following fields:</p>\n<ul>\n<li><code>url</code>: The public URL of the asset.</li>\n<li><code>type</code>: The MIME type of the asset. Refer to <a href=\"https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types\">List of MIME Types</a> for valid values.</li>\n</ul>\n<h3 id=\"callback-notification\">Callback Notification</h3>\n<p>To receive notifications about the message delivery status, provide a <code>callbackUrl</code> in your request.</p>\n","urlObject":{"path":["messages"],"host":["https://api.blueticks.co"],"query":[],"variable":[]}},"response":[{"id":"8e8fc46a-94dd-4e01-b3ab-f366ed84b20a","name":"Send a simple text message","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"to\": \"+1800555555\",\n    \"message\": \"This is a test message\",\n    \"apiKey\": \"yYBiIMwqvUWBWWzxEyvPzIuIGrGcHgJG\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.blueticks.co/messages"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Message queued successfuly\",\n    \"callbackUrl\": \"Not supplied\"\n}"},{"id":"ec9216b4-328d-4abe-a983-3ea69bd6a9ec","name":"Send message with an attachment","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"to\": \"+1800555555\",\n    \"message\": \"This is a test message with an image\",\n    \"apiKey\": \"yYBiIMwqvUWBWWzxEyvPzIuIGrGcHgJG\",\n    \"asset\": {\n        \"url\": \"https://picsum.photos/200/300\",\n        \"type\": \"image/jpeg\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.blueticks.co/messages"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Message queued successfuly\",\n    \"callbackUrl\": \"Not supplied\"\n}"},{"id":"afb52467-c706-4494-88bb-c744b03c8d56","name":"Schedule a message","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"to\": \"+1800555555\",\n    \"message\": \"This is a scheduled test message\",\n    \"apiKey\": \"yYBiIMwqvUWBWWzxEyvPzIuIGrGcHgJG\",\n    \"dueDate\": \"2024-01-01T00:00:00.000Z\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.blueticks.co/messages"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": true,\r\n    \"message\": \"Message queued successfuly\",\r\n    \"callbackUrl\": \"Not supplied\"\r\n}"},{"id":"e7d48e0b-0b39-497e-861e-81ae3fc0ac21","name":"Async response via callback","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"to\": \"+1800555555\",\n    \"message\": \"This is a test message with an image and callbackUrl\",\n    \"apiKey\": \"yYBiIMwqvUWBWWzxEyvPzIuIGrGcHgJG\",\n    \"asset\": {\n        \"url\": \"https://picsum.photos/200/300\",\n        \"type\": \"image/jpeg\"\n    },\n    \"callbackUrl\": \"https://webhook.site/d5b4e099-4b18-44fc-9e3e-9f0e40feb8f7\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.blueticks.co/messages"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": true,\r\n    \"message\": \"Message queued successfuly\",\r\n    \"callbackUrl\": \"https://webhook.site/d5b4e099-4b18-44fc-9e3e-9f0e40feb8f7\"\r\n}"}],"_postman_id":"d90d5705-0716-40a4-83ad-bf66c42fdb49"}],"event":[{"listen":"prerequest","script":{"id":"78b14532-7be5-4f38-8980-87f17cab0294","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cabba6f8-3af8-4e6f-ac9d-63ac5bcb47c1","type":"text/javascript","exec":[""]}}],"variable":[{"key":"endpoint","value":"https://api.blueticks.co"}]}