Your API key for authentication. Prefix with Bearer .
Your access token for authentication.
Response
Contains campaign analytics and campaign details.
data.analytics.Total Calls Made
Total number of inbound calls made.
An array of inbound campaign objects.
Campaign Fields
Unique identifier for the campaign.
Identifier of the user who owns the campaign.
Name of the inbound campaign.
Associated phone number ID.
ID of the assigned agent for the campaign.
campaigns.transfer_numbers
Map of configured transfer numbers.
ID for ML-related tracking (nullable).
Campaign status (nullable).
Name of AI model used in the campaign.
Current running state of the campaign.
ISO timestamp of when the campaign was created.
ISO timestamp of the last update to the campaign.
ID of the associated workflow (nullable).
Number of events recorded for the campaign.
Nested: campaigns.agent
Name of the assigned agent.
Greeting message used by the agent.
agent.qualification_scenario
Criteria to determine how to qualify the caller.
Campaign goals for the agent.
Background knowledge required by the agent.
Sample dialogue or use case for the agent.
Response Example
{
"responseCode": 2000,
"message": "Inbound campaigns fetched successfully",
"data": {
"analytics": {
"Total Calls Made": 4
},
"campaigns": [
{
"id": "********",
"user_id": "********",
"campaign_name": "new inbound campaign",
"phone_number": "********",
"agent_id": "********",
"transfer_numbers": {
"": ""
},
"ml_campaign_id": null,
"status": null,
"model": "Claude 3 Haiku",
"created_at": "2025-06-27T11:40:34.133Z",
"workflow_id": null,
"updated_at": "2025-06-27T11:40:34.133Z",
"state": "running",
"userCallers": {
"phone_number": "********",
"phone_number_details": {
"phoneNumber": "********",
"origin": "twilio",
"status": "in-use",
"friendlyName": "(309) 387-0017"
}
},
"agent": {
"agent_name": "Andrew Hamilton",
"opening_message": "Thank you for calling. How can I assist you today?",
"qualification_scenario": "The caller needs to be transferred to the appropriate department based on their request.",
"goals": "Determine which department the caller needs to be transferred to and complete the transfer efficiently.",
"background": "The agent should be familiar with the different departments and their responsibilities in order to direct the caller to the right place.",
"example_scenario": "Agent: Thank you for calling. How can I assist you today? Caller: I need to speak with someone in the sales department. Agent: Okay, let me transfer you to our sales department. One moment please. [Transfer to sales department]"
},
"total_events": 2
}
]
}
}