Creates a new campaign associated with an AI agent. The campaign is created in an inactive state (isActive: false). A phone number is required when the agent’s channel is Phone. Default values are applied for optional fields not provided.
Request payload to create a new campaign
Name of the campaign
ID of the AI agent to associate with the campaign
Outbound phone number. Required if the agent channel is Phone. Must belong to the company's phone number list
Maximum number of call retries (default: 3, min: 1, max: 4)
1 <= x <= 4Delay between retries in hours (default: 2). Must be greater than 0
Webhook URL to receive campaign events. Must be a valid HTTP/HTTPS URL
Timezone identifier (default: "Europe/Paris")
Campaign schedule. Defaults to Monday-Friday 09:00-12:00 / 14:00-17:00 if not provided
Campaign created successfully
Response returned after a campaign is successfully created
Unique identifier of the created campaign
Name of the campaign
ID of the AI agent associated with the campaign
Outbound phone number (null for web agents)
Maximum number of retry attempts (between 1 and 4)
Delay between retry attempts in hours
Webhook URL for campaign event notifications
Country code (always FR)
Timezone identifier (e.g. Europe/Paris)
Weekly schedule defining the calling time slots
Whether the campaign is active (always false at creation)