API Reference
Read receipts and typing

Mark as read

POST/{phone-number-id}/messages
Base URL: https://whatsapp.mimicr.dev/v24.0 · provider: https://graph.facebook.com/v24.0

Marks a message you received as read (the user sees the blue check marks); earlier messages of the conversation are marked as read too. With typing_indicator: {"type": "text"} the user also sees the typing indicator until you reply or for up to 25 seconds. Use it when you receive a message and are going to answer.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Path parameters

phone-number-idstringrequired

WhatsApp Business phone number ID.

Example: "424361664134261"

Body

application/json
messaging_productstringrequired

Must be whatsapp.

whatsapp
statusstringrequired

Must be read.

read
message_idstringrequired

wamid of a message you received. Earlier messages of the same conversation are marked as read too.

typing_indicatorobject

Shows the typing indicator to the customer for up to 25 seconds, or until you send a message.

Show child attributes
typestringrequired

Must be text.

text

Responses

200Marked as read.
successbooleanrequired

true when the operation succeeded.

400message_id is not a message received by the business (100).
errorobjectrequired
Show child attributes
messagestringrequired

Human-readable error message, for WhatsApp errors prefixed with (#code).

typestringrequired

Exception type.

Example: "OAuthException"
codeintegerrequired

Error code. See the error codes reference.

error_subcodeinteger

More specific code, when there is one (for example 33 for objects that do not exist or are not visible to the token, 460 for revoked tokens, 2388024 for duplicate templates).

error_user_titlestring

Title meant to be shown to the end user.

error_user_msgstring

Message meant to be shown to the end user.

error_dataobject
Show child attributes
messaging_productstring

Always whatsapp.

detailsstring

Details about the error.

fbtrace_idstringrequired

Trace ID. Include it when you contact support.

401Missing, invalid or revoked access token (190; a revoked token adds error_subcode: 460). A missing token answers 400 with code 104.
errorobjectrequired
Show child attributes
messagestringrequired

Human-readable error message, for WhatsApp errors prefixed with (#code).

typestringrequired

Exception type.

Example: "OAuthException"
codeintegerrequired

Error code. See the error codes reference.

error_subcodeinteger

More specific code, when there is one (for example 33 for objects that do not exist or are not visible to the token, 460 for revoked tokens, 2388024 for duplicate templates).

error_user_titlestring

Title meant to be shown to the end user.

error_user_msgstring

Message meant to be shown to the end user.

error_dataobject
Show child attributes
messaging_productstring

Always whatsapp.

detailsstring

Details about the error.

fbtrace_idstringrequired

Trace ID. Include it when you contact support.