DELETE
/
api
/
v1
/
campaigns
/
{id}
/
contacts
/
{contact_id}
curl -X DELETE "https://api.ravan.ai/api/v1/campaigns/019d5b4c-8d9e-0f1a-2b3c-4d5e6f7a8b9c/contacts/019d3a2b-5c6d-7e8f-9a0b-1c2d3e4f5a6b" \
  -H "X-Api-Key: YOUR_API_KEY"
{ "success": true, "message": "Contact removed from campaign" }

Authorizations

X-Api-Key
string
required
Your Agni API key.

Path Parameters

id
string
required
Campaign UUID.
contact_id
string
required
Contact UUID to remove.

Response

success
boolean
Whether the request succeeded.
message
string
Human-readable status message.
curl -X DELETE "https://api.ravan.ai/api/v1/campaigns/019d5b4c-8d9e-0f1a-2b3c-4d5e6f7a8b9c/contacts/019d3a2b-5c6d-7e8f-9a0b-1c2d3e4f5a6b" \
  -H "X-Api-Key: YOUR_API_KEY"
{ "success": true, "message": "Contact removed from campaign" }

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Campaign UUID

contact_id
string
required

Contact UUID

Response

Successful response