Campaigns
Publish a campaign draft as an immutable version
Freezes the draft as a new version and points new enrollments at it. Published versions never change. A paused campaign stays paused until it is resumed, and an archived campaign can't be published. If the target provider can't do something the campaign needs, publish is blocked, so check /provider-capabilities first.
API key scopes: campaigns:write. You also need an Idempotency-Key header.
post/api/campaigns/{id}/publish
Request
- Base URL: https://api.setluca.com
- URL: https://api.setluca.com/api/campaigns/{id}/publish
- Auth: one of:
- API key in cookie luca.session_token
- API key in header x-api-key
- HTTP bearer
Path parameters
idstring uuid required
Identifier of the campaign this operation targets.
Headers
Luca-API-Version'1'
The major version of the API this client was built against. Omit it and the request is served by the current major version. Any other value is refused with 400 unsupported_api_version.
Response
ok
Changes
No recorded changes to this operation across all 1 revision of this API.