Stopcall

API Docs by APIMATIC

Stopcall
#

  • REST
  • Java

Stopcall
#

End the agent's call initiated by the click2call API. Agents are identified by their extensions in the agent parameter.

POST /api/v1/{api_key}/click2call_hangup

API Code Playground

Endpoint Arguments
Parameters
Required
Required
String
Template
body
Required
Required
String


Responses

  • 204
  • 400
  • 403

All parameters are valid and the API call ends

There is no response body for this status code.
  • Request
  • Response
curl -X POST \
  --url 'https://{cluster_id}.voiso.com/api/v1/%7Bcontact_center_api_key%7D/click2call_hangup'  \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "agent": "agent0"
}'