Workflows

Publish a workflow

Changed on

Publishes a workflow, making it available for execution via /execute, /batch/execute, and /preview.

If a workflow with the same metadata.workflowId already exists for the caller, the existing UUID is reused; otherwise a new UUID is generated and returned.

post/publish

Request

  • Base URL: https://run-workflow.adobe.io
  • URL: https://run-workflow.adobe.io/publish
  • Auth: HTTP bearer and API key in header x-api-key

Headers

x-gw-ims-org-idstring required

IMS organization ID for the authenticated caller. Scopes every request to that organization.

x-gw-ims-user-idstring required

IMS user ID for the authenticated caller.

Request body

Response

Workflow published successfully.

status'succeeded' | 'failed'
workflowIdstring uuid

Storage UUID for the published workflow.

action'created' | 'reused'

Whether a new workflow UUID was minted, or an existing one (matching metadata.workflowId) was reused.

metadataWorkflowIdstring

Echo of the workflow.metadata.workflowId supplied in the request.

Changes