Send text session message

Requires authentication — see Authentication.

Sends a WhatsApp text message to a recipient during an active 24-hour session.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

If a WhatsApp user has sent your application a message — whether it’s a reply to one of your outbound message templates, or they have initiated communication themselves — your application has a 24-hour window to send that user any messages, without using a message template. These are known as Session Messages.

ConstraintValueDescription
Session window24 hoursYou must send this message within 24 hours of the contact's last inbound message, without using a message template.

Text session messages are messages containing only a text body.

For more information, go to the Text messages section.

Body Params

Whatsapp Message Request

string
required
^\+?[1-9]\d{1,14}$

Phone number of the sender.

Phone number provided during the WABA account setup will be used as the sender of the notification message.

Only accepts numeric characters. Do not include the ´+´ sign.

string
required
^\+?[1-9]\d{1,14}$

Determines the destination phone number for your regular message. Numbers are specified in E.164 format → (‘+’ and a country code).

string

Type of message you want to send. For this endpoint, use text, which sends a plain text message.

string
length between 0 and 4096

Content of the text message to be sent. Emojis and markdown are supported.

boolean
Defaults to false

Applies to: Session text.

Set it to true to send the message with Direct Send: you send the text without a message template. It only applies to regular text messages ("text" type).

Direct Send is a beta feature that requires access granted by Meta for your WABA, and it is only for Utility content. If you send directSend together with a message template, the template prevails and directSend is ignored.

The default value is false.

For more information, see WhatsApp Direct Send.

callbacks
array of strings

Webhook URL to notify about the events of the whatsApp message.

callbacks
string

Alphanumeric identifier used for reporting purposes.

Responses

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