Make Agent Unavailable
Make agent unavailable for calls in queues.
POST
/?object=agent&action=update&entry_action=make_maRequest URL
POST
https://uc.hopdial.com/ns-api/?object=agent&action=update&entry_action=make_maSend your access token in the Authorization: Bearer header. Body parameters are sent as application/x-www-form-urlencoded. New to the API? Start with authentication and rate limits.
Parameters
| Name | Type | Description |
|---|---|---|
devicerequiredbody | string | Device of the agent. Must be in the format sip:<device>@<domain> |
queuerequiredbody | string | A queue that the agent participates in |
domainrequiredbody | string | Domain of the agent |
entry_optionrequiredbody | string | Must be "manual". |
device_aorrequiredbody | string | <device>@<queue>@<domain> |
Example request
text
curl https://uc.hopdial.com/ns-api/ \
-H 'Authorization: Bearer 7bet078rqljh451l31uh34lsd0f80dsf' \
-d object='agent' \
-d action='update' \
-d device='sip:[email protected]' \
-d queue='880' \
-d domain='acme.12345.service' \
-d entry_option='manual' \
-d device_aor='101@[email protected]' \
-d entry_action='make_ma'Responses
200 · application/json
{}400 · application/json
{}More Agent endpoints
Manage call queue agents and their availability.
Need a Client ID and Client Secret or help with this endpoint? Contact HopDial support or call (866) 305-0407.