The GET /skills/{skillId}/users
endpoint gets a list of users with the skill matching the skill ID provided.
Panel | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Request parameters
The endpoint accepts the following path parameter:
skillId
Type | Required | Example |
---|---|---|
String | True | 8e22b1fe-d2ea-403d-8c03-50eb21188e79 |
The skill ID of the required skill.
Responses
Responses contain the requested users.
Successful response
Successful requests return a 200 Success
code and the requested users.
Example response
Code Block | ||||
---|---|---|---|---|
| ||||
{
"users": [
{
"userId": "c7705a71-dac7-411f-8a7a-d1c6473334cc",
"agentDisplayId": "5896",
"name": "User1",
"agentSkillLevel": 5
},
{
"userId": "993e6114-ea84-250b-eb68-df4a4a7808bd",
"agentDisplayId": "33003",
"name": "User2",
"agentSkillLevel": 5
},
{
"userId": "8e25ac09-7620-f24f-a19a-3cdb5054a869",
"agentDisplayId": "86001",
"name": "User3",
"agentSkillLevel": 5
}
],
} |
where:
users
.userId
. The unique ID of the user that has the skill.agentDisplayId
. The ID of the agent who has the skill.name
. The name of the user who has the skill.agentSkillLevel
. The agent’s skill level.