Skip to main content

Update a campaign or transition its status (pause/resume/cancel).

PATCH 

/api/v1/campaigns/:id

Mutable fields depend on status. draft|scheduled: name, message_template, message_variations, scheduled_for, batch_size, batch_delay_minutes, status->sending|cancelled. sending: only status->paused|cancelled. paused: only status->sending|cancelled. completed|cancelled|failed: immutable (409). Scope: send_sms.

Request

Responses

Campaign updated; returns the same shape as GET /v1/campaigns/{id}.