WA Client
POST

Chat Settings

Manage chat settings: pin, mute, read/unread, and disappearing messages — one endpoint, action field selects the operation.

API endpoint
https://waclient.com/api/update_chat_settings
Example:
curl -X POST \
  'https://waclient.com/api/update_chat_settings' \
  -H 'Content-Type: application/json' \
  --data '{
    "chat_id": "20100981XXXX",
    "action": "pin",
    "instance_id": "6A4B02A1XXXX",
    "access_token": "EMCUH3NQQK8YXXXX"
}'
Response
{
    "status": "success",
    "message": "Success",
    "data": {
        "chat_id": "[email protected]",
        "action": "pin",
        "updated": true
    }
}
ParameterDescription
chat_idChat JID or phone number
actionpin, unpin, mute, unmute, mark_read, mark_unread, disappearing
mute_durationFor mute: 8h or 7d (optional) (Optional)
disappearing_durationFor disappearing: off, 24h, 7d, 90d (Optional)
instance_idYour instance ID
access_tokenYour access token

Command Palette

Search documentation endpoints.

Esc