Skip to main content

Guide: Chat Typing & Recording Presence

This endpoint allows you to send real-time chat indicators to the recipient's WhatsApp chat header, such as "typing..." (composing), "recording audio..." (recording), or clearing indicators (paused).

This feature is ideal for Customer Service platforms (Shared Inbox) or AI Chatbots to deliver a natural, responsive conversational experience.


Request Parameters

FieldTypeRequired?ExampleDescription
phonestringYes628123456789Recipient WhatsApp phone number (international format without +).
statestringYescomposingPresence state to display. Allowed values: composing, typing, recording, paused, stop.
durationintegerOptional5Indicator duration in seconds (max 30 seconds). The server will automatically dispatch a paused state once this duration elapses.

Available state Values

state ValueVisual Effect in Recipient WhatsApp App
composing or typingDisplays header text "typing...". Recommended when an agent starts composing a reply or an AI model begins generating text.
recordingDisplays header text "recording audio...". Recommended when a voice note is being recorded or audio synthesized.
paused or stopInstantly clears the typing/recording indicator.

Auto-Reset Safety Timer

We recommend providing the duration parameter (e.g. "duration": 5) when setting the composing state. Wagy server manages a background timer to automatically send a paused status if no subsequent message is dispatched, preventing stuck typing indicators.

Rate Limiting Protection

To safeguard WhatsApp account reputation and comply with platform policies, this endpoint is rate-limited to a maximum of 5 requests per 10 seconds per device.


Set chat presence / typing indicator

POST 

/:device_id/presence

Set chat presence state (typing, recording audio, or paused) for a specific WhatsApp chat.

Request

Responses

Chat presence status sent successfully

Chat with Support