WaMCP
Api referencecalls

Terminate Call

Terminate an active call. Must be called even when an RTCP BYE packet is received.

POST
/api/call/terminate

Terminate an active call. Must be called even when an RTCP BYE packet is received.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/call/terminate" \  -H "Content-Type: application/json" \  -d '{    "client_id": "string",    "call_id": "string"  }'
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}