---
title: "List call queue agents"
method: GET
path: "/call_queues/{id}/agents"
tags: ["Call Queue"]
---

# List call queue agents

`GET /call_queues/{id}/agents`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/call_queues/{id}/agents`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/call_queues/:id/agents/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve a collection of call queue agents.

## Path parameters

- `id` string, required: The unique ID of the resource.

## Response `200`

OK

- object
  - `items` object[]
    - `extension_number` string: The extension number.
    - `display_name` string: The display name of user.
    - `skill_level` integer: The skill level of agent in queue. Only valid when `polling_strategy` is skill based.

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
