Hang up outbound voice call
Dillo API offers the possibility to hang up a call with a simple GET or POST request. In order to send this request, you need the Id of the outbound request.
You receive this information when you send the request or from your account in Voice Activity page, on the Pending tab.
https://api.dillo.cloud/api/voice/outbound/hangup/{id}
***Replace {id} with the unique identifier code that is provided in the response body from a POST callPlease note that you have to add the authorization headers to every request you make to the Dillo API.
Request Example
C#
JavaScript
Java
Python
Response Example
An hangup up call can have the following responses:
Status | Description |
---|---|
200 OK | The call was successfully ended |
404 Not found | The id send as parameter in HTTP request it is not valid |
400 Bad Request | The call has ended and has a final status. |
The voice call is ended and will be archived | |
The voice call request was just send or is ringing. |