To update the details of a particular agent with the given streamId and agentId.
| Method | PUT |
| Endpoint | https://{host}/agentassist/api/v1/public/{streamId}/agents/{agentId}?groupId={agentGroupId} |
| 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 |
| agentId | The agentId of the particular agent whose details are being retrieved. | String, Required |
Query Parameter
| Parameter | Description | Type |
|---|---|---|
| agentgroupId | The agentgroupId of the particular agent whose details are being retrieved. | String, Required |
Sample Request
curl --location --request PUT 'https://{host}/agentassist/api/v1/public/{streamId}/agents/{agentId}?groupId={agentGroupId}' \
--header 'accept: application/json' \
--header 'auth: <token>' \
--header 'accountId: {{accountId}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"firstName": "aug08",
"lastName": "agent1",
"fullName": "aug08 agent1",
"lFullName": "aug08 agent1",
"emailId": "aug08agent1@yopmail.com",
"nickName": "agent One",
"phoneNumber": "134567890982",
"userId": "u-4bd33510-057b-505b-820d-7de70816xxxx",
"accountId": "67654be356840f366e79xxxx",
"isAccountOwner": false,
"orgId": "o-7fc14025-8feb-5b1b-889d-4a689f9dxxxx",
"customId": "A..Zxyz09!'''()*+,-./:;<=>?@[]^_`{|}~2222212221212121219",
"agentGroups": [
{
"groupId": "ag-c57b602-151a-41c8-8630-a1eae433xxxx",
"role": "agent"
}
],
"canSupportChat": true,
"canSupportCase": false,
"canSupportVoiceMail": false,
"chatLanguageSupport": [
{
"language": "en",
"proficiency": "expert",
"isActive": true
}
],
"canSupportVoice": true,
"voiceLanguageSupport": [
{
"language": "en",
"proficiency": "expert",
"isActive": true
}
],
"attachmentsEnabled": true,
"emojisEnabled": true,
"createdBy": "u-e454bed4-1f28-5a19-83bb-b29cc237xxxx",
"status": "ACTIVE",
"roleId": "67654be356840f366e79xxxx",
"iId": "st-ceb5fb14-37eb-54a8-a32d-1d751c10xxxx",
"createdByAId": "a-ca6a70e-32d3-43bb-b7ee-d29995a0xxxx",
"desktopLayouts": [
{
"id": "ly-c118776-315a-4b36-a0dc-00010296xxxx",
"isDefault": true
}
],
"maxDigitalChatSupport": 5,
"maxEmailChatSupport": 5,
"maxMessagingChatSupport": 5,
"markedAutoAway": false,
"dAgentGroups": [],
"caseLanguageSupport": [],
"lastOnlineAt": "2025-08-05T06:42:06.414Z",
"voiceSupport": [],
"createdAt": "2025-08-05T06:42:06.414Z",
"updatedAt": "2025-08-05T06:42:06.414Z",
"id": "a-5892576-bb12-461b-a58a-637d1d21xxxx",
"agentGroupId": "ag-c57b602-151a-41c8-8630-a1eae433xxxx",
"queues": [],
"skills": []
}'
Headers
- accountId (required): The account ID associated with the API request.
- auth (required): JWT token for authentication.
Body Parameters
| Parameter | Description | Type |
|---|---|---|
firstName |
First name of the agent. | String, Required |
lastName |
Last name of the agent. | String, Required |
fullName |
Full name of the agent (first name + last name). | String, Optional |
lFullName |
Localized full name of the agent. | String, Optional |
emailId |
Email address of the agent. Must be unique. | String, Required |
nickName |
Nickname of the agent. | String, Optional |
phoneNumber |
Contact number of the agent. | String, Optional |
userId |
Unique user identifier assigned to the agent. | String, Required |
accountId |
Unique identifier of the account. | String, Required |
isAccountOwner |
Indicates if the agent is the account owner. | Boolean, Optional |
orgId |
Identifier for the organization. | String, Required |
customId |
Custom identifier for the agent. Supports special characters except space. | String, Optional |
agentGroups |
List of agent groups and roles assigned. | Array of Objects, Optional |
agentGroups.groupId |
Unique identifier of the agent group. | String, Required |
agentGroups.role |
Role of the agent within the group. | String, Required |
canSupportChat |
Defines if the agent can handle chat interactions. | Boolean, Optional |
canSupportCase |
Defines if the agent can handle case interactions. | Boolean, Optional |
canSupportVoiceMail |
Defines if the agent can handle voice mails. | Boolean, Optional |
chatLanguageSupport |
List of languages and proficiency levels supported for chat. | Array of Objects, Optional |
chatLanguageSupport.language |
Language code (for example, “en”). | String, Required |
chatLanguageSupport.proficiency |
Proficiency level in the language. | String, Required |
chatLanguageSupport.isActive |
Indicates if the language is active. | Boolean, Optional |
canSupportVoice |
Defines if the agent can handle voice interactions. | Boolean, Optional |
voiceLanguageSupport |
List of languages and proficiency levels supported for voice. | Array of Objects, Optional |
voiceLanguageSupport.language |
Language code (for example, “en”). | String, Required |
voiceLanguageSupport.proficiency |
Proficiency level in the language. | String, Required |
voiceLanguageSupport.isActive |
Indicates if the language is active. | Boolean, Optional |
attachmentsEnabled |
Defines if the agent can send/receive attachments. | Boolean, Optional |
emojisEnabled |
Defines if the agent can use emojis. | Boolean, Optional |
createdBy |
Identifier of the user who created the agent record. | String, Optional |
status |
Current status of the agent (for example, ACTIVE). | String, Optional |
roleId |
Identifier for the role assigned to the agent. | String, Required |
iId |
Instance identifier of the agent. | String, Required |
createdByAId |
Identifier of the admin who created the agent record. | String, Optional |
desktopLayouts |
List of desktop layouts assigned to the agent. | Array of Objects, Optional |
desktopLayouts.id |
Identifier of the desktop layout. | String, Required |
desktopLayouts.isDefault |
Defines if the layout is the default. | Boolean, Optional |
maxDigitalChatSupport |
Maximum number of simultaneous digital chats supported. | Integer, Optional |
maxEmailChatSupport |
Maximum number of simultaneous email chats supported. | Integer, Optional |
maxMessagingChatSupport |
Maximum number of simultaneous messaging chats supported. | Integer, Optional |
markedAutoAway |
Indicates if the agent is auto-marked away. | Boolean, Optional |
dAgentGroups |
Deprecated/unused agent groups. | Array, Optional |
caseLanguageSupport |
List of supported languages for case handling. | Array, Optional |
lastOnlineAt |
Timestamp of when the agent was last online (ISO 8601). | String, Optional |
voiceSupport |
List of voice support configurations. | Array, Optional |
createdAt |
Timestamp when the agent record was created (ISO 8601). | String, Optional |
updatedAt |
Timestamp when the agent record was last updated (ISO 8601). | String, Optional |
id |
Unique identifier of the agent. | String, Required |
agentGroupId |
Identifier of the default agent group. | String, Required |
queues |
List of queues assigned to the agent. | Array, Optional |
skills |
List of skills assigned to the agent. | Array, Optional |
Sample Response
{
"status": "ACTIVE",
"agentAffinity": false,
"canSupportChat": true,
"maxChatSupport": 5,
"roleId": "6344eb107b65bd738aa698b1",
"chatLanguageSupport": [
{
"isActive": true,
"language": "en",
"proficiency": "expert"
}
],
"canSupportVoice": true,
"voiceLanguageSupport": [
{
"isActive": true,
"language": "en",
"proficiency": "expert"
}
],
"desktopLayouts": [
{
"isDefault": true,
"name": "Default Layout",
"id": "ly-59736ed-eaac-40d6-8c5b-db294b100672"
},
{
"isDefault": false,
"name": "test1",
"id": "ly-2a591ae-5021-4e25-a9be-9997e5857e2d"
}
],
"userId": "u-cc128d1c-a846-5acb-b075-9fc49a73xxxx",
"accountId": "633ffa91d784f471d0b8xxxx",
"createdBy": "u-ca2cc57f-5c2b-5437-bb07-fe9020d88050",
"orgId": "o-f7507858-f354-504a-b56b-39464fb05319",
"agentGroups": [
{
"groupId": "ag-bdc4010-e237-48e6-bb72-d3449a03a622",
"role": "agent"
}
],
"lastOnlineAt": "2022-10-11T04:06:41.286Z",
"createdAt": "2022-10-07T10:10:39.231Z",
"updatedAt": "2022-10-12T10:48:53.418Z",
"onlineStatus": "Available",
"onlineStatusType": "AVAILABLE",
"id": "a-1a36a7e-bb33-4bcc-ab7b-ac33773871d8",
"emailId": "test.agent01.octxx@domain.com",
"firstName": "test",
"lastName": "agent 01",
"nickName": "test agent 01",
"phoneNumber": "9123456xxxx",
"profImage": "no-avatar",
"sipURI": "sip:supportdevelopment2xx@52.4.142.1xx:5060",
"skills": [
{
"skillId": "633ffac608f3a07459939a1f",
"proficiencyLevel": "expert",
"userId": "u-cc128d1c-a846-5acb-b075-9fc49a73xxxx",
"createdBy": "u-ca2cc57f-5c2b-5437-bb07-fe9020d88050",
"accountId": "633ffa91d784f471d0b8xxxx",
"orgId": "o-f7507858-f354-504a-b56b-39464fb05319",
"createdAt": "2022-10-12T10:48:53.468Z",
"updatedAt": "2022-10-12T10:48:53.468Z",
"id": "63469b95b63e3c0ed3e3fa5b",
"name": "Default Skill",
"skillGroupName": "Default SkillGroup",
"skillGroupColor": "#D2000D"
}
],
"queues": [
{
"id": "qu-353c014-96bb-4c3e-aebd-87a37927c780",
"name": "Default Queue",
"description": "queue description",
"isPreferredAgent": true
}
]
}