Skip to main content
POST
Send a message
Text messages are messages containing only a text body and an optional link preview.
text-message

Text Message

You can have the WhatsApp client attempt to render a preview of the first URL in the body text string, if it contains one. URLs must begin with http:// or https://. If multiple URLs are in the body text string, only the first URL will be rendered.
If omitted, or if unable to retrieve a link preview, a clickable link will be rendered instead.

Authorizations

Authorization
string
header
required

Basic Auth

Body

application/json
channel
enum<string>
required
Available options:
whatsapp
contact
object
required
from
string
required

the id of the sender business number

Example:

"1234567890"

message
object
required

Response

200 - application/json

ButtonReplyMessage sent successfully

success
boolean
Example:

"true"

message_id
string
Example:

"abc123"

recipient
object
data
object