Presence
Online presence and typing indicators
Read cached presence information for your session. Subscribe to a contact first when you need updates; this response depends on presence events received by the messaging engine.
BearerAuthAuthorizationBearer <ch_live_... | ak_live_...>Direct WhatsApp Session Token (Authorization: Bearer ch_live_...) or Account API Key (ak_live_...). Generated in your dashboard at https://whatsapp-messaging.retentionstack.agency/start.
session*stringWhatsApp session name (1-100 characters). With a session token (ch_live_...), me targets that token's session; with an account key, use the session name.
1 <= length <= 100Invalid request or session not ready. Inspect error.details for validation issues, currentStatus, nextSteps or nextStep; link WhatsApp before sending.
application/json- response
success*falsefalseerror*timestamp*stringdate-timecurl -X GET 'https://wp-rapidapi.retentionstack.agency/v1/sessions/me/presence'{ "success": true, "data": {}, "timestamp": "2026-11-02T00:00:00.000Z"}Set global online or offline presence. The body session is required in addition to the path session; use the same name in both. Although the enum also lists typing, recording and paused, those states need a chatId that this request schema does not accept. Use startTyping and stopTyping for typing indicators.
BearerAuthAuthorizationBearer <ch_live_... | ak_live_...>Direct WhatsApp Session Token (Authorization: Bearer ch_live_...) or Account API Key (ak_live_...). Generated in your dashboard at https://whatsapp-messaging.retentionstack.agency/start.
session*stringWhatsApp session name (1-100 characters). With a session token (ch_live_...), me targets that token's session; with an account key, use the session name.
1 <= length <= 100Set presence/status in a chat
application/json- body
Set presence/status in a chat
presence*stringPresence status: online, offline, typing, recording, or paused
"online""offline""typing""recording""paused"session*stringWhatsApp session name
1 <= lengthInvalid request or session not ready. Inspect error.details for validation issues, currentStatus, nextSteps or nextStep; link WhatsApp before sending.
application/json- response
success*falsefalseerror*timestamp*stringdate-timecurl -X POST 'https://wp-rapidapi.retentionstack.agency/v1/sessions/me/presence' \ -H 'Content-Type: application/json' \ -d '{ "presence": "online", "session": "me"}'{ "success": true, "data": {}, "timestamp": "2026-11-02T00:00:00.000Z"}Read presence information for chatId within your session. Obtain chatId from a contact check, message or webhook; subscribe to presence updates when needed.
BearerAuthAuthorizationBearer <ch_live_... | ak_live_...>Direct WhatsApp Session Token (Authorization: Bearer ch_live_...) or Account API Key (ak_live_...). Generated in your dashboard at https://whatsapp-messaging.retentionstack.agency/start.
session*stringWhatsApp session name (1-100 characters). With a session token (ch_live_...), me targets that token's session; with an account key, use the session name.
1 <= length <= 100chatId*stringChat ID in format: 1234567890@c.us or +1234567890@c.us
^\+?(\d+@[csg]\.us|\d+@s\.whatsapp\.net)$Invalid request or session not ready. Inspect error.details for validation issues, currentStatus, nextSteps or nextStep; link WhatsApp before sending.
application/json- response
success*falsefalseerror*timestamp*stringdate-timecurl -X GET 'https://wp-rapidapi.retentionstack.agency/v1/sessions/me/presence/15551234567%40c.us'{ "success": true, "data": {}, "timestamp": "2026-11-02T00:00:00.000Z"}Subscribe your session to presence updates for chatId. Read current presence with the presence endpoints or receive presence.update webhook events.
BearerAuthAuthorizationBearer <ch_live_... | ak_live_...>Direct WhatsApp Session Token (Authorization: Bearer ch_live_...) or Account API Key (ak_live_...). Generated in your dashboard at https://whatsapp-messaging.retentionstack.agency/start.
session*stringWhatsApp session name (1-100 characters). With a session token (ch_live_...), me targets that token's session; with an account key, use the session name.
1 <= length <= 100chatId*stringChat ID in format: 1234567890@c.us or +1234567890@c.us
^\+?(\d+@[csg]\.us|\d+@s\.whatsapp\.net)$Invalid request or session not ready. Inspect error.details for validation issues, currentStatus, nextSteps or nextStep; link WhatsApp before sending.
application/json- response
success*falsefalseerror*timestamp*stringdate-timecurl -X POST 'https://wp-rapidapi.retentionstack.agency/v1/sessions/me/presence/15551234567%40c.us/subscribe'{ "success": true, "data": {}, "timestamp": "2026-11-02T00:00:00.000Z"}