Read Domain

show domain settings

POST/?object=domain&action=read

Request URL

POST
https://uc.hopdial.com/ns-api/?object=domain&action=read

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

Filters results by territory ID

domain
optionalbody
string

Filters results by domain

Example request

text
curl https://uc.hopdial.com/ns-api/ \
   -H 'Authorization: Bearer 7bet078rqljh451l31uh34lsd0f80dsf' \
   -d object='domain' \
   -d action='read' \
   -d territory='11111' \
   -d domain='abc-company.11111.service'

Responses

200 · application/xml
<?xml version="1.0" encoding="UTF-8"?>
<xml>
    <domain>
        <domain>abc-company.11111.service</domain>
        <territory>11111</territory>
        <dial_match/>
        <description>ABC Company</description>
        <moh>yes</moh>
        <mor>no</mor>
        <mot>no</mot>
        <rmoh>yes</rmoh>
        <rating>no</rating>
        <resi>no</resi>
        <mksdir>yes</mksdir>
        <call_limit>0</call_limit>
        <call_limit_ext>0</call_limit_ext>
        <sub_limit>0</sub_limit>
        <max_call_queue>0</max_call_queue>
        <max_aa>0</max_aa>
        <max_conference>0</max_conference>
        <max_department>0</max_department>
        <max_user>0</max_user>
        <max_device>0</max_device>
        <time_zone>US/Eastern</time_zone>
        <dial_plan>abc-company.11111.service</dial_plan>
        <dial_policy>Continental US</dial_policy>
        <policies>active</policies>
        <email_sender>[email protected]</email_sender>
        <smtp_host/>
        <smtp_port/>
        <smtp_uid/>
        <smtp_pwd/>
        <from_user>[*]</from_user>
        <from_host>[*]</from_host>
        <active_call>6</active_call>
        <countForLimit>4</countForLimit>
        <countExternal>3</countExternal>
        <sub_count>152</sub_count>
        <vmail_provisioned>yes</vmail_provisioned>
        <callid_nmbr>1234567890</callid_nmbr>
        <callid_name>ABC Company</callid_name>
        <callid_emgr>1234567890</callid_emgr>
        <area_code>123</area_code>
        <vmail_transcribe>no</vmail_transcribe>
        <language>en_US</language>
    </domain>
</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.