Initialise a workflow
Ensures a workflow and its actions exist. The workflow is matched by its reference; when it already exists it and its actions are left untouched. Returns the composed workflow with its actions. Requires the WORKFLOW.CREATE permission.
Authentication
X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
version
version
Headers
x-platform-id
Platform ID.
Request
This endpoint expects an object.
workflow
The workflow to ensure. Matched by its reference.
actions
The workflow actions to create together with the workflow when it does not yet exist.
Response
OK
workflow
The workflow to ensure. Matched by its reference.
actions
The workflow actions to create together with the workflow when it does not yet exist.
Errors
401
Unauthorized Error
403
Forbidden Error