Create campaign

View as MarkdownOpen in Claude
Create a new campaign. If `campaign_id` is omitted, it will be generated. **Request body fields (wrapped in `campaign` object):** - `name` (string, required) — Human-readable campaign name. - `account_id` (string, required) — Target account ID. - `status` (string, optional) — `DRAFT` | `RUN` | `PAUSE` | `DONE`. Defaults to `DRAFT`. - `seats` (array of strings, required) — Seat IDs to run this campaign. - `schedule` (object, required) — Day-of-week schedule. Each day key maps to `[enabled (bool), start_hour (int), end_hour (int)]`. - `timezone` (integer, optional) — UTC offset in minutes (e.g. `-300` = UTC-5). - `campaign_id` (string, optional) — Supply to create with a specific ID; omit to auto-generate.

Authentication

X-API-KEYstring
API Key authentication via header

Request

This endpoint expects an object.
campaignobjectRequired

Response headers

Viastring or null
Alt-Svcstring or null
X-Cachestring or null
X-Amz-Cf-Idstring or null
X-Amz-Cf-Popstring or null
x-amz-apigw-idstring or null
X-Amzn-Trace-Idstring or null
x-amzn-RequestIdstring or null

Response

OK
successboolean
campaignobject

Errors