Update Domain

POST/?object=domain&action=update

Request URL

POST
https://uc.hopdial.com/ns-api/?object=domain&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
territory
requiredbody
string

Territory ID

domain
requiredbody
string

HopDial domain ex. abc-company.11111.service

description
optionalbody
string

Description of domain

email_sender
optionalbody
string

This e-mail address will be displayed on e-mails sent from the system

time_zone
optionalbody
string

Must be one of the following: "US/Alaska" , "US/Central" , "US/Eastern" , "US/Hawaii" , "US/Mountain" , or "US/Pacific"

moh
optionalbody
string

Music on Hold. Must be "yes" or "no"

mor
optionalbody
string

Music on Ring. Must be "yes" or "no"

rmoh
optionalbody
string

Randomizes Music on Hold. Must be "yes" or "no"

resi
optionalbody
string

Residential voicemail. If set to no enhanced voicemail will be enabled. Must be "yes" or "no"

call_limit
optionalbody
integer (int32)

Limits the number of calls

call_limit_ext
optionalbody
integer (int32)

Limits the number of external calls

sub_limit
optionalbody
integer (int32)

Limits the number of users

max_call_queue
optionalbody
integer (int32)

Limits the number of call queues

max_aa
optionalbody
integer (int32)

Limits the number of auto attendants

max_conference
optionalbody
integer (int32)

Limits the number of conferences

max_department
optionalbody
integer (int32)

Limits the number of departments

max_user
optionalbody
integer (int32)

Limits the number of users

max_device
optionalbody
integer (int32)

Limits the number of devices

policies
optionalbody
string

Activates or Disables domain. Must be set to "active" or "locked"

Example request

text
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

400 · application/json
{}

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.