Skip to main content
POST
Send a message
Structured order_details and order_status interactive messages are not available for Linked Devices or Official API Numbers. The API returns capability error 131026 before a provider send. A received order message is an order snapshot, not proof that the customer paid. Confirm settlement with your payment provider before marking an order paid.

Authorizations

Authorization
string
header
required

Polymorfa organization key (pmfa_ prefix) or project token (pmfa_pt_ prefix). Client tokens are not accepted by Graph operations.

Path Parameters

version
string
required

Specifies version for this path parameter.

Example:

"v26.0"

phoneNumberId
string
required

Identifier for the phone number.

Example:

"123456789012345"

Body

application/json
messaging_product
string
required

Messaging product associated with this Graph API object.

Example:

"whatsapp"

recipient_type
string

Category assigned to recipient.

to
string

Recipient phone number. When both to and recipient are present, to is used.

Example:

"15551234567"

recipient
string

Recipient business-scoped user ID, for Official API numbers only. Omit to to address this ID. Parent business-scoped user IDs are not accepted.

Example:

"US.13491208655302741918"

type
enum<string>

Type discriminator for this object.

Allowed values

Available options:
text,
image,
video,
document,
audio,
sticker,
location,
contacts,
reaction,
interactive,
template
text
object

Text content carried by this object.

image
object

Image attached to or representing this resource.

video
object

Structured video values for this graph graph send message request.

document
object

Structured document values for this graph graph send message request.

audio
object

Structured audio values for this graph graph send message request.

sticker
object

Structured sticker values for this graph graph send message request.

location
object

Structured location values for this graph graph send message request.

contacts
null[]

Contact cards to send in this message.

Accepted alternatives

reaction
object

Reaction applied to the referenced message.

interactive
any | null

For Official API product and product_list sends, catalog_id must belong to a catalog linked to the Number's WABA. Product retailer IDs remain subject to Meta validation.

Accepted alternatives

template
any | null

Specifies template for this graph graph send message request.

Accepted alternatives

context
object

Structured context values for this graph graph send message request.

status
string

Message delivery status to report to WhatsApp.

Example:

"read"

message_id
string

Identifier for the message.

typing_indicator
object

Shows a typing indicator and marks message_id read. Requires status: "read".

Response

Message sent, or status update accepted

messaging_product
string
required

Messaging product associated with this Graph API object.

Example:

"whatsapp"

contacts
object[]
required

Contacts returned or affected by this operation.

messages
object[]
required

Messages associated with this graph graph send message response.