Send a WhatsApp message to a mobile device

Body Params
string
enum
required
Allowed:
string
required

The text of the text message, which can contain URLs and formatting

boolean
Defaults to false

Provides a preview of a URL included in the text message body

string

Sender ID that message should be sent from

string

A mobile device phone number in E.164 format that should receive the message

string

If provided, events related to the delivery of this message will be POSTed to this URL.

string

Additional data that will be echoed back in all callback requests made to callbackUrl

string

User defined ID that is assigned to an individual message

substitutions
object

Members of this object are used to replace text placeholders within the content specified before sending to WhatsApp.

Headers
string
required
length ≤ 64
^[\w=\-]+$

An optional user provided value that is used to prevent duplicate requests. API requests with an Idempotency-Key value that has been used in the previous 1 hours will be rejected as a duplicate request.

Responses

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