Docs API & Developer GET /api/v1/agents

GET /api/v1/agents

List all agents and staff members on your 6X account.


GET /api/v1/agents

Returns all agents and staff members registered to your business.

Request

curl -X GET https://app.6xcom.com/api/v1/agents \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Response

{
  "data": [
    {
      "id": 2,
      "name": "Yomade Amuda",
      "extension": "6104",
      "label": "admin",
      "is_online": false,
      "role": "agent"
    },
    {
      "id": 1,
      "name": "Emmanuel Ofobor",
      "extension": null,
      "label": null,
      "is_online": false,
      "role": "staff"
    }
  ]
}
Was this article helpful?