Count Phones
POST
/?object=mac&action=countRequest URL
POST
https://uc.hopdial.com/ns-api/?object=mac&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 |
|---|---|---|
territoryrequiredbody | string | Filters results by territory ID |
domainoptionalbody | string | Filters results by domain |
mac_LIKEoptionalbody | string | Filters results by mac addresses that contain these characters |
modeloptionalbody | string | Filters results by model name |
Example request
shell
curl https://uc.hopdial.com/ns-api/ \
-H 'Authorization: Bearer 7bet078rqljh451l31uh34lsd0f80dsf' \
-d object='mac' \
-d action='count' \
-d territory='11111' \
-d domain='abc-comapny.11111.service'Responses
200 · application/xml
<?xml version="1.0" encoding="UTF-8"?>
<xml>
<total>5</total>
</xml>400 · application/json
{}More Phone endpoints
Provision, read, update, and resync desk phones.
Need a Client ID and Client Secret or help with this endpoint? Contact HopDial support or call (866) 305-0407.