cURL
curl --request PUT \ --url https://your-instance.example.com/api/user/chat-availability \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "isAvailable": true } '
{}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Chat availability updated
Generic response envelope. Endpoint-specific fields are intentionally open.