Skip to main content
POST
cURL
Publishing freezes the current draft as a new version and opens a fresh draft at revision 0. Campaigns pin a specific published version, so publishing again never changes a campaign already running.
For extraction nodes, the field types are filled server-side from the linked agent’s dispositions at publish time — whatever fields you saved in the draft is ignored.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workflow_id
string<uuid>
required

The unique id of the workflow

Body

application/json

Empty JSON object.

The body is of type object.

Response

Version published. warnings carries any non-blocking issues.

version
integer
required

The published version number.

published_at
string<date-time> | null
definition
object | null

The frozen definition. Populated when reading a version; null in the publish response.

Example:
warnings
object[]

Non-blocking issues found at publish.