Campaigns
List campaigns
List all campaigns
GET
/
user
/
campaigns
curl --request GET \
--url https://app.autocalls.ai/api/user/campaigns \
--header 'Authorization: Bearer <token>'
[
{
"id": 1,
"name": "Test campaing",
"status": "draft",
"max_calls_in_parallel": 3,
"mark_complete_when_no_leads": true,
"allowed_hours_start_time": "00:00:00",
"allowed_hours_end_time": "23:59:00",
"allowed_days": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday",
"sunday"
],
"max_retries": 3,
"retry_interval": 60,
"created_at": "2025-05-29T07:18:34.000000Z",
"updated_at": "2025-05-29T07:18:34.000000Z"
}
]
This endpoint allows you to list all campaigns.
Response fields
The id of the campaign
The name of the campaign
The status of the campaign
Maximum number of calls that can be made in parallel
Whether to mark the campaign as complete when there are no leads
The start time for allowed calling hours
The end time for allowed calling hours
The days of the week when calls are allowed
Maximum number of retry attempts for failed calls
Interval in seconds between retry attempts
The timestamp when the campaign was created
The timestamp when the campaign was last updated
[
{
"id": 1,
"name": "Test campaing",
"status": "draft",
"max_calls_in_parallel": 3,
"mark_complete_when_no_leads": true,
"allowed_hours_start_time": "00:00:00",
"allowed_hours_end_time": "23:59:00",
"allowed_days": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday",
"sunday"
],
"max_retries": 3,
"retry_interval": 60,
"created_at": "2025-05-29T07:18:34.000000Z",
"updated_at": "2025-05-29T07:18:34.000000Z"
}
]
curl --request GET \
--url https://app.autocalls.ai/api/user/campaigns \
--header 'Authorization: Bearer <token>'
[
{
"id": 1,
"name": "Test campaing",
"status": "draft",
"max_calls_in_parallel": 3,
"mark_complete_when_no_leads": true,
"allowed_hours_start_time": "00:00:00",
"allowed_hours_end_time": "23:59:00",
"allowed_days": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday",
"sunday"
],
"max_retries": 3,
"retry_interval": 60,
"created_at": "2025-05-29T07:18:34.000000Z",
"updated_at": "2025-05-29T07:18:34.000000Z"
}
]
Assistant
Responses are generated using AI and may contain mistakes.