Path Parameters
campaign_id(integer, required): The unique identifier of the campaign
Response
Returns the complete campaign object with all configuration and statistics.Response
Response Fields
| Field | Description |
|---|---|
id | Unique campaign identifier |
name | Campaign name |
description | Campaign description |
campaign_type | Type: call, sms, or mixed |
status | Current status |
assistant_id | Associated assistant ID |
assistant_name | Name of the associated assistant |
welcome_message_template | Opening message template |
agenda_template | Call agenda template |
end_call_message_template | Closing message template |
sms_message_template | SMS message template |
fallback_values | Default values for missing variables |
variable_mappings | Column to variable mappings |
available_variables | List of detected variables |
max_attempts | Maximum retry attempts |
retry_delay_minutes | Delay between retries |
total_contacts | Total number of contacts |
completed_contacts | Successfully contacted |
failed_contacts | Failed contact attempts |
last_import_file_name | Name of last imported file |
last_import_date | Date of last import |
last_import_row_count | Rows in last import |
Example Code
cURL
Python
JavaScript
Error Responses
| Status Code | Description |
|---|---|
| 404 | Campaign not found |
| 401 | Unauthorized - invalid or missing API key |
| 403 | Forbidden - campaign belongs to different organization |