Your API key for authentication. Prefix with Bearer .
Your access token for authentication.
Response
An object containing all campaigns details.
AN object containing the overall analytics of all the outbound campaigns related to the specific user
data.analytics.Total Contacts
Total number of contacts involved in the campaign
data.analytics.Total Calls Made
The total number of calls made for th entire campaign
data.analytics.% of Completion
Percantage representing the completion of calls involved in a campaign
An array of objects containing details regarding a specific campaign
A specific identifier for a campaign
The user identifier associated with the campaign
Maximum allowed duration for the campaign (in seconds)
The identifier for the agent attached with this campaign
Voicemail configuration or content (null if not set)
campaigns.transfer_numbers
A map of transfer numbers for call routing (empty if not defined)
Webhooks configured for the campaign (null if not set)
Indicates if the campaign is a draft
Associated Identifier for the machine learning side
Current status of the campaign (e.g., completed, failed)
Internal state of the campaign (e.g., running, stopped)
AI model used in the campaign (e.g., Claude 3 Haiku)
campaigns.schema_analysis
Contains schema analysis data if available (null if not set)
Timestamp of campaign creation (ISO format)
Timestamp of last update to the campaign (ISO format)
Identifier for the associated workflow (null if not set)
Total number of contacts included in the campaign
campaigns.completion_percentage
Completion percentage of the campaign
{
"responseCode": 2000,
"message": "Compaigns fetched successfully",
"data": {
"analytics": {
"Total Contacts": 42,
"Total Calls Made": 24,
"% of Completion": 57.14285714285714
},
"campaigns": [
{
"id": "***",
"user_id": "***",
"campaign_name": "Start",
"max_duration": 300,
"agent_id": "***",
"voice_mail": null,
"transfer_numbers": {},
"dynamic_data": null,
"webhooks": null,
"is_draft": false,
"ml_campaign_id": "***",
"status": "completed",
"state": "stopped",
"model": "Claude 3 Haiku",
"schema_analysis": null,
"created_at": "***",
"updated_at": "***",
"workflow_id": null,
"total_contacts": 3,
"completion_percentage": 33.33333333333333
}
]
}
}