Archives or unarchives a WhatsApp chat
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
archive: true) or unarchives (archive: false) a chat. The operation is propagated to WhatsApp via app state, it may take seconds to reflect on the other linked devices.
archive: true), removing it from the main list without deleting history. Syncs with the other linked devices via app state.
archive: false) and brings it back to the main list. The operation is propagated to all linked devices.
chat_jid (JID resolved from number) and archived reflecting the final state. The message changes depending on the value of archive: "Chat archived successfully" or "Chat unarchived 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 archives, false unarchives.| 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 | — |
POST /api/chat/pin/:instancePOST /api/chat/mute/:instance