PATCH
/
campaign
/
terminate
curl --request PATCH \
  --url https://prod-api.ringg.ai/ca/api/v0/campaign/terminate \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <x-api-key>' \
  --data '{
  "agent_id": "<string>",
  "call_ids": [
    "<string>"
  ],
  "campaign_id": "<string>"
}'
{
  "message": "Calls terminated successfully!"
}

Headers

X-API-KEY
string
required

(Required) Your Ringg AI API key.

Body

application/json

Response

200
application/json

Calls terminated successfully.

The response is of type object.