Read Active Calls

Read active calls

POST/?object=call&action=read

Request URL

POST
https://uc.hopdial.com/ns-api/?object=call&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
domain
optionalbody
string

NMS domain

start
optionalbody
integer (int32)

Offset from the beginning of the returned list.

Default: 0

limit
optionalbody
string

Number limit for the amount of CDRs returned.

sort
optionalbody
integer (int32)

Sorting preference for Call list output. Default sorts by the time a call began in ascending order.

Example request

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

Responses

200 · application/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.

Need a Client ID and Client Secret or help with this endpoint? Contact HopDial support or call (866) 305-0407.