Update Subscriber

Change user settings

POST/?object=subscriber&action=update

Request URL

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

user
requiredbody
string

Subscriber Name to be updated

data_limit
optionalbody
integer (int32)

Number of kb of voicemails that can be kept on the system. Must be either 5000, 10000, 25000, 50000, 100000, or 250000.

Default: 5000

screen
optionalbody
string

Must be "yes" or "no"

subscriber_login
optionalbody
string

Username to the Manager portals.

Default: <extension>@<domain prefix>

password
optionalbody
string

Manager portal password. The password value submitted will only be honored if the password is previously unset. Otherwise, this param cannot be used to update the password.

subscriber_pin
optionalbody
integer (int32)

Voicemail password.

group
optionalbody
string

This is the "Department" and helps group Subscribers together. An example would be '"Sales"

time_zone
optionalbody
string

Example "US/Eastern"

language
optionalbody
string

The language to be used in the portal

dir_anc
optionalbody
string

Must be "yes" or "no"

directory_order
optionalbody
integer (int32)

If 2 or more subscribers have the same directory sequence.

vmail_greeting
optionalbody
integer (int32)

Index of the greeting to use for Voicemail

vmail_enabled
optionalbody
string

Must be "yes" or "no"

rej_anony
optionalbody
string

Must be "yes" or "no". Will reject any call routed to this Subscriber that is anonymous or has privacy set.

vmail_annc_time
optionalbody
string

Must be "yes" or "no". Will announce voicemail time before listening to a subscriber Voicemail

vmail_annc_cid
optionalbody
string

Must be "yes" or "no". Will announce the ANI of the call before listening to a voicemail

vmail_sort_lifo
optionalbody
string

Must be "yes" or "no".

ntfy_missed_call
optionalbody
string

Must be "yes" or "no". Will send an email whenever a call is missed by this subscriber

ntfy_data_limit
optionalbody
string

Must be "yes" or "no". Will send an email when voicemail data limit has been reached

dial_policy
optionalbody
string

Must be a valid Dial Policy. Any dial policy found in the Manager portal can be used here. (Case sensitive)

dial_plan
optionalbody
string

Must be the same as the domain

Default: domain

callid_emgr
optionalbody
integer (int32)

Must be 10 digit number

callid_nmbr
optionalbody
integer (int32)

Must be 10 digit number

callid_name
optionalbody
string

Can be any Alpha-numeric string

dir_list
optionalbody
string

Must be "yes" or "no"

vmail_notify
optionalbody
string

Must be "attnew", ""attsave", "atttrash", "briefattnew", "briefattsave", or "briefatttrash"

email
optionalbody
string

Any valid email address

last_name
optionalbody
string

Any alpha-numeric string

first_name
optionalbody
string

Any alpha-numeric string

no_answer_timeout
optionalbody
integer (int32)

Amount of seconds call should attempt the active answering rule for the subscriber

message
optionalbody
string

Status message of the subscriber

Example request

curl
curl https://uc.hopdial.com/ns-api/ \
   -H 'Authorization: Bearer 7bet078rqljh451l31uh34lsd0f80dsf' \
   -d object='subscriber' \
   -d action='update' \
   -d domain='abc-company.11111.service' \
   -d user="1000"	\
   -d first_name="Name" \
   -d last_name="Fake"

Responses

200 · application/xml

More Subscriber endpoints

List, read, create, update, and remove users (extensions) on your domain.

Need a Client ID and Client Secret or help with this endpoint? Contact HopDial support or call (866) 305-0407.