/v1/agents

Detailed list of all agents

Detailed list of all agents can be retrieved in the below method

curl --request GET \
  --url https://api.servetel.in/v1/agents \
  --header 'accept: application/json' \
  --header 'authorization: Bearer yourtokenhere'

Response Variables

Variable NameDescriptionData Type
idUnique ID of the agentString
nameName of the agentString
follow_me_number10-digit number of the agentString
eidUnique Extension ID of the agentString
intercomUnique intercom number of the agentString
calls_answeredTotal number of calls answered by agentInteger
product_clicktocallStatus of Click to Call product on agent
[0: product not applied, 1: product applied]
Integer
team_idUnique ID of agent's teamInteger
team_nameName of the agent's teamString
custom_statusAgent block/ unblock status
[0: unblocked, 1: blocked]
Integer
[
  {
    "id": 1,
    "name": "Test",
    "follow_me_number": "+910000000000",
    "eid": "050000000",
    "intercom": "1001",
    "calls_answered": 0,
    "product_clicktocall": 1,
    "team_id": null,
    "team_name": null,
    "custom_status": 0,
    "timegroup_name": null,
    "timegroup_id": null,
    "failover_destination": null,
    "failover_destination_name": null,
    "departments": [
      {
        "name": "Test Department 1",
        "id": "1"
      },
      {
        "name": "Test department 2",
        "id": "2"
      }
    ]
  }
]
Language
Click Try It! to start a request and see the response here!