cURL
API reference
Create campaign
Creates a draft outbound campaign for the specified agent. The agent must belong to your organization.
POST
cURL
Authorizations
Your unique organization API key. Required on all requests.
Path Parameters
The UUID of the AI agent that owns the campaign.
Body
application/json
Campaign name. Maximum 120 characters.
Maximum string length:
120Optional retry behavior for campaign calls. Retries are attempted when a call ends with one of the statuses listed in retry_on.
Example:
{
"max_retries": 2,
"retry_delay_minutes": 30,
"retry_on": ["UNANSWERED", "REJECTED", "VOICEMAIL"]
}