Skip to main content
GET
Get live phone occupancy for users
Send user_ids as a comma-separated list of up to 100 positive user IDs. The response contains only members of the API key’s workspace, ordered by user ID. Unknown IDs and users outside that workspace are omitted. The request requires agent-availability:read and does not change availability or assignments. When states overlap, on_call takes precedence over ringing, then wrap_up. State applies across all teams: someone handling one team’s call must not be counted as free in another team. Idle does not mean eligible for a new call. Also check the agent’s online status, Available for calls, availability on the relevant team, and calling connection. An active session alone does not prove that a phone call is still connected. Refresh the data while showing a live monitor. If a request fails, a user is omitted, or the last sample becomes stale, show Unknown instead of counting the agent as available. Existing availability flags describe configured status and must not substitute for current phone occupancy.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

user_ids
string
required

Comma-separated organization user IDs, max 100 (e.g. "12,34,56")

Response

Default Response

user_id
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
state
enum<string>
required

Current phone occupancy across all teams. Idle does not guarantee eligibility: online status, call availability, team membership and connection readiness also apply.

Available options:
idle,
ringing,
on_call,
wrap_up