Changes the content of a message you sent
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: no
Edits the content of a message you sent. Only text messages are supported.
content field. The original message must have been sent by the instance itself and be within the 15-minute window.
message.exchange event on the webhook/WebSocket with type: "message_edit" and isEdit: true.| HTTP | error.message | When |
|---|---|---|
| 400 | Invalid request body | Malformed JSON. |
| 400 | messageId is required | Missing field. |
| 400 | content is required | Missing content field. |
| 400 | message contains too old to edit or can only edit | Outside the 15-minute window or non-text message. |
| 401 | Invalid token | — |
| 404 | Instance not found or message not found | — |
| 503 | Instance is not connected to WhatsApp | No active session. |