Save and launch a campaign
POST/campaign/launch
Creates a campaign from the body (as POST /campaign) and launches it with executor (as POST /campaign/{id}/launch) in one call. The campaign is saved only when the launch passes its checks; the run's campaign is its id.
Request
Responses
- 201
- 400
- 401
- 403
- 429
Created
Refused, nothing queued: problems lists the failed preflight checks, spec the errors of a saved spec that no longer validates; an invalid body answers field errors instead.
Missing, invalid, expired or revoked credential, or a credential this endpoint does not accept.
The credential may not do this (for example a caller without an organization). Also refused when the installation's license has no runs left this month (code: license_run_limit) or is not valid (code: license_read_only).
Rate limited: retry after the number of seconds in the Retry-After header.