List Subscribers on a domain
list users with less data then the read action
POST
/?object=subscriber&action=listRequest URL
POST
https://uc.hopdial.com/ns-api/?object=subscriber&action=listSend 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 |
|---|---|---|
territoryoptionalbody | string | Filters results by territory ID |
domainoptionalbody | string | Filters results by domain |
Example request
shell
curl https://uc.hopdial.com/ns-api/ \
-H 'Authorization: Bearer 7bet078rqljh451l31uh34lsd0f80dsf' \
-d object='subscriber' \
-d action='list' \
-d domain='abc-company.11111.service'Responses
200 · application/xml
<?xml version="1.0" encoding="UTF-8"?>
<xml>
<subscriber>
<user>100</user>
<domain>abc-company.11111.service</domain>
<first_name>Joe</first_name>
<last_name>Smith</last_name>
<group>Agent</group>
<dir>563</dir>
</subscriber>
<subscriber>
<user>101</user>
<domain>abc-company.11111.service</domain>
<first_name>Mary</first_name>
<last_name>Smith</last_name>
<group>Agent</group>
<dir>627</dir>
</subscriber>
<subscriber>
<user>103</user>
<domain>abc-company.11111.service</domain>
<first_name>Jim</first_name>
<last_name>Smith</last_name>
<group>Agent</group>
<dir>546</dir>
</subscriber>
</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.