Would this draft launch now? Every problem, without launching
Access: an API key (or an org-wide key naming the workspace) with view on campaigns.
Runs exactly the launch's checks (lead list exists and is ready, senders connected, schedule, the sequence with the list's custom fields as variables) and changes nothing. ok with warnings only, or not ok with every issue, in the shapes launch rejects with: issues and sequenceIssues. wouldBecome is starting, or scheduled for a future start date. A campaign that isn't a draft answers ok: false with not_draft.
apiKeyx-api-key<token>Workspace API key (nrk_…), shown once when created
campaignId*string^[0-9a-f]{24}$Default Response
application/json- response
ok*booleanwouldBecome*|nullissues*array<>sequenceIssues*array<>curl -X POST 'https://api.tryzen.co/v1/campaigns/string/launch-check'{ "ok": true, "wouldBecome": "draft", "issues": [ { "code": "not_draft", "severity": "error", "field": "status", "message": "string" } ], "sequenceIssues": [ { "code": "invalid_schema", "severity": "error", "nodeId": "string", "path": [ "string" ], "message": "string" } ]}Auto-save the draft PATCH
**Access:** an API key (or an org-wide key naming the workspace) with manage on `campaigns`. Optimistic concurrency: send the `revision` you loaded as `expectedRevision`. `saveKey` makes a retried request idempotent. `conflict` and `not_draft` are answers (status 200), not errors: reload and merge, or stop editing.
Launch a draft POST
**Access:** an API key (or an org-wide key naming the workspace) with manage on `campaigns`. A key also needs the `launchCampaigns` permission, which is off unless ticked when the key is made. Re-checks every precondition on the server, in the same transaction as the status flip: lead list exists and is ready, senders connected, schedule, and the sequence (with the list's custom fields as variables). Rejections list every issue (status 200). A concurrent change is 409 `campaign_changed`. `launch-check` answers the same without launching. An API key needs the `launchCampaigns` permission (403 `api_key_not_allowed` without it); keys made before it existed have it when they hold manage on `campaigns`.