Endpoint
GET /user/campaigns
Response
array
Array of campaign objects.
Show Campaign properties
Show Campaign properties
integer
Unique identifier of the campaign.
string
Name of the campaign.
string
Current status of the campaign (e.g.,
draft, in-progress, stopped, completed).integer
Maximum number of simultaneous calls.
boolean
Whether the campaign is automatically marked complete when no leads remain.
string
Start time of the allowed calling window.
string
End time of the allowed calling window.
array
Days of the week when calls are allowed.
integer
Maximum retry attempts for failed calls.
integer
Interval in minutes between retry attempts.
string
ISO 8601 timestamp when the campaign was created.
string
ISO 8601 timestamp when the campaign was last updated.
Example
curl -X GET "https://portal.intellixent.ai/api/user/campaigns" \
-H "Authorization: Bearer YOUR_API_KEY"
const response = await fetch('https://portal.intellixent.ai/api/user/campaigns', {
headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
});
const data = await response.json();
console.log(data); // Array of campaigns
200 Response
[
{
"id": 1,
"name": "Product Demo Campaign",
"status": "draft",
"max_calls_in_parallel": 3,
"mark_complete_when_no_leads": true,
"allowed_hours_start_time": "09:00:00",
"allowed_hours_end_time": "17:00:00",
"allowed_days": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday"
],
"max_retries": 3,
"retry_interval": 60,
"created_at": "2025-05-29T07:18:34.000000Z",
"updated_at": "2025-05-29T07:18:34.000000Z"
}
]