User
Update chat availability status
Toggles the authenticated user availability for chat routing. Affects whether new conversations are assigned to this user by the round-robin allocator.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PUT "https://example.com/api/user/chat-availability" \ -H "Content-Type: application/json" \ -d '{ "isAvailable": true }'{ "success": true, "message": "Chat availability enabled", "data": { "isAvailable": true, "lastStatusChange": "2026-05-20T15:04:01.135Z" }}