Skip to main content
Session messages are non-template WhatsApp messages. Unlike template messages, they do not require prior Meta approval, but they can only be sent within an open 24-hour customer service window (i.e., in reply to an inbound message from the recipient).

Endpoint

/oapi/send_sms sends WhatsApp, RCS and SMS. The bare /send_sms path carries SMS only, so a WhatsApp message sent to it is not delivered.
string
required
API key generated for the TUC (tenant under customer) associated with the sending WhatsApp number.

Common request structure

Every message is wrapped in a wa array. Each object in the array shares these top-level fields regardless of message type:
array
required
Wrapper array for one or more WhatsApp message objects, up to 500 per request. See Send to many recipients.
string
required
Always "whatsapp".
string
required
Always "individual".
string | array
required
Recipient’s WhatsApp phone number, or an array of up to 500 numbers.
string
required
Sender’s registered WhatsApp number.
string
required
Message type — one of text, document / image / video / audio / sticker, interactive, or contacts. See the tabs below for the value per message type.
string
Optional country prefix (e.g. +91), set at the root of the request body alongside wa.

Send to many recipients

One request can reach many recipients in two ways: For one recipient, recipient can be a single number.

Message types

Sends a plain text message, optionally with link preview.
string
required
Message text.
boolean
Optional. Set true to render a link preview for URLs in the body text.
Request
cURL
To send approved template messages instead, see Send Template Message.