Update User Device
/?object=device&action=updateRequest URL
https://uc.hopdial.com/ns-api/?object=device&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 |
|---|---|---|
uidrequiredbody | string | This value should be "<device>@<domain>" |
devicerequiredbody | string | This value should be "sip:<device>@<domain>" |
nat_wanoptionalbody | string | Values are "automatic" or "none". "automatic" forces proxying the media through HopDial where "none" will attempt to bypass the media directly to our carriers Default: |
authentication_keyoptionalbody | string | Any alphanumeric key. Password the SIP user agent uses to register to the HopDial platform Default: |
expiresoptionalbody | integer (int32) | The amount of time between registration attempts before HopDial considers unregistered Default: |
call_processing_ruleoptionalbody | string | List of values separated by spaces. Possible values could be "Record" which forces HopDial to record any call to this device, "ForceNotify" which will force notify SIP packets to inform devices which can not subscribe to MWI |
termination_allowedoptionalbody | string | Must be "yes" or "no". Determines if device can receive inbound calls |
origination_allowedoptionalbody | string | Must be "yes" or "no". Determines if device can is allowed to make outbound calls |
authenticate_inviteoptionalbody | string | |
check-syncoptionalbody | string | Must be "yes" or "no" Default: |
Example request
curl https://uc.hopdial.com/ns-api/ \
-H 'Authorization: Bearer 7bet078rqljh451l31uh34lsd0f80dsf' \
-d object='device' \
-d action='update' \
-d device='sip:[email protected]' \
-d uid='[email protected]' \
-d expires='180'Responses
200 · application/xml
{}More Device endpoints
Manage the SIP devices registered to each user.
Need a Client ID and Client Secret or help with this endpoint? Contact HopDial support or call (866) 305-0407.