Telephony
Request call termination
Changed onIdempotent stop for an integration call. Acknowledgment means the stop intent is durable; poll the call for confirmed completion. Requires telephony:manage.
post/v1/telephony/calls/{id}/hangup
Request
- Base URL: https://api.pyai.com
- URL: https://api.pyai.com/v1/telephony/calls/{id}/hangup
- Auth: one of:
- HTTP bearer
- API key in header x-api-key
Path parameters
idstring required
Response
Stop accepted
Example response
{
"object": "telephony.call",
"id": "tcall_...",
"to": "+14155550123",
"artifacts": {
"ai_usage": {
"meter": "agents.minutes"
},
"usage": {
"meter": "telephony.minutes"
}
}
}Changes
- info
endpoint added
- info