Publishes a status (24h story) of text, image, video or audio on the profile
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
text (plain text with background color and font), image, video and audio. Unlike the other endpoints, there is no number field, the status is published to status@broadcast and is visible to every contact who has permission (configured on the app). Mentions are not supported on this endpoint.
mediaUrl is needed.
mediaUrl is required for non-text types. message is shown as the caption.
isVoice: false to handle it as a regular audio file.
messageType echoes the type you sent (text, image, video or audio) and chat.jid is always status@broadcast. The returned messageId can be used to delete the publication before the 24-hour window via the delete-message endpoint.
$Instance_Name).TokenAccount or TokenInstance.application/jsontext, image, video, audio.type=text, this is the actual displayed text. For media (image, video, audio), it acts as the caption.type is image, video or audio. Ignored when type=text.image/jpeg, video/mp4, audio/ogg; codecs=opus). Optional, auto-detected when omitted.type=text only. Status background color in hex (e.g., #FF0000, #00AAFF). When omitted, WhatsApp uses the theme’s default color.type=text only. Text font. Common values: system, serif, sans-serif.type=audio only. When true (default), the audio is published as PTT (voice message). When false, it becomes a regular audio with the standard player.type=audio only. Duration in seconds. Optional, auto-detected by the transcoding tool.type=audio only. Custom waveform (byte array). Optional, auto-generated if omitted.crm, marketing-bot, n8n).number field, stories always go to status@broadcast and become visible according to the privacy rules configured in the app (Settings → Privacy → Status).mention and mentionAll don’t exist here (stories don’t support mentions in the API).audio/ogg; codecs=opus before publishing. The process can increase the request response time.type=video, WhatsApp caps stories at ~30 seconds. Longer videos may be trimmed or rejected by WhatsApp’s server.messageId.backgroundColor and font only take effect on type=text. On media statuses, they’re silently ignored.| HTTP | Internal status | Message |
|---|---|---|
| 400 | — | Instance name is required |
| 400 | — | Invalid request body: <detail> |
| 400 | — | Type must be one of: text, image, video, audio |
| 400 | — | Message is required |
| 400 | — | MediaURL is required for type: <type> |
| 400 | media_download_failed | Failed to download media from URL |
| 400 | media_validation_failed | (media file validation) |
| 400 | unsupported_media_type | (unsupported media format) |
| 500 | media_upload_failed | Failed to upload media to WhatsApp |
| 500 | audio_conversion_failed | (failure converting audio to Opus) |
| 404 | — | Instance not found |
| 500 | send_failed | Failed to send status: <reason> |
| 503 | disconnected | Instance is not connected to WhatsApp |