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
All parameters are valid and the API call ends
Was this page helpful?
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"
}'