Create Subscriber
creates user
/?object=subscriber&action=createRequest URL
https://uc.hopdial.com/ns-api/?object=subscriber&action=createSend 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 |
|---|---|---|
domainrequiredbody | string | HopDial domain ex. abc-company.11111.service |
userrequiredbody | string | Normally a 3, 4, 5, or 10 digit number. (This can be an alpha-numeric string as well) |
data_limitoptionalbody | 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: |
screenoptionalbody | string | Must be "yes" or "no" |
subscriber_loginoptionalbody | string | Username to the Manager portals. Default: |
passwordoptionalbody | string | Manager portal password. |
subscriber_pinoptionalbody | integer (int32) | Voicemail password. |
groupoptionalbody | string | This is the "Department" and helps group Subscribers together. An example would be '"Sales" |
time_zoneoptionalbody | string | Example "US/Eastern" |
languageoptionalbody | string | The language to be used in the portal |
dir_ancoptionalbody | string | Must be "yes" or "no" |
directory_orderoptionalbody | integer (int32) | If 2 or more subscribers have the same directory sequence. |
vmail_greetingoptionalbody | integer (int32) | Index of the greeting to use for Voicemail |
vmail_enabledoptionalbody | string | Must be "yes" or "no" |
rej_anonyoptionalbody | string | Must be "yes" or "no". Will reject any call routed to this Subscriber that is anonymous or has privacy set. |
vmail_annc_timeoptionalbody | string | Must be "yes" or "no". Will announce voicemail time before listening to a subscriber Voicemail |
vmail_annc_cidoptionalbody | string | Must be "yes" or "no". Will announce the ANI of the call before listening to a voicemail |
vmail_sort_lifooptionalbody | string | Must be "yes" or "no". |
ntfy_missed_calloptionalbody | string | Must be "yes" or "no". Will send an email whenever a call is missed by this subscriber |
ntfy_data_limitoptionalbody | string | Must be "yes" or "no". Will send an email when voicemail data limit has been reached |
dial_policyoptionalbody | string | Must be a valid Dial Policy. Any dial policy found in the Manager portal can be used here. (Case sensitive) |
dial_planoptionalbody | string | Must be the same as the domain Default: |
callid_emgroptionalbody | integer (int32) | Must be 10 digit number |
callid_nmbroptionalbody | integer (int32) | Must be 10 digit number |
callid_nameoptionalbody | string | Can be any Alpha-numeric string |
dir_listoptionalbody | string | Must be "yes" or "no" |
vmail_notifyoptionalbody | string | Must be "attnew", ""attsave", "atttrash","briefattnew", "briefattsave", or "briefatttrash" |
emailoptionalbody | string | Any valid email address |
last_nameoptionalbody | string | Any alpha-numeric string |
first_nameoptionalbody | string | Any alpha-numeric string |
no_answer_timeoutoptionalbody | integer (int32) | Amount of seconds call should attempt the active answering rule for the subscriber |
Example request
curl https://uc.hopdial.com/ns-api/ \
-H 'Authorization: Bearer 7bet078rqljh451l31uh34lsd0f80dsf' \
-d object='subscriber' \
-d action='create' \
-d domain='abc-company.11111.service' \
-d user="1000" \
-d first_name="Fake" \
-d last_name="Name"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.