Retrieves the content of a locally stored media item in base64
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
404.message_id, brings mime_type and media_type (general category: image, video, audio, document, sticker), and returns in base64 the raw media bytes already encoded, ready to write to a file, upload elsewhere, or display inline. The payload can be large for long videos/audios.
| Name | Required | Example | Description |
|---|---|---|---|
token | yes (or Authorization) | a1b2c3d4-... | TokenAccount or TokenInstance. |
| HTTP | error.message | When it happens |
|---|---|---|
| 400 | Instance name is required | — |
| 400 | messageId query parameter is required | — |
| 401 | Invalid token | — |
| 404 | Instance not found | — |
| 404 | Message not found or no media available | Media missing or not yet downloaded. |
| 503 | Instance is not connected to WhatsApp | — |