# Mark WhatsApp messages as read and show a typing indicator

> Send the WhatsApp Cloud API read receipt with status read, add a typing indicator in the same call, and time both in an AI agent reply flow.

Published 2026-11-02. Z-API Omni team.

To mark a WhatsApp message as read, POST `"status": "read"` and the message's `message_id` to the same `/messages` endpoint you send with. Add `"typing_indicator": {"type": "text"}` to that body and the one call also shows the user a typing indicator. The indicator disappears when you reply or after 25 seconds, whichever comes first. Both calls belong to the WhatsApp Cloud API, Meta's official API, and both answer `{"success": true}`.

## Mark a message as read

The `message_id` is the `id` of the inbound message in your `messages` webhook, the wamid that starts with `wamid.`. This is Meta's request with the placeholders in upper case and the version set to v26.0 ([mark messages as read, accessed 2026-11-02](https://developers.facebook.com/documentation/business-messaging/whatsapp/messages/mark-message-as-read)):

```bash
curl -X POST \
'https://graph.facebook.com/v26.0/WHATSAPP_BUSINESS_PHONE_NUMBER_ID/messages' \
-H 'Authorization: Bearer ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-d '
{
  "messaging_product": "whatsapp",
  "status": "read",
  "message_id": "WHATSAPP_MESSAGE_ID"
}'
```

The response is `{"success": true}`, with no message ID in it.

You don't need one call per message in a one-to-one chat. "When you mark a message as read, the API also marks earlier messages in the conversation as read." Mark the newest message the user sent and the rest follow.

Groups work differently. "Marking a message as read applies to both individual and group messages", but in a group, "Marking one message does not mark earlier messages in the group as read." If your number reads group traffic, mark each message you process.

The call has a deadline. Meta says to "Mark incoming messages as read within 30 days of receipt." An ID that is wrong or unusable returns error 131009, "Parameter value is not valid". The [WhatsApp Cloud API error codes reference](/academy/articles/whatsapp-cloud-api-error-codes-reference/) lists the other codes you may meet on this endpoint.

### What the user sees

Meta's send messages page describes the call as a way to "let a WhatsApp user know you have read their message" ([send messages, accessed 2026-11-02](https://developers.facebook.com/documentation/business-messaging/whatsapp/messages/send-messages)). In the WhatsApp app, that read receipt is what users know as blue ticks. The check marks next to their message turn blue. Meta's pages for this call don't use that term or describe the app's display.

Read receipts on your own outbound messages are a separate thing. Those arrive as `read` status webhooks, explained in [WhatsApp status webhooks](/academy/articles/whatsapp-message-status-webhooks-sent-delivered-read-failed/).

## Add the typing indicator

Meta's typing indicator page uses the webhook's message ID to "mark the message as read and display a typing indicator" in one request ([typing indicators, accessed 2026-11-02](https://developers.facebook.com/documentation/business-messaging/whatsapp/typing-indicators)). The body is the read request plus one field. Meta's sample is missing a backslash after the URL line, which breaks the command in a shell; it is added here.

```bash
curl -X POST \
'https://graph.facebook.com/v26.0/WHATSAPP_BUSINESS_PHONE_NUMBER_ID/messages' \
-H 'Authorization: Bearer ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-d '
{
  "messaging_product": "whatsapp",
  "status": "read",
  "message_id": "WHATSAPP_MESSAGE_ID",
  "typing_indicator": {
    "type": "text"
  }
}'
```

The response is again `{"success": true}`. "The typing indicator will be dismissed once you respond, or after 25 seconds, whichever comes first."

Meta gives two rules for using it. It is "good practice if it will take you a few seconds to respond". And "To prevent a poor user experience, only display a typing indicator if you are going to respond."

Meta's page documents only `"type": "text"`. It does not say whether sending the request again extends the indicator past 25 seconds. Test that on your own number before you build a reply loop that depends on it.

## Where the calls go in an AI agent flow

An AI agent will answer, and the model usually takes a few seconds, so both of Meta's rules apply. This order keeps the indicator honest and the webhook fast.

1. Receive the `messages` webhook, check the signature, store the message and answer 200.
2. Decide whether the agent will reply. Skip status webhooks, reactions you ignore and anything routed to a human queue.
3. If it will reply, send the read call with `typing_indicator` for the inbound message's `id`.
4. Call the model and build the answer.
5. Send the reply. That dismisses the indicator.

Step 1 comes first so the model's latency stays out of your webhook response. The pattern is in [save to CRM before replying](/academy/articles/save-to-crm-before-replying-whatsapp-automation/), and the full n8n build is in [the WhatsApp AI agent with n8n](/academy/articles/whatsapp-ai-agent-n8n-step-by-step/).

Step 2 is a recommendation built on Meta's "only display a typing indicator if you are going to respond". When a conversation goes to a human, a typing indicator promises a reply that may come an hour later. Mark the message as read without the indicator, or leave it unread until the agent picks it up.

If the model often runs past 25 seconds, the indicator vanishes before the answer arrives. Send a short holding message first, and run the model call from a [queue with workers](/academy/articles/whatsapp-webhook-queue-architecture-workers/) so retries don't block new webhooks.

Pass the inbound message's `id` to the read call. Status webhooks also carry wamids, but those belong to messages you sent, and Meta documents the read call for messages you received.

## Cost and window

Meta's pages for these two calls don't mention a charge. The pricing page describes charges for delivered messages: "Businesses are only charged when a message is delivered" ([pricing, accessed 2026-11-02](https://developers.facebook.com/documentation/business-messaging/whatsapp/pricing)). Check your billing data if you need certainty for a high-volume agent.

The 30-day limit on marking as read is longer than the 24-hour customer service window. A typing indicator makes sense only when your reply can go out, which for free-form text means inside that window.

*Z-API Omni team*
