draft or paused status can be updated.
Running or completed campaigns cannot be updated. Pause the campaign first if you need to make changes.
Path Parameters
campaign_id(integer, required): The unique identifier of the campaign
Request Body
All fields are optional. Only include fields you want to update.| Field | Type | Description |
|---|---|---|
name | string | Campaign name (1-200 characters) |
description | string | Campaign description |
welcome_message_template | string | Template for welcome message |
agenda_template | string | Template for call agenda |
end_call_message_template | string | Template for end call message |
sms_message_template | string | Template for SMS content |
fallback_values | object | Fallback values for missing variables |
max_attempts | integer | Max retry attempts |
retry_delay_minutes | integer | Delay between retries |
Example Request
Request Body
Response
Returns a success message when the update is complete.Response
Example Code
cURL
Python
JavaScript
Error Responses
| Status Code | Description |
|---|---|
| 400 | Cannot update running or completed campaigns |
| 404 | Campaign not found |
| 401 | Unauthorized - invalid or missing API key |