POST
/
v1
/
calls
/
{call_id}
/
terminate
Terminate call
curl --request POST \
  --url https://api.callrounded.com/v1/calls/{call_id}/terminate \
  --header 'X-Api-Key: <api-key>'
{
  "message": "Call terminated successfully",
  "data": "<any>",
  "error": {
    "details": [
      {
        "field": "email",
        "message": "Invalid email format"
      }
    ],
    "message": "An error occurred while processing your request",
    "status": 400,
    "type": "generic_error"
  },
  "status": 200
}

Authorizations

X-Api-Key
string
header
required

The API Key created in Rounded Studio.

Path Parameters

call_id
string<uuid>
required

Response

Successfully terminated call or call already terminated

message
string
default:Call terminated successfully

Response message indicating the result of the operation.

data
any
error
object | null
Example:
{
  "details": [
    {
      "field": "email",
      "message": "Invalid email format"
    }
  ],
  "message": "An error occurred while processing your request",
  "status": 400,
  "type": "generic_error"
}
status
integer
default:200

HTTP status code of the response.