v8

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01390206.4 KB
Messages

Send template message

Sends an approved WhatsApp template message. This is the only message type that reaches recipients that never messaged the business or whose service window is closed.

When the template contains a FLOW button, the request must include the matching button component with sub_type: flow.

post/messages/template

Request body

fromstring required

WhatsApp id of the sender phone number

tostring required

Recipient phone number, digits only, including country code

Response

Message sent successfully

idstring uuid required

Id of the created message