Skip to main content
DELETE
/
api
/
v1
/
campaigns
/
{id}
/
contacts
/
{contact_id}
Remove Contact from Campaign
curl --request DELETE \
  --url https://api.ravan.ai/api/v1/campaigns/{id}/contacts/{contact_id} \
  --header 'X-Api-Key: <api-key>'

Authorizations

X-Api-Key
string
required
Your Agni API key used to authenticate the request. Pass it in the X-Api-Key header. Find or rotate it from your Ravan AI account settings.

Path Parameters

id
string
required
The unique ID of the resource in the path. Use the ID returned by the related create or list endpoint.
contact_id
string
required
The unique contact ID. Use the id returned by the Contact API.

Response

success
boolean
Whether the request succeeded.
message
string
Human-readable status message.

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Campaign ID

contact_id
string
required

Contact ID

Response

200

Successful response