Skip to main content
POST
Set presence (online/offline)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

instanceId
string<uuid>
required

The WhatsApp instance UUID

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

Body

application/json
presence
enum<string>
required

Presence state to set

Available options:
online,
offline

Response

Presence updated

ok
boolean
required

Operation succeeded

Example:

true