List Agents

GET

/v1/agents

Returns a list of all team members and agents in the current workspace with their availability status.

Parameters

NameTypeDescription
availabilitystringFilter by availability: 'online' or 'offline'
pageintegerPage number (default: 1)
per_pageintegerRecords per page (1-100, default: 50)

Responses

200List of workspace agents
{
  "data": [
    {
      "id": "usr_888",
      "name": "Sarah Connor",
      "display_name": "Sarah",
      "email": "sarah@acme.com",
      "availability": "online",
      "role": "agent"
    }
  ],
  "meta": {
    "current_page": 1,
    "total_pages": 1,
    "total_count": 1
  }
}