Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

Create or update a specialist routing mapping

POST/v1/specialist-mappings
Authorization
bearerAuthbearerAuthrequired
or
apiKeyAuthapiKeyAuthrequired
Request body
requiredapplication/json
agent_idstringrequired
enabledboolean
keywordsstring[] | null
priorityinteger<int64>
specialist_typestringrequired
Responses
200OK
agent_idstringrequired
created_atstring<date-time>required
enabledbooleanrequired
idstringrequired
keywordsstring[] | nullrequired
organization_idstringrequired
priorityinteger<int64>required
specialist_typestringrequired
updated_atstring<date-time>required
400Bad Request
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
401Unauthorized
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
403Forbidden
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
404Not Found
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
422Unprocessable Entity
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
500Internal Server Error
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X POST "/v1/specialist-mappings" \
  -H "Content-Type: application/json" \
  -d '{
  "agent_id": "string",
  "enabled": true,
  "keywords": [
    "string"
  ],
  "priority": 0,
  "specialist_type": "string"
}'
Response
{
  "agent_id": "string",
  "created_at": "2024-01-01T00:00:00Z",
  "enabled": true,
  "id": "string",
  "keywords": [
    "string"
  ],
  "organization_id": "string",
  "priority": 0,
  "specialist_type": "string",
  "updated_at": "2024-01-01T00:00:00Z"
}