Update Campaign

Update campaign configuration (only before launch).

PATCH/campaigns/{campaign_id}

Update a campaign's configuration. Only allowed while the campaign is in 'draft' status.

Path Parameters

Campaign ID

Path Parameters

ParameterTypeRequiredDescription
campaign_idstringYesCampaign ID

Request Body

All fields are optional. Only provided fields are updated.

FieldTypeDescription
namestringCampaign display name
message_templatestringMessage template
contactsstring[]Replace contact list
schedulestringReschedule launch time (ISO 8601)
max_concurrentintegerMaximum concurrent calls/messages

Note: Updates are only allowed while the campaign status is draft. Launched campaigns cannot be modified — pause and create a new one instead.


Response 200

Returns the updated campaign object.


Errors

CodeDescription
401Missing or invalid authentication
403Campaign already launched (cannot modify)
404Campaign not found

On this page