To add an agent with the given Stream Id.
Method | POST |
Endpoint | https://{{host}}/agentassist/api/v1/public/{{streamId}}/agent-groups |
Content Type | application/json |
Authorization | auth: {{JWT}} See How to generate the JWT Token. |
API Scope | SmartAssist Analytics |
Path Parameters
Parameter | Description | Type |
---|---|---|
host | Environment URL, for example, https://smartassist.kore.ai | String, Required |
BotId | BotId or StreamId. You can access it from the General Settings page of the bot. | String, Required |
Sample Request
curl --location --request POST \ 'https://{{host}}/agentassist/api/v1/public/{{streamId}}/agent-groups' --header 'auth: {jwt-code}' \ --header 'accountId: {{accountId}}' --header 'Content-Type: application/json' \ --data-raw ' { "name": "US West Coast team", "description": "US west coast team handles west side.", }'
Headers
- accountId (required): The account ID associated with the API request.
- auth (required): JWT token for authentication.
Body Parameters
Parameter | Description | Type |
---|---|---|
name | Name of the Agent Group up to 50 characters long. | String, Required |
description | Brief description of the agent Group up to 50 characters long. | String, Required |
Sample Response
{ "name": "US West Coast team", "description": "US west coast team handles west side.", }