Skip to main content
PATCH
Update campaign status

Authorizations

x-api-key
string
header
required

Path Parameters

campaignId
string
required

The campaign ID to update

Body

application/json
status
enum<string>
required

Target campaign status. There is no PAUSED value: DRAFT is a soft, best-effort pause that does not immediately stop in-flight conversations — use pause_a_contact_in_a_campaign to reliably stop one contact right now. COMPLETED and DELETED are terminal (a COMPLETED campaign can only move to DELETED).

Available options:
DRAFT,
PENDING,
ACTIVE,
COMPLETED,
DELETED

Response

Campaign status updated successfully

status
enum<string>
required
Available options:
success
message
string
required
data
object
required