Update Phone
POST
/?object=mac&action=updateRequest URL
POST
https://uc.hopdial.com/ns-api/?object=mac&action=updateSend 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 |
|---|---|---|
domainrequiredbody | string | HopDial domain ex. abc-company.11111.service |
macrequiredbody | string | The mac address of the phone. |
overridesoptionalbody | string | The overrides used to configure the phone. Default: |
dir_incoptionalbody | string | The directory on the phone. This can be set to "automatic" , "automaticFirst" , "automaticExt" , "local only" , "disabled" or set to a custom directory that has been created. |
presenceoptionalbody | string | Must be set to "disabled" or "enabled" |
sidecaroptionalbody | string | Must be set to "yes" or "no" |
Example request
text
curl https://uc.hopdial.com/ns-api/ \
-H 'Authorization: Bearer 7bet078rqljh451l31uh34lsd0f80dsf' \
-d object='mac' \
-d action='update' \
-d domain='abc-company.11111.service' \
-d mac='012345678912' \
-d dir_inc='automatic' Responses
200 · application/xml
400 · application/json
{}More Phone endpoints
Provision, read, update, and resync desk phones.
Need a Client ID and Client Secret or help with this endpoint? Contact HopDial support or call (866) 305-0407.