Skip to main content
PUT
Update an existing campaign’s configuration. Only campaigns in 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.

Example Request

Request Body

Response

Returns a success message when the update is complete.
Response

Example Code

cURL
Python
JavaScript

Error Responses

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

campaign_id
integer
required

Body

application/json

Request model for updating a campaign.

name
string | null
description
string | null
welcome_message_template
string | null
agenda_template
string | null
end_call_message_template
string | null
sms_message_template
string | null
max_attempts
integer | null
retry_delay_minutes
integer | null
fallback_values
Fallback Values · object | null
variable_mappings
Variable Mappings · object | null
available_variables
string[] | null
pending_import
Pending Import · object | null

Response

Successful Response