/v1/call/hangup

Hangup Call

Currently, active/live call can be hung up by using the below method.

curl --request POST \
  --url https://api.servetel.in/v1/call/hangup \
  --header 'accept: application/json' \
  --header 'authorization: Bearer yourtokenhere' \
  --header 'content-type: application/json' \
   --data '{}'

Request variables

Variable NameDescriptionData Type
call_idUnique ID of callString

Sample request

curl --request POST \
  --url https://api.servetel.in/v1/call/hangup \
  --header 'accept: application/json' \
  --header 'authorization: Authorization' \
  --header 'content-type: application/json' \
  --data '{"call_id":"123456789.123"}'

Response variables

Variable NameDescriptionData Type
successRequest success statusBoolean
messageMessage corresponding success statusString
Language
Click Try It! to start a request and see the response here!