> ## Documentation Index
> Fetch the complete documentation index at: https://koreai.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Queues API

[Back to API List](https://koreai.mintlify.site/ai-for-service/apis/contact-center/api-list)

To get the Queues/Skills associated with an `accountId`.

| Method | GET |
| :- | :- |
| **Endpoint** | `https://{{host}}/agentassist/api/public/analytics/account/{{accountId}}/queues` |
| **Content-Type** | `application/json` |
| **Authorization** | `auth: {{JWT}}` See [How to generate the JWT Token.](https://koreai.mintlify.site/ai-for-service/apis/automation/api-introduction.md#generating-the-jwt-token) |
| **API Scope** | WFM Integration |

## Path Parameters

| Parameter | Description | Type |
| :- | :- | :- |
| `host` | The environment URL. Example: `https://platform.kore.ai` | string (required) |
| `accountId` | The unique identifier for the account. | string (required) |

## Sample Request

```bash theme={null}
curl --location 'https://{{host}}/agentassist/api/public/analytics/account/{{accountId}}/queues' \
--header 'auth: <token>' \
--header 'Content-Type: application/json' \
--header 'iId: {{streamId}}' 
```

## Header Parameters

| Header | Description | Optional/Required |
| :- | :- | :- |
| `content-type` | Request body format (application/json;charset=UTF-8) | Required |
| `auth` | JWT authentication token | Required |
| `iId` | Stream or application id | Required |

## Sample Response

```json theme={null}
 [
	{
		accountId: "63fb9a0f90425b644d3exxxx",
		"collectionPointId":"qu-59bb17e-0cae-46b0-8d80-a8a8ac34xxxx",
		"Description": "Default Queue"
	}
]
```

## Body Parameters

| Parameter | Description | Type |
| :- | :- | :- |
| `accountId` | Unique identifier for the account. Example: `63fb9a0f90425b644d3exxxx`. | String |
| `collectionPointId` | Unique identifier for the collection point (queue). Example: `qu-59bb17e-0cae-46b0-8d80-a8a8ac34xxxx`. | String |
| `description` | Description of the collection point or queue. Example: `Default Queue`. | String |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.