Marks the entire chat as read or unread
Auth:Documentation Index
Fetch the complete documentation index at: https://docs.ryzeapi.cloud/llms.txt
Use this file to discover all available pages before exploring further.
TokenAccount or TokenInstance • Rate-limit: Global (100/min) • Idempotent: yes
read: true) or undoes the marking (read: false). It is equivalent to opening the chat on the phone: the new-messages badge resets.
read: true, marks all unread messages of the chat as read and resets the badge, equivalent to opening the conversation on the phone.
read: false, restores the “unread” state on the chat so it appears highlighted in the list again, useful to revisit a conversation later.
chat_jid (JID resolved from number) and read reflecting the final state. The message changes depending on the value of read: "Chat marked as read successfully" or "Chat marked as unread successfully".
| Name | Required | Example | Description |
|---|---|---|---|
Content-Type | yes | application/json | — |
token | yes (or Authorization) | a1b2c3d4-... | TokenAccount or TokenInstance. |
...@s.whatsapp.net or ...@lid), group JID (...@g.us), or newsletter.true marks as read, false marks as unread.| HTTP | error.message | When it happens |
|---|---|---|
| 400 | Instance name is required | — |
| 400 | Invalid request body: <...> | Malformed JSON. |
| 400 | Number is required | — |
| 401 | Invalid token | — |
| 404 | Instance not found | — |
| 503 | Instance is not connected to WhatsApp | — |