Skip to main content
POST
Create Campaign

Authorizations

X-API-Key
string
header
required

Body

multipart/form-data
campaignName
string
required

The name of the campaign.

Example:

"Follow-up Campaign October"

assistantId
string
required

The ID of the assistant (agent) associated with this campaign.

Example:

"685d4b93abcf4c90c18034aa"

file
file
required

CSV file containing the list of recipients for the campaign.

scheduleTime
string<date-time>

Scheduled time for the campaign in ISO format (optional).

Example:

"2025-10-29T11:30:00.000Z"

scheduleEnabled
string

Set to 'true' to enable scheduling for the campaign (optional).

Example:

"true"

Response

Campaign created successfully

status
integer
Example:

201

message
string
Example:

"Campaign created successfully"

data
object