Skip to main content
POST
Create a flow
Creates a flow with a draft. The token owner needs the editor role in the workspace.
Scope automation:write.

Body

string
required
The workspace.
string
required
EMPTY, TEMPLATE or IMPORT.
string
required
The name of the flow.
string
For TEMPLATE: the id of a bundled or instance template.
object
For IMPORT: the definition. A definition that cannot be read answers 422 INVALID_IMPORT and creates nothing.
Answers 201 with the flow.
Last modified on October 26, 2026