Count Devices for a Domain/User
POST
/?object=device&action=countRequest URL
POST
https://uc.hopdial.com/ns-api/?object=device&action=countSend 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 |
useroptionalbody | string | Filters results by user |
Example request
text
curl https://uc.hopdial.com/ns-api/ \
-H 'Authorization: Bearer 7bet078rqljh451l31uh34lsd0f80dsf' \
-d object='device' \
-d action='count' \
-d domain='abc-company.11111.service' \
-d user='100'Responses
200 · application/xml
<?xml version="1.0" encoding="UTF-8"?>
<xml>
<total>3</total>
</xml>400 · text/plain
{}More Device endpoints
Manage the SIP devices registered to each user.
Need a Client ID and Client Secret or help with this endpoint? Contact HopDial support or call (866) 305-0407.