Update campaign

Updates name, status, segment, settings (schedule, guardrails, ESP matching, winner locks).

PATCHhttps://boltsequencer.aleksifa.com/api/campaigns/[id]

Authentication

Bearer owner API key required. Send:

  • Authorization: Bearer bs_live_…
  • X-Workspace-Id: <workspace-uuid> (workspace you own)

Description

Updates name, status, segment, settings (schedule, guardrails, ESP matching, winner locks).

Response

JSON object on success unless this route returns a file download (Content-Disposition: attachment). Rate limit headers are included on authenticated responses: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset.

Errors

400 + issues[] on invalid settings or failed activation validation.

Example

curl -sS -X PATCH "https://app.boltsequencer.com/api/campaigns/[id]" \
  -H "Authorization: Bearer bs_live_YOUR_KEY" \
  -H "X-Workspace-Id: YOUR_WORKSPACE_UUID"
  -H "Content-Type: application/json" \
  -d '{}'