Place orig/tem end on Hold

POST/?object=call

Request URL

POST
https://uc.hopdial.com/ns-api/?object=call

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
object
requiredbody
string

Must be "call"

action
requiredbody
string

Must be "hold_orig" or "hold_term"

uid
requiredbody
string

<user>@<domain> of subscriber monitoring the call

callid
requiredbody
string

Call-ID of the call being placed on hold

Example request

text
curl https://uc.hopdial.com/ns-api/ \
   -H 'Authorization: Bearer 7bet078rqljh451l31uh34lsd0f80dsf' \
   -d object='call' \
   -d action='hold_orig' \
   -d uid='[email protected]' \
   -d callid='[email protected]'

Responses

200 · application/json

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.