| Method | POST |
|---|---|
| Endpoint | https://{{host}}/agentassist/api/v1/public/{{botId}}/agents/availability |
| Content-Type | application/json |
| Authorization | auth: {{JWT}} See How to generate the JWT Token |
| API Scope | Configuration |
Path Parameters
| Parameter | Description | Type |
|---|---|---|
host | Environment URL, for example, https://platform.kore.ai | string, required |
botId | BotId or StreamId. You can access it from the App Settings page. | string, required |
Sample Request
Headers
| Header | Description | Required/Optional |
|---|---|---|
accountId | The account ID associated with the API request. | required |
auth | JWT token for authentication. | required |
Body Parameters
| Parameter | Description | Type |
|---|---|---|
skillIds | An array of skill IDs to check agent availability. | string, optional |
queueIds | An array of queue IDs for filtering agents. | string, optional |
agentIds | An array of specific agent IDs to check. | string, optional |
Sample Response
Response Body Parameters
| Parameter | Description | Type |
|---|---|---|
AVAILABLE | List of agents who are currently available. | array |
BUSY | List of agents who are currently busy. | array |
OFFLINE | List of agents who are currently offline. | array |
AWAY | List of agents who are currently away. | array |
_id | Unique identifier of the agent. | string |
userId | Unique identifier of the user. | string |
firstName | First name of the agent. | string |
lastName | Last name of the agent. | string |
emailId | Email address of the agent. | string |
customId | Custom identifier for the agent. | string |
phoneNumber | Contact number of the agent. | string |