Creates a new voice campaign for the authenticated tenant.
All requests require an Authorization header using Bearer token authentication:
Authorization: Bearer <api_key>
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Campaign configuration
Campaign display name. Required.
"Q4 Outreach"
Campaign type. Required. Immutable after creation.
INBOUND, OUTBOUND "OUTBOUND"
Provider-native assistant/agent ID to use for calls. Required.
"asst_abc123"
Global ID of the tenant voice provider to use. Required.
Note: tenant_voice_provider_id = voiceai_pod_id
"VGVuYW50Vm9pY2VQcm92aWRlcjoxMjM="
Dialer type. Required.
SINGLE, POOL "SINGLE"
VAPI calling entity type (VAPI provider only). Optional.
ASSISTANT, WORKFLOW, SQUAD "ASSISTANT"
Provider-native phone number ID. Optional. Can be configured after creation.
"pn_abc123"
Global ID of the phone number pool (POOL dialer only). Optional.
"Vm9pY2VQaG9uZU51bWJlclBvb2w6MTIz"
Campaign start date (YYYY-MM-DD). Required for OUTBOUND campaigns.
"2025-01-01"
Campaign end date (YYYY-MM-DD). Optional. Must be after start_date if provided.
"2025-03-31"
IANA timezone string. Required for OUTBOUND campaigns.
"America/New_York"
Days of the week when the campaign is active. Required for OUTBOUND campaigns.
[
"MONDAY",
"TUESDAY",
"WEDNESDAY",
"THURSDAY",
"FRIDAY"
]Daily call start time (HH:MM or HH:MM:SS). Required for OUTBOUND campaigns.
"09:00"
Daily call end time (HH:MM or HH:MM:SS). Required for OUTBOUND campaigns. Must be after daily_start_time.
"17:00"
Maximum total call attempts per lead. Required for OUTBOUND campaigns. Minimum: 1.
x >= 13
Maximum call attempts per lead per day. Required for OUTBOUND campaigns. Minimum: 1.
x >= 11
Minimum minutes between call attempts for a lead. Required for OUTBOUND campaigns. Minimum: 3.
x >= 360
When true, voicemail pickups count as answered and stop retries. Optional.
true
URL to receive campaign event webhooks. Optional.
"https://yourapp.com/webhooks/campaign"