POST /v1/campaigns
View as MarkdownFor 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
| Field | Type | Required | Notes |
|---|---|---|---|
name | string | yes | |
campaign_type | ai, static, hybrid | yes | "hybrid" is accepted for compatibility and answers with a clear not-available error. |
script | string | no | AI campaigns: the script, with {{Variable}} placeholders filled from each prospect. |
voice_clone_id | string | no | |
static_audio_url | string | no | Static campaigns: https link to the recording. |
hourly_max_sending_rate | integer | no | |
scheduled_days | array | no | |
sending_from_time | integer | no | Minutes after local midnight. Cannot widen the legal window. |
sending_until_time | integer | no | |
timezone | string | yes | IANA time zone name such as America/Chicago. |
sender_numbers | array | yes | Registered sender numbers. Only verified numbers are used. |
send_to_voip | boolean | no | |
validate_recipient_phone | boolean | no | |
max_attempts | integer | no |
Responses
| Status | Meaning |
|---|---|
| 201 | The campaign. |
| 401 | Missing or invalid API key. |
| 429 | Rate limited. |
| other | Error envelope. |
Failures use the standard envelope described in errors.
Try VoiceDeliver for $1 on Individual, Growth and Scale.See pricing