Skip to content
Docs
GitHub

End call

Preview

End a voice call.

Public APIEverruns Cloud and self-hosted Platform

POST/v1/sessions/{session_id}/voice/{voice_connection_id}/end

See authentication for credentials and permissions.

session_id
required
string
voice_connection_id
required
string
Media typeapplication/json

Request body for ending a call.

object
reason

Free-text reason recorded with the session-ended event.

string | null

Example

User hung up after refund confirmed.

Responses

200Voice call ended

Voice call ended

Media typeapplication/json

Response body for ending a call.

object
status
required

Current lifecycle status.

string
voice_connection_id
required

Prefixed public identifier of the voice connection that was ended.

string

Example generated

{
"status": "example",
"voice_connection_id": "example"
}