POST
/
v1
/
campaigns

Authorizations

X-Api-Key
string
headerrequired

Your API key.

Body

application/json
name
string
required

Name of the campaign

agentId
string
required

Unique identifier of the OUTBOUND agent to perform the campaign with

startDate
string
required

Start date of the campaign

timeSlots
object[]
required

Timeslots of the campaign (when the calls will be performed during the day). Maximum 2 timeslots

batchSize
integer
required

The number of calls per day, minimum 1, maximum 1000

retry
object

Retry parameters when the contact cannot be reached

days
enum<string>[]
required

Days of the campaign

Available options:
MONDAY,
TUESDAY,
WEDNESDAY,
THURSDAY,
FRIDAY,
SATURDAY,
SUNDAY
recipients
object[]

List of recipients to call, minimum 1, maximum 1000

Response

201 - application/json
id
string

Unique identifier of the campaign

name
string

Name of the campaign

agentId
string

Unique identifier of the agent to perform the campaign with

startDate
string

Start date of the campaign

timeSlots
object[]

Timeslots of the campaign (when the calls will be performed during the day). Max 2 timeslots

batchSize
integer

The number of calls per...

retry
object

Retry parameters when the contact cannot be reached

days
enum<string>[]

Days of the campaign

Available options:
MONDAY,
TUESDAY,
WEDNESDAY,
THURSDAY,
FRIDAY,
SATURDAY,
SUNDAY