Shows typing, recording, or pause for a 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 (ephemeral)
Emits a presence indicator (“typing…”, “recording audio…”, or pause) to a chat. Ideal to simulate realistic interaction before sending a message.
pause after 5 seconds (thanks to duration: 5). Ideal to precede sending a text message.
state: "recording". Without duration, the indicator stays until WhatsApp expires it naturally (~5–10s) or until you send pause manually.
state: "pause", immediately ends any active “typing…” or “recording…” indicator on the chat. Useful when an automated flow ends before the planned duration.
typing / recording / pause / paused (case-insensitive).state is typing/recording, the API automatically sends pause after that interval. Ignored when pause/paused.state | Effect |
|---|---|
typing | ”typing…” on the recipient’s chat |
recording | ”recording audio…” |
pause / paused | Cancels any current indicator |
duration > 60 is truncated to 60 (internal cap).| HTTP | error.message | When |
|---|---|---|
| 400 | Invalid request body | Malformed JSON. |
| 400 | Number is required | Missing field. |
| 400 | State is required. Use 'typing', 'recording', or 'pause' | Empty state. |
| 400 | Invalid state. Use 'typing', 'recording', or 'pause' | Outside the enum. |
| 401 | Invalid token | — |
| 404 | Instance not found | — |
| 503 | Instance is not connected to WhatsApp | No active session. |