Create campaign
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.
campaign
Response headers
Via
Alt-Svc
X-Cache
X-Amz-Cf-Id
X-Amz-Cf-Pop
x-amz-apigw-id
X-Amzn-Trace-Id
x-amzn-RequestId
Response
OK
success
campaign
