Skip to main content
POST
Create Campaign

Authorizations

api_key
string
query
required

Your API key for authentication. You can generate it from the Settings page. Format: starts with in-.

Body

application/json
name
string
required
type
enum<string>
required
Available options:
outbound_call
start_time
string<date-time>
required
interval
integer
required
widget_id
string<uuid> | null
attributes
Attributes · object
status
enum<string>
default:not_started
Available options:
not_started,
to_be_run,
in_progress,
paused,
cancelled,
completed
execution_weekdays
integer[]
time_window_start
string<time> | null
time_window_end
string<time> | null
time_zone
string
default:UTC
enabled
boolean
default:false

Response

Successful Response

message
string | null
default:Data created successfully
meta
Meta · object | null
data
ICampaignRead · object | null