cURL
curl --request POST \ --url https://api.comm.com/api/v1/voice/agents/hangup-call \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "call_id": "<string>" } '
{ "message": "Call ended successfully" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"Call ended successfully"