Mark as read and read status on WhatsApp: what works
The Meta mark-as-read payload (not accepted by the Hub) and how to track the read status with message.status events, including out-of-order handling.
Two different things share the word read. One is marking an inbound customer message as read, which turns your side of the double tick blue for the customer. The other is learning that a customer has read a message you sent, which arrives as a status event. This tutorial covers both: Meta's mark-as-read call, which the CRPRO Hub's send endpoint does not expose, and the read status, which the Hub delivers through its message.status webhook.
Can the Hub mark an inbound message as read?
Short answer: not through the documented send endpoint. Its schema is built around message types, and a mark-as-read request has no type, so it does not match any accepted shape.
Meta's call is a POST to the messages edge with a body made of messaging_product, status read and message_id. The Hub's endpoint requires a type from its list: text, image, audio, video, document, sticker, location, contacts, reaction, interactive or template. A body without one is refused with 400 INVALID_MESSAGE. The documentation consulted also does not state whether the Hub marks inbound messages as read by itself, so do not build behaviour on either assumption. If a visible read acknowledgement matters to your product, test with a real phone and a test channel first. Authentication for the calls that do exist is explained in authentication.
What does Meta's mark-as-read call look like?
Short answer: a POST with status read and the message_id of the inbound message. Meta replies with success true.
POST https://graph.facebook.com/<API_VERSION>/<WHATSAPP_BUSINESS_PHONE_NUMBER_ID>/messages
Authorization: Bearer <ACCESS_TOKEN>
Content-Type: application/json
{
"messaging_product": "whatsapp",
"status": "read",
"message_id": "<WHATSAPP_MESSAGE_ID>"
}
# Response
{ "success": true }Meta states the rules: mark incoming messages as read within 30 days of receipt, and marking one message as read also marks the earlier messages in that conversation as read. For group messages each one must be marked individually. An invalid message id returns error code 131009, described as a parameter value that is not valid. The message_id is the wamid from the inbound message webhook, which the Hub exposes as data.message_id on a message.received event.
How can a system learn that a customer read a message?
Short answer: subscribe to the message.status event and watch for the status read. It arrives after sent and delivered.
Meta defines five status values. Sent means the message left WhatsApp's servers, delivered means it reached the device, read means it was displayed in an open chat thread, played applies to a voice message played for the first time, and failed means it could not be sent or delivered. The Hub forwards these as message.status events, whose payload modes and fields are described in the webhooks reference. A meta_raw endpoint receives Meta's own body, which has this shape.
{
"object": "whatsapp_business_account",
"entry": [{
"id": "<WABA_ID>",
"changes": [{
"field": "messages",
"value": {
"messaging_product": "whatsapp",
"metadata": { "display_phone_number": "<NUMBER>", "phone_number_id": "<ID>" },
"statuses": [{
"id": "wamid.HBgL...",
"status": "read",
"timestamp": "1750263773",
"recipient_id": "16505551234"
}]
}
}]
}]
}The id inside each status entry is the wamid of your outbound message, the same value the Hub returned as message_id when you sent it. That is the join key between the send and the receipt.
How should read receipts be processed?
Short answer: advance a message's state only forward, never backward, and expect events out of order or missing.
Meta notes that if a user reads a message while already in the chat, the delivered webhook is skipped because the message is treated as delivered. So a message can jump from sent to read. Retries and network timing can also reorder events. A safe model assigns a rank to each status and applies an event only if its rank is higher than the stored one, with failed handled as a separate branch.
const RANK = { sent: 1, delivered: 2, read: 3, played: 4 }
async function applyStatus(wamid, status, timestamp) {
if (status === 'failed') return store.markFailed(wamid, timestamp)
const current = await store.getStatus(wamid) // e.g. 'delivered'
if ((RANK[status] ?? 0) <= (RANK[current] ?? 0)) return // stale or duplicate
await store.setStatus(wamid, status, timestamp)
}Combine it with deduplication on the event id, because the same event can be delivered more than once, and keep the handler fast so the endpoint answers with a 2xx quickly.
To check the logic without a phone, replay captured events against the handler in a test: one sequence in order, one with read before delivered, one with a duplicate and one with failed after sent. The webhook test endpoint and the deliveries list described in the webhooks reference give you realistic bodies to save as fixtures. Assert that the stored status never moves backward and that duplicates do not change the stored timestamp. Those four cases cover almost every real-world surprise in status processing.
What does read actually prove?
Short answer: that the message was displayed in an open chat thread on a device. It does not prove that the person understood or acted on it.
Use read as a soft signal. It is fine for a dashboard of sent, delivered and read counts or for deciding when to stop waiting for a reply, but a decision with legal or financial weight should rest on an explicit action such as a button tap or a typed confirmation. The documentation consulted for this tutorial does not describe how a recipient's own privacy settings affect the read status, so it is safest to treat absence of read as unknown rather than as not read.
Do all message types get all statuses?
Short answer: no. A reaction produces only the sent status, so do not expect delivered or read for it.
Monitoring that flags messages stuck at sent must exclude reactions. The same applies to any timeout that waits for read. For billing or analytics based on statuses, check the status reference for the fields that appear only with certain statuses. The quickstart shows how to make your first authenticated calls.
What edge cases come with read statuses?
Short answer: duplicates, gaps and reordering, plus the fact that a missing read tells you nothing definite.
Status events are a stream, and a stream has the same problems as any other: the same event may arrive twice, one event may never arrive and two events may swap places. A robust consumer treats each event as a hint to be reconciled with what it already knows. Keep the timestamp that came with the event, not only the time you received it, so dashboards describe what happened and not when your queue caught up. Where a read matters, such as a follow-up timer, start the timer from the delivered or sent time as a fallback instead of waiting for a read that may never be reported.
- Deduplicate events before applying them.
- Never move a message back to an earlier status.
- Store the event timestamp, not just the arrival time.
- Use sent or delivered as the fallback for timers.
- Alert on failed, not on the absence of read.
Frequently asked questions
Is there a Hub endpoint to mark a message as read?
Not in the documented send endpoint. Its schema requires a message type, and Meta's mark-as-read body has none, so the request does not match. The documentation consulted does not say whether the Hub marks inbound messages as read automatically.
How long can marking a message as read wait?
Meta says to mark incoming messages as read within 30 days of receipt. This applies to Meta's own mark-as-read call.
Why does a read status arrive without delivered?
Meta notes that when a user reads a message while already in the chat, the delivered webhook is skipped because the message is treated as delivered. Design your state machine to accept that jump.
What does error 131009 mean for mark as read?
Meta describes it as a parameter value that is not valid. For mark as read it is returned when the message id is invalid.
Fontes
Documentação oficial da Meta, conferida em 31 de outubro de 2026.