To add a Skill Group with the given Stream Id.
Method | POST |
Endpoint | https://{{host}}/agentassist/api/v1/public/{{streamId}}/skill-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}}/skill-groups' --header 'auth: {jwt-code}' \ --header 'accountId: {{accountId}}' --header 'Content-Type: application/json' \ --data-raw '{ "name": "Premium Subscriptions", "description": "Skill Group For Premium SubScriptions.", "color": "#0f0f0f" }'
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 skill Group. | String, Required |
description | Brief description of the skill group up to 200 characters. | String, Optional |
color | Color id of the color you want for the skill group up to 200 characters. Example: sg-4372 |
String, Optional |
Sample Response
{ "id": "620b814ca2344f1caa8cec99", "name": "Account Management", "description": "Manage Account and its Settings", "color": "#f0f0f0" }