Create campaign
Campaigns
Create campaign
Create a new outbound calling campaign
POST
Create campaign
This endpoint allows you to create a new outbound calling campaign with the specified configuration.Documentation Index
Fetch the complete documentation index at: https://docs.autocalls.ai/llms.txt
Use this file to discover all available pages before exploring further.
Request body
The name of the campaign. Maximum 255 characters.
The ID of the assistant to use for the campaign. Must be an outbound-capable assistant.
Timezone identifier for the campaign (e.g.,
America/New_York, Europe/London). Defaults to your account timezone.Maximum number of simultaneous calls. Minimum: 1. Maximum depends on your plan’s parallel calls limit (up to 10).
Start of the allowed calling window in
H:i format (e.g., 09:00).End of the allowed calling window in
H:i format (e.g., 17:00).Array of weekday names when calls are allowed. Valid values:
monday, tuesday, wednesday, thursday, friday, saturday, sunday.Maximum number of retry attempts for failed calls. Range: 1-5.
Interval in minutes between retry attempts. Range: 10-4320 (up to 3 days).
Whether to retry calls that reached voicemail.
Whether to retry calls where the goal was not completed.
Name of a boolean variable from your assistant’s post-call schema to track goal completion. Maximum 255 characters.
Whether to automatically mark the campaign as complete when there are no remaining leads to call.
Array of phone number IDs to use for the campaign. Each ID must be a distinct integer.
Response
Success message confirming the campaign was created
The created campaign data
Error Responses
403 Forbidden
404 Not Found
422 Validation Error

