Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Latest commit

 

History

History
32 lines (24 loc) · 1.46 KB

File metadata and controls

32 lines (24 loc) · 1.46 KB

Get Call Center Extension

HTTP MethodURLRequires Auth
GET/api/v1/omnichannel/extensionyes

{% hint style="info" %} Permission required: manage-agent-extension-association {% endhint %}

Query Parameters

KeyExample ValueDescription
userId* or username*2hzS2maZM39wGggddThe value of the user ID or the user name.
type*free

The type of extension. The values can be:

  • free
  • allocated
  • available

Example Call

curl --location --request GET 'localhost:3000/api/v1/omnichannel/extension? \
--header 'X-Auth-Token: xS8jnLS2YzVy-_w8T_S0WnQm5SnADjACa7gbXmcOcLY' \
--header 'X-User-Id: 6vHSSqdBHdm2R4gfi' \
--header 'Content-Type: application/json' \
--data-raw '{
    "userId": "2hzS2maZM39wGggdd",
    "type": "free"
}'

Example Response

{
    "extensions": "10023"
}