Report Active Calls
POST
/?object=call&action=reportRequest URL
POST
https://uc.hopdial.com/ns-api/?object=call&action=reportSend 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 |
start_daterequiredbody | string (date) | Limit by start date. (Y-m-d H:i:s) Example: 2018-06-29 00:00:00 |
end_daterequiredbody | string (date) | Limit by end date. (Y-m-d H:i:s) Example: 2018-06-29 00:00:00 |
Example request
text
curl https://uc.hopdial.com/ns-api/ \
-H 'Authorization: Bearer 7bet078rqljh451l31uh34lsd0f80dsf' \
-d object='call' \
-d action='report' \
-d domain='abc-company.11111.service' \
-d start_date='2018-06-29 00:00:00' \
-d end_date='2018-06-29 23:59:59'Responses
200 · application/json
<?xml version="1.0" encoding="UTF-8"?>
<xml>
<day>
<type>ado</type>
<abc-company.11111.service>
<min>1</min>
<max>13</max>
<avg>4</avg>
<date>Fri, 29 Jun 2018 00:00:00 +0000</date>
</abc-company.11111.service>
</day>
</xml>400 · application/json
{}More Call endpoints
Click-to-call, read and count active calls, answer, hold, transfer, disconnect, and control recording on live calls.
- POSTCreate Call
- POSTRead Active Calls
- POSTCount Calls
- POSTAnswer Active Call
- POSTDisconnect Active Call
- POSTPlace orig/tem end on Hold
- POSTUnhold a Call
- POSTEnable Recording of an Active Call
- POSTDisable Recording of an Active Call
- POSTPause Recording of an Active Call
- POSTResume Recording of an Active Call
- POSTReject Incoming Call
- POSTTransfer an Active Call
Need a Client ID and Client Secret or help with this endpoint? Contact HopDial support or call (866) 305-0407.