The POST /skills
endpoint creates a new skill using the provided values.
Panel |
---|
borderColor | #eeeeee |
---|
bgColor | white |
---|
titleColor | white |
---|
borderWidth | 1 |
---|
titleBGColor | #7ec9f4#0276D5 |
---|
borderStyle | solid |
---|
title | In this page |
---|
|
|
...
Authorization scopes supported:
Scope | Access granted |
---|
users:write | Entire endpoint |
Requests
Example Request
Code Block |
---|
language | powershell |
---|
theme | Midnight |
---|
|
curl -L -X POST "https://***.api.newvoicemedia.com/useradmin/skills" \
-H "Content-Type: application/json" \
-H "Accept: application/vnd.newvoicemedia.v4+json" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
--data-raw "<JSON BODY>" |
...
skillName
. The name of the skill.
Responses
Responses contain the created skill.
Successful response
Successful requests return a 200 Success
code and the created skill.
Example response
Code Block |
---|
|
{
"skillId": "7e7ee25f-76fa-4ca8-94df-dae9c65d4df0",
"skillName": "Skill1",
"skillDisplayId": 12345
} |
where:
skillId
. The unique ID of the skill.
skillName
. The name of the skill.skillDisplayID
. The skill's unique ID.
Insert excerpt |
---|
| _ExcerptRunInPostman |
---|
| _ExcerptRunInPostman |
---|
nopanel | true |
---|
|