Skip to main content
POST
Send presence
Auth: TokenAccount or TokenInstanceRate-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 dispatches pause after 5 seconds (thanks to duration: 5). Ideal to precede sending a text message.

Recording audio

Displays “recording audio…” with state: "recording". Without duration, the indicator stays until WhatsApp expires it naturally (~5–10s) or until you send pause manually.

Cancel indicator

With state: "pause", immediately ends any active “typing…” or “recording…” indicator on the chat. Useful when an automated flow ends before the planned duration.

Success response

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 > 60 is truncated to 60 (internal cap).
  • In chats where the recipient disabled presence acknowledgments, the indicator may not appear.

Error responses