This endpoint costs 1 credit per message sent.
To get your
account_id
, you need to first authenticate your WhatsApp account. See WhatsApp Authentication for details on how to log your WhatsApp account and obtain the account ID.Header Parameters
Your API key
Body Parameters
The ID of your WhatsApp account
The recipient’s phone number (international format without +)
The text message to send
The ID of the message you’re replying to
The text of the quoted message
Unix timestamp in milliseconds of the quoted message
true if the quoted message is from you, false if from the recipient
Response
Request status (success/error)
Detailed message about the sending status
Additional data returned when message is sent successfully
Notes
- Phone numbers must be in international format without the + prefix
- All quoted parameters must be provided together when replying to a message
- The
quoted_from_me
parameter helps distinguish between replies to your messages vs received messages