Update Domain
/?object=domain&action=updateRequest URL
https://uc.hopdial.com/ns-api/?object=domain&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 |
|---|---|---|
territoryrequiredbody | string | Territory ID |
domainrequiredbody | string | HopDial domain ex. abc-company.11111.service |
descriptionoptionalbody | string | Description of domain |
email_senderoptionalbody | string | This e-mail address will be displayed on e-mails sent from the system |
time_zoneoptionalbody | string | Must be one of the following: "US/Alaska" , "US/Central" , "US/Eastern" , "US/Hawaii" , "US/Mountain" , or "US/Pacific" |
mohoptionalbody | string | Music on Hold. Must be "yes" or "no" |
moroptionalbody | string | Music on Ring. Must be "yes" or "no" |
rmohoptionalbody | string | Randomizes Music on Hold. Must be "yes" or "no" |
resioptionalbody | string | Residential voicemail. If set to no enhanced voicemail will be enabled. Must be "yes" or "no" |
call_limitoptionalbody | integer (int32) | Limits the number of calls |
call_limit_extoptionalbody | integer (int32) | Limits the number of external calls |
sub_limitoptionalbody | integer (int32) | Limits the number of users |
max_call_queueoptionalbody | integer (int32) | Limits the number of call queues |
max_aaoptionalbody | integer (int32) | Limits the number of auto attendants |
max_conferenceoptionalbody | integer (int32) | Limits the number of conferences |
max_departmentoptionalbody | integer (int32) | Limits the number of departments |
max_useroptionalbody | integer (int32) | Limits the number of users |
max_deviceoptionalbody | integer (int32) | Limits the number of devices |
policiesoptionalbody | string | Activates or Disables domain. Must be set to "active" or "locked" |
Example request
curl https://uc.hopdial.com/ns-api/ \
-H 'Authorization: Bearer 7bet078rqljh451l31uh34lsd0f80dsf' \
-d object='domain' \
-d action='update' \
-d territory='11111' \
-d domain='abc-comapny.11111.service' \
-d description='ABC Company' \
-d email_sender='[email protected]' \
-d time_zone='US/Eastern'Responses
200 · application/xml
{}More Domains endpoints
Read and update your domain’s settings.
Need a Client ID and Client Secret or help with this endpoint? Contact HopDial support or call (866) 305-0407.