Request
integer
required
Your organization ID
string
required
Your organization API key
string
required
Name for the campaign
integer
required
ID of the agent to use for the campaign
string
required
Source phone number in E.164 format
array
required
Array of contact objects with phone numbers and optional custom data
string
Scheduled start time for the campaign (ISO 8601 format). If not provided, starts immediately.
integer
default:"60"
Maximum number of calls to make per hour
integer
default:"2"
Number of retry attempts for failed calls
integer
default:"3600"
Delay between retry attempts in seconds
Contact Object
string
required
Destination phone number in E.164 format
string
Custom first line for this specific contact
string
Custom instructions for this specific contact
string
Custom identifier for mapping back to your system
Examples
Response
boolean
Indicates if the campaign was successfully created
integer
ID of the newly created campaign
string
Name of the created campaign
string
Status of the campaign (scheduled, running, paused, completed)
integer
Total number of contacts in the campaign
Success Response (200 OK)
Error Responses
object
Missing required fields or invalid parameters
object
Insufficient wallet balance
object
Organization/Agent not found or invalid call_from number
object
Server error