POST /v1/campaigns

View as Markdown

For AI agents: the docs index is at /llms.txt, and every page is also served as markdown at its URL plus .md.

Campaigns

Create a campaign.

Requires an API key. See authentication.

Request body

FieldTypeRequiredNotes
namestringyes
campaign_typeai, static, hybridyes"hybrid" is accepted for compatibility and answers with a clear not-available error.
scriptstringnoAI campaigns: the script, with {{Variable}} placeholders filled from each prospect.
voice_clone_idstringno
static_audio_urlstringnoStatic campaigns: https link to the recording.
hourly_max_sending_rateintegerno
scheduled_daysarrayno
sending_from_timeintegernoMinutes after local midnight. Cannot widen the legal window.
sending_until_timeintegerno
timezonestringyesIANA time zone name such as America/Chicago.
sender_numbersarrayyesRegistered sender numbers. Only verified numbers are used.
send_to_voipbooleanno
validate_recipient_phonebooleanno
max_attemptsintegerno

Responses

StatusMeaning
201The campaign.
401Missing or invalid API key.
429Rate limited.
otherError envelope.

Failures use the standard envelope described in errors.

Try VoiceDeliver for $1 on Individual, Growth and Scale.See pricing