v1
latestOpenAPI 3.0.02026-07-2483164186.3 KBAgent
Set agent ONLINE/OFFLINE
Updates an agent's availability to online or offline. The agent is selected by phone (must match the phone stored on the user profile). Requires Agent Availability to be enabled for the organization. When status changes, an ASSIGNED_AGENT_STATUS_CHANGED webhook may be sent per WhatsApp integration where the user has assigned chats.
post/agent/status
Request body
Example request
{
"phone": "919999999999"
}Response
Status updated.
Example response
{
"success": true
}