Mensagens
Simplified message sending. The sender number is resolved from your token, so you never have to assemble Meta's full payload.
Only pass from when the account has more than one connected number and you want
to pick which one sends.
The 24-hour window
WhatsApp only allows free-form messages within 24 hours of the customer's last
message to you. Outside that window, only approved templates go through —
anything else comes back as 422 meta_error with Meta's code 131047.
Replying to a message
Every send endpoint accepts contextMessageId. Fill it with the wamid of a
received message and your reply shows up quoting it in the customer's app.
Send (or schedule) a message
The one way to send. What changes between a text and a template is `type` in the
List scheduled messages
Scheduled messages on the account, soonest first. Includes the ones already sent,
Get a scheduled message
State of a scheduled message. Once sent, `messageId` carries the `wamid` to follow
Cancel a scheduled message
Cancels before the time comes. It holds even with the job already queued: the
Delivery status
The last known state of a message you sent, by WAMID.