Chat
Send presence
Shows typing, recording, or pause for a chat
POST
Send presence
Auth:
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.
Examples
Typing for 5s
Shows the “typing…” indicator on the recipient’s chat and automatically dispatchespause after 5 seconds (thanks to duration: 5). Ideal to precede sending a text message.
Recording audio
Displays “recording audio…” withstate: "recording". Without duration, the indicator stays until WhatsApp expires it naturally (~5–10s) or until you send pause manually.
Cancel indicator
Withstate: "pause", immediately ends any active “typing…” or “recording…” indicator on the chat. Useful when an automated flow ends before the planned duration.
Success response
- With duration
- Without duration
200 OK
Path parameters
string
required
Instance name.
Headers
string
required
TokenAccount or TokenInstance.
Request body
string
required
Phone number or JID of the chat.
string
required
typing / recording / pause / paused (case-insensitive).int
default:"0"
Seconds until auto-pause (0–60). When >0 and
state is typing/recording, the API automatically sends pause after that interval. Ignored when pause/paused.Accepted states
Notes
- Presences are ephemeral, they are not persisted, and WhatsApp expires the indicator on the recipient’s phone in ~5–10s even without an explicit pause.
duration > 60is truncated to 60 (internal cap).- In chats where the recipient disabled presence acknowledgments, the indicator may not appear.