WA Client
POST

Subscribe to Presence

Subscribe to live presence updates for a contact.

API endpoint
https://waclient.com/api/subscribe_presence
Example:
curl -X POST \
  'https://waclient.com/api/subscribe_presence' \
  -H 'Content-Type: application/json' \
  --data '{
    "chat_id": "[email protected]",
    "instance_id": "6A4B02A1XXXX",
    "access_token": "EMCUH3NQQK8YXXXX"
}'
Response
{
    "status": "success",
    "message": "Success",
    "data": {
        "chat_id": "[email protected]",
        "subscribed": true
    }
}
ParameterDescription
chat_id / contact_idContact JID or phone number
instance_idYour instance ID
access_tokenYour access token

Command Palette

Search documentation endpoints.

Esc