Skip to Content

Get Operator

Retrieve full detail for a single operator, including the list of virtual numbers it is assigned to.

GEThttps://api.identitycall.ai/api/v1/public/operators/:id

Returns operator detail with its virtual number assignments.

Requires read permission

Scope

API key scopeBehavior
Account-wideCan fetch any operator in the account
Project-scopedReturns 404 for operators not linked to the bound project

Path Parameters

Parameters

NameTypeRequiredDefaultDescription
idintegerYes-Operator ID

Request

curl -X GET "https://api.identitycall.ai/api/v1/public/operators/42" \ -H "Authorization: Bearer $IDENTITYCALL_API_KEY"

Response

Response200 OK
{
"data": {
  "id": 42,
  "name": "Jane Doe",
  "phone_number": "+15551234567",
  "email": "jane.doe@example.com",
  "active": true,
  "initials": "JD",
  "virtual_numbers": [
    {
      "id": 101,
      "phone_number": "+15558675309",
      "name": "Sales line",
      "active": true
    },
    {
      "id": 117,
      "phone_number": "+37060099001",
      "name": "Vilnius support",
      "active": true
    }
  ]
}
}

Response Fields

FieldTypeDescription
idintegerUnique operator ID
namestringFull display name
phone_numberstringE.164 normalized phone number
emailstring | nullContact email
activebooleanWhether the operator is active
initialsstringTwo-letter initials derived from name
virtual_numbersarrayVirtual number assignments (see below)

Each virtual_numbers entry:

FieldTypeDescription
idintegerVirtual number ID
phone_numberstringVirtual number in E.164
namestringDisplay name of the virtual number
activebooleanWhether the virtual number is active

Errors

StatusErrorDescription
401”Invalid API key”Missing or unrecognized bearer token
403”Read permission required”API key lacks read permission
404”Resource not found”Operator doesn’t exist, or (for project-scoped keys) is not linked to the bound project

See Also