API referenceWhatsApp
POST /whatsapp/accounts/{id}/messages/{messageId}/read
Mark an inbound message (and the earlier ones) read on WhatsApp; typing also shows the typing indicator (25 seconds or until the next message)
POST
BearerAuthheader
AuthorizationBearer <token>API key sk_...
id*stringWhatsApp account id
messageId*stringwamid of the inbound message
application/json- body
typing?booleanDefault
false{accountId, messageId, read, typing}
application/json- response
accountId?stringmessageId?stringread?booleantyping?booleancurl -X POST 'https://example.com/api/v1/whatsapp/accounts/string/messages/string/read' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "accountId": "string", "messageId": "string", "read": true, "typing": true}POST /whatsapp/accounts/{id}/messages POST
Send a LIVE WhatsApp message to to (phone), recipient (BSUID) or the participant of conversationId. Free-form types need the person to have written within 24 hours; templates are always allowed (409 outside_messaging_window before calling Meta). 403 approval_required while approval applies. Emits message.sent; statuses follow as message.status
GET /whatsapp/accounts/{id}/templates GET
Message templates of the account's WABA