SendTransactionalWhatsappChatMessage

The SendChatMessage function sends non-template WhatsApp messages within an active Customer Service Window.

How It Works:

  1. A 24-hour Customer Service Window opens when the customer sends a message to your WhatsApp number (either by replying to a template message you sent or by initiating the conversation themselves).
  2. Within this active window, you can use this endpoint to send non-template message types such as text, image, document, video, audio, sticker, reaction, location, contact and interactive messages.
  3. If you need to send utility-type templates within the Customer Service Window, use the /transactional/whatsapp endpoint.

Important: This endpoint can only be used when a Customer Service Window is active. For all template messages (including utility templates), use the /transactional/whatsapp endpoint.

Body Params
string
required

This is the ID provided by Dengage once the configuration is completed. You can retrieve it from the Configuration screen after clicking the Add Account button.

payload
object
required

Payload object to send WhatsApp message.

Note for Media Messages (image, video, audio, document, sticker): All media messages must comply with Meta's WhatsApp documentation for supported MIME types and maximum file sizes.

Headers
string
Defaults to {$$.env.access_token}
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

429

Too Many Requests

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
sample response
sample bad_response