Update Omnichannel Agent Extension
Create agent-extension association information. Requires authentication
URL | Requires Authentication | HTTP Method |
/v1/omnichannel/agent/extension | Yes | POST |
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 | Description |
userId| username | string | Yes | The user name or user Id |
extension | string | Yes | The phone extension for VoIP |
curl --location --request POST 'localhost:3000/api/v1/omnichannel/agent/extension' \
--header 'X-Auth-Token: aEoKaT8qus3IZHlr_OlAzcsnz46SzZLJeqoRbbctcDQ' \
--header 'X-User-Id: 6vHSSqdBHdm2R4gfi' \
--header 'Content-Type: application/json' \
--data-raw '{
"username": "oWLW6v8c8oRGb4cC9",
}'
Last modified 1yr ago