v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-014589156.1 KB
Workflows

Create a workflow from code

Creates a workflow and its first code revision in a single transaction — the code playground's 'save as workflow'. Name must match ^[A-Za-z0-9_-]+$ and be unique within the org; platform defaults to ANDROID. Returns the workflow_id and revision_id.

post/workflows/from-code

Request body

code_sourcestring required
goalstring
namestring required
platformstring

Response

Created

revisioninteger required
revision_idstring required
workflow_idstring required