POST
Create a campaign

Authorizations

Authorization
string
header
required

An API key from Dashboard → Developers → API keys.

Body

application/json
name
string
required
phone_number_id
string
required
max_concurrent_calls
integer | null
Required range: 1 <= x <= 50
retry_attempts
integer | null
Required range: 0 <= x <= 5
retry_delay_minutes
integer | null
Required range: 1 <= x <= 1440
assistant_id
string | null
workflow_id
string | null
customers
Customers · object[]
schedule_plan
Schedule Plan · object | null

Response

Successful Response

success
boolean
default:true
message
string
default:success
data
CampaignResponse · object | null

Campaign response schema with UUID-based identification.

Inherits from UUIDResponseBase which maps uuid → id and excludes integer PK. Integer FK fields (organization_id, created_by) are resolved to UUIDs from loaded relationships. String-typed Vapi IDs (assistant_id, phone_number_id, workflow_id) are preserved unchanged.