Path Parameters
campaign_id(integer, required): The unique identifier of the campaign
Query Parameters
page(integer, optional, default: 1): Page number for paginationper_page(integer, optional, default: 50, max: 1000): Results per page
Response
Response
Response Fields
Execution Object
| Field | Description |
|---|---|
id | Execution record ID |
execution_id | Same as id (for compatibility) |
contact_id | Associated contact ID |
contact_name | Contact’s name |
contact_phone | Contact’s phone number |
status | Execution status |
call_id | Twilio/Telnyx Call SID (for calls) |
sms_id | SMS message ID (for SMS) |
executed_at | Execution timestamp |
execution_data | Detailed execution information |
Execution Data Object
| Field | Description |
|---|---|
from_number | Outbound caller ID |
to_number | Recipient phone number |
personalized_welcome_message | Rendered welcome message |
personalized_agenda | Rendered agenda (if set) |
template_variables_used | Variables and values used |
duration_seconds | Call duration |
error_details | Error description (if failed) |
retry_reason | Retry information |
voice_analytics | Voice analysis results |
Execution Statuses
| Status | Description |
|---|---|
pending | Queued for execution |
in_progress | Currently executing |
completed | Successfully completed |
failed | Execution failed |
no_answer | Call not answered |
busy | Line was busy |
voicemail | Reached voicemail |
skipped | Skipped execution |
Example Code
cURL
Python
JavaScript
Use Cases
- Audit trail: Review all contact attempts
- Analytics: Calculate custom metrics
- Debugging: Investigate failed calls
- Export: Extract data for external analysis
- Compliance: Track contact history
Error Responses
| Status Code | Description |
|---|---|
| 404 | Campaign not found |
| 401 | Unauthorized |