Set the presence status (online/offline) of the WhatsApp session
| Property | Type | Required | Description |
|---|---|---|---|
status | string | ✅ Yes | Presence status to be set. Accepted values: - AVAILABLE - Appears as available/online - UNAVAILABLE - Appears as unavailable/offline |
200 - Presence updated successfully400 - Invalid parameters (status must be AVAILABLE or UNAVAILABLE)401 - Unauthorized404 - Session not foundAVAILABLE status will make the account appear as online to other usersUNAVAILABLE status will make the account appear as offlineYour Wappfy API key (get it at dash.wappfy.com.br)
Session name (instanceName)
Chat ID - either group id or contact id
offline, online, typing, recording, paused