Updated on November 4, 2026
To show “typing…” through the official WhatsApp Business API, send a POST /messages request with "status": "read", the message_id of the message you received, and "typing_indicator": {"type": "text"}. That single call marks the message as read (the two blue ticks) and displays the indicator, which disappears as soon as you reply or after 25 seconds, whichever comes first. Reactions use type: "reaction", and quoted replies use the context.message_id field.
These four features are small, but they change how a conversation with a bot or an API-driven agent feels. Below are the payloads, the limits Meta documents, and a sample flow.
The four features at a glance
All of them use the same send endpoint of the official WhatsApp API: POST /<PHONE_NUMBER_ID>/messages.
| Feature | Key field | What the customer sees | Documented limit |
|---|---|---|---|
| Read receipt | "status": "read" + message_id | Blue ticks on their message | Within 30 days of receipt |
| Typing indicator | typing_indicator.type = "text" | “typing…” at the top of the chat | Ends when you reply or after 25 s |
| Reaction | type: "reaction" | Emoji attached to their message | Message no older than 30 days |
| Quoted (contextual) reply | context.message_id | Bubble with the original message above your reply | Not shown for templates |
Sources: mark as read, typing indicators, reactions and contextual replies.
Mark a message as read
When a messages webhook arrives with the customer’s message, store its id (the wamid). To mark it as read:
{
"messaging_product": "whatsapp",
"status": "read",
"message_id": "wamid.HBgLMTY1MDU1NTEyMzQVAgASGBQzQTdCNTg5RjY1MEMyRjlGMjRGNgA="
}
A successful call returns {"success": true}. Three details from Meta’s documentation:
- Mark messages as read within 30 days of receipt.
- In one-to-one chats, marking a message as read also marks earlier messages in that conversation as read. In groups it does not: each message must be marked individually.
- An invalid
message_idreturns error131009(“Parameter value is not valid”).
In practice you don’t need to mark every message in a burst. Mark the latest one your system processed.
Want to try it while you read? Create a Vectalk account and send your first message through the official API. Create free account →
Typing indicator (“typing…”)
The indicator rides on the same payload as the read receipt. There is no separate “typing” call:
{
"messaging_product": "whatsapp",
"status": "read",
"message_id": "wamid.HBgLMTY1MDU1NTEyMzQVAgASGBQzQTdCNTg5RjY1MEMyRjlGMjRGNgA=",
"typing_indicator": {
"type": "text"
}
}
Rules Meta documents:
- The indicator is dismissed when you respond or after 25 seconds, whichever comes first.
- Meta recommends showing it only if you are actually going to respond. Showing “typing…” and then sending nothing is a poor experience.
- The
message_idmust belong to a received message from the webhook.
What if your reply takes longer than 25 seconds, for example an AI agent that queries several systems? The documentation doesn’t describe a way to “refresh” the indicator. The safe approach is to send a short holding reply (“Checking your order, one moment”) and then the full answer. If you regularly exceed that window, revisit your architecture: see how to acknowledge the webhook fast and process in a queue in integration architecture.
React with an emoji
A reaction is a message of type reaction that points to the customer’s message:
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "16505551234",
"type": "reaction",
"reaction": {
"message_id": "wamid.HBgLMTY1MDU1NTEyMzQVAgASGBQzQUZCMTY0MDc2MUYwNzBDNTY5MAA=",
"emoji": "👍"
}
}
The emoji field accepts the emoji itself or its Unicode escape sequence (for example \uD83D\uDE00). Limitations:
- The reaction is not delivered if the message is more than 30 days old, doesn’t exist in the chat thread, was deleted, or is itself a reaction. In those cases you get a
messageswebhook with error131009. - For reactions, Meta only sends the
sentstatus. Thedeliveredandreadwebhooks never arrive. If your status dashboard waits for them, treat reactions as an exception (more on statuses in message status webhooks).
Good uses: acknowledging a payment receipt (✅), a photo of an ID (👍) or a long voice note while you prepare the answer. It cuts down the “did you get it?” message that usually follows.
When the customer reacts
If the customer reacts to one of your messages (up to 30 days later), you receive a messages webhook with type: "reaction":
{
"from": "16505551234",
"id": "wamid.HBgLMTY1MDU1NTEyMzQVAgASGBQzQUFERjg0NDEzNDdFODU3MUMxMAA=",
"timestamp": "1762250400",
"type": "reaction",
"reaction": {
"message_id": "wamid.HBgLMTY1MDU1NTEyMzQVAgASGBQzQUNCNjk5RDUwNUZGMUZEM0VBRAA=",
"emoji": "👍"
}
}
reaction.message_id is the wamid of your message. If the customer removes the reaction, an identical webhook arrives without the emoji field. Handle both: a 👍 on an appointment reminder can be logged as “confirmed”, and its removal can undo that. More sample payloads are in WhatsApp webhook payload examples.
Reply quoting the customer’s message (contextual reply)
To show the original message in a bubble above your answer, add context.message_id to any session message:
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "16505551234",
"context": {
"message_id": "wamid.HBgLMTY1MDU1NTEyMzQVAgASGBQzQTdCNTg5RjY1MEMyRjlGMjRGNgA="
},
"type": "text",
"text": {
"body": "About order #4821: it ships today before 6 pm."
}
}
According to the documentation, the quote bubble does not appear when:
- the original message was deleted or moved to long-term storage (typically after 30 days);
- you reply with a template;
- you reply with audio, image or video and the customer is on KaiOS.
Also, a reaction cannot be sent as a contextual reply. Quoting is most useful when the customer fires off several questions and your bot answers out of order: each answer points to the right question.
Recommended flow for a bot
A flow that combines all four features:
- The webhook arrives with the customer’s message. Return
200immediately and push the event to a queue. - A worker picks up the message and sends the read + typing payload.
- If the customer sent a file, react with ✅ to acknowledge it.
- Build the answer (business rules, ERP lookup, AI).
- Send the answer with
context.message_idif more than one question is open.
Node.js example (18+) using native fetch:
const BASE = process.env.WA_BASE_URL; // e.g. https://graph.facebook.com/v26.0/<PHONE_NUMBER_ID>
const TOKEN = process.env.WA_TOKEN;
async function wa(body) {
const res = await fetch(`${BASE}/messages`, {
method: "POST",
headers: { Authorization: `Bearer ${TOKEN}`, "Content-Type": "application/json" },
body: JSON.stringify({ messaging_product: "whatsapp", ...body }),
});
if (!res.ok) throw new Error(`WhatsApp API ${res.status}: ${await res.text()}`);
return res.json();
}
async function handleIncoming(msg) {
// 1) read + typing (lasts up to 25 s)
await wa({ status: "read", message_id: msg.id, typing_indicator: { type: "text" } });
// 2) acknowledge media with a reaction
if (["image", "document"].includes(msg.type)) {
await wa({ to: msg.from, type: "reaction", reaction: { message_id: msg.id, emoji: "✅" } });
}
// 3) build the answer (your logic here)
const answer = await buildAnswer(msg);
// 4) reply quoting the original message
await wa({
to: msg.from,
context: { message_id: msg.id },
type: "text",
text: { body: answer },
});
}
If you don’t have a webhook server yet, the tutorial WhatsApp bot with Node.js and Express builds the foundation this code relies on.
Common errors
| Symptom | Likely cause | Fix |
|---|---|---|
Error 131009 when marking as read | Invalid message_id, or the ID of a message you sent | Use the id of the received message from the webhook |
| “typing…” disappears before the reply | 25 seconds elapsed | Send a holding reply, then the full answer |
| Reaction doesn’t show | Message older than 30 days, deleted, or itself a reaction | Check for the 131009 error webhook |
delivered never arrives for a reaction | Documented behavior: reactions only trigger sent | Don’t wait for delivered/read on reactions |
| Quote bubble missing | Reply was a template, or the original is older than 30 days | Use a session message; no quoting for old messages |
For other codes, see WhatsApp API error codes.
How to do this with Vectalk
Vectalk is a proxy for the official Cloud API: payloads are identical to Meta’s, and only the base URL and the token change. You send to POST https://apis.vectalk.com.br/api/messages with Authorization: Bearer <token>. Vectalk’s documentation (in Portuguese) covers mark as read, reactions (an empty emoji string removes a reaction) and the context field in text messages. Forwarded webhooks are Meta’s own payloads, so the wamid you use in these calls comes straight from them.
With an instance token, the phone_number_id is resolved automatically; with an organization token, include phone_number_id in the body. To get started, create your account.
Frequently asked questions
Is the typing indicator billed?
The typing indicator page doesn’t mention any cost, and the call only returns {"success": true} without creating a new wamid. Meta bills delivered messages by category; the reply you send afterwards follows those normal rules (try the cost calculator).
Can I show “typing…” without marking the message as read?
Not in the documented way. typing_indicator goes in the payload with "status": "read", so both happen together. If you don’t want blue ticks before you reply, don’t use the indicator.
Can I react to a message I sent?
The documentation describes reactions applied to a message received from the user. For your own messages, the documented feature is the reverse: the customer reacts and you get a webhook.
Do quoted replies work with templates?
No. Meta states that the quote bubble does not appear when the reply is a template. Use session messages (text, media, interactive) inside the 24-hour customer service window.
Why doesn’t my reaction get a “delivered” status?
Because Meta only sends the sent webhook for reactions. It is not a delivery failure.
Official sources consulted on November 4, 2026: Typing indicators, Mark messages as read, Reaction messages, Reaction messages webhook reference, Contextual replies, Vectalk: Mark as read, Vectalk: Reaction.
Put your business on the official WhatsApp
Create your account, connect your number to the official API (you can keep the app with coexistence) and start serving customers and sending messages.
