Revokes a message for everyone or deletes it only on your side
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: partially
Deletes a specific message in two modes:
deleteForEveryone: true), revokes on WhatsApp; “This message was deleted” appears for everyone. delete_type: "revoke".deleteForEveryone: false, default), deletes only locally on your devices. Recipients keep seeing it. delete_type: "delete_for_me".deleteForEveryone: true. Replaces the content with “This message was deleted” for every participant in the conversation, subject to the up-to-15-minute window after sending.
deleteForEveryone: false, the message disappears only from your linked devices (synced via AppState). The recipient keeps seeing the original content normally.
true revokes for everyone (delete_type: "revoke"); false deletes only locally (delete_type: "delete_for_me").message.exchange event with type: "message_revoke" on the webhook/WebSocket.| HTTP | error.message | When |
|---|---|---|
| 400 | Invalid request body | Malformed JSON. |
| 400 | MessageID is required | Missing field. |
| 401 | Invalid token | Missing/invalid token. |
| 404 | Instance not found | Instance does not exist. |
| 404 | message not found | messageId is not in the database. |
| 503 | Instance is not connected to WhatsApp | No active session. |