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 call
Please note that you have to add the authorization headers to every request you make to the Dillo API.

Request Example

Response Example

An hangup up call can have the following responses:

StatusMessageDescription
200 OK The call was successfully ended
404 Not foundSendAction type = Voice - id = {your request id} not foundThe id send as parameter in HTTP request it is not valid
400 Bad RequestThe voice call with Id = '{your request id}' has already been archivedThe call has ended and has a final status.
The voice call with Id = '{ your request id }' has already endedThe voice call is ended and will be archived
The voice call with Id = '{ your request id }' is still pending, but it has not started yetThe voice call request was just send or is ringing.