Create Call
Generate call between two endpoints.
POST
/?object=call&action=callRequest URL
POST
https://uc.hopdial.com/ns-api/?object=call&action=callSend 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 |
|---|---|---|
uidrequiredbody | string | <user>@<domain> to originate call as |
callidrequiredbody | string | Unique string identifying call |
destinationrequiredbody | string | Terminating number |
originationoptionalbody | string | Originating number |
Example request
text
curl https://uc.hopdial.com/ns-api/ \
-H 'Authorization: Bearer 7bet078rqljh451l31uh34lsd0f80dsf' \
-d object='call' \
-d action='call' \
-d uid='[email protected]' \
-d destination='18668673450' \
-d origination='14078675309'
-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.
- POSTRead Active Calls
- POSTCount Calls
- POSTReport Active 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.