Skip to main content
POST
/
api
/
v1
/
campaigns
/
{id}
/
contacts
Add Contacts to Campaign
curl --request POST \
  --url https://api.ravan.ai/api/v1/campaigns/{id}/contacts \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "contact_ids": [
    "<string>"
  ]
}
'
{
  "success": true,
  "message": "<string>",
  "data": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.ravan.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Api-Key
string
required
Your Agni API key. Find it in your RavanAi.

Path Parameters

id
string
required
Campaign ID

Body

contact_ids
string[]
required
Array of contact UUIDs to add

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

Body

application/json
contact_ids
string[]
required

Array of contact UUIDs

Response

200 - application/json

Successful response

success
boolean
message
string
data
object