Update Phone

POST/?object=mac&action=update

Request URL

POST
https://uc.hopdial.com/ns-api/?object=mac&action=update

Send 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

NameTypeDescription
domain
requiredbody
string

HopDial domain ex. abc-company.11111.service

mac
requiredbody
string

The mac address of the phone.

overrides
optionalbody
string

The overrides used to configure the phone.

Default: automatic

dir_inc
optionalbody
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.

presence
optionalbody
string

Must be set to "disabled" or "enabled"

sidecar
optionalbody
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.