Get Call Center Extension
Fetch call center extension information
URL | Requires Authentication | HTTP Method |
/v1/omnichannel/extension | Yes | GET |
Header | Example | Description |
X-Auth-Token | myauth-token | Your token (returned after you log in through the API) |
X-User-Id | myuser-name | Your username hash (returned after you log in through the API) |
Argument | Data Type | Required |
userId| username | string | Yes |
type | 'free' | 'allocated' | 'available' | Yes |
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"
}'
{
"extensions": "10023"
401 Unauthorized
Last modified 1yr ago