HTTP Method | URL | Requires Auth |
---|---|---|
GET | /api/v1/omnichannel/extension | yes |
{% hint style="info" %}
Permission required: manage-agent-extension-association
{% endhint %}
Key | Example Value | Description |
---|---|---|
userId * or username * | 2hzS2maZM39wGggdd | The value of the user ID or the user name. |
type * | free | The type of extension. The values can be:
|
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"
}