post
https://public.doubletick.io/whatsapp/message/text
Sends a plain text message to a customer or WhatsApp group.
Before you call
- Send
toas the customer's phone number with country code (e.g.+919999999999), orcustomerIdfor a customer without a phone number. fromis optional: your connected WhatsApp number with country code. If omitted, a connected number of your organisation is used.- To send to a WhatsApp group, pass its
groupIdinstead, and leave outfromandto. content.textis required and cannot be blank.messageIdis optional. If you send it, it must be a UUID v4. If you don't, DoubleTick generates one.customData(optional, string values only) is stored with the message and added to its status and reply webhooks.
How it works
- The message is queued for sending. The response contains
recipient,status(SENTorFAILED, witherrorMessage) andmessageId. - Use the
messageIdwith Get Message Status to check delivery and read status. - If no customer exists for
to, DoubleTick creates one and opens a chat for them. - If your organisation's content policy blocks the text (e.g. private information), the request is rejected.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
201
