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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
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.

Media links are also validated before sending:

  • The link must be an absolute http or https URL.
  • The URL must respond successfully within 5 seconds.
  • The Content-Type header of the response must be one of the supported types below.
MediaSupported Content-TypesMax size
imageimage/jpeg, image/png5 MB
videovideo/mp4, video/3gpp16 MB
audioaudio/aac, audio/amr, audio/mpeg, audio/mp4, audio/ogg16 MB
documenttext/plain, application/pdf, Word (.doc, .docx), Excel (.xls, .xlsx), PowerPoint (.ppt, .pptx)100 MB
stickerimage/webp100 KB (animated: 500 KB)
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

429

Too Many Requests

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