Skip to main content
POST
Create a new flow

Authorizations

Authorization
string
header
required

JWT Bearer token authentication

Headers

X-Workspace-Id
string
required

Workspace ID

Query Parameters

project_id
string

Project ID (uses default if not specified)

Body

application/json

Flow configuration

name
string
required
slug
string
required
trigger
object
required
description
string
edges
integer[]
metadata
integer[]
nodes
integer[]

Response

Flow created successfully

created_at
string
Example:

"2024-01-15T10:30:00Z"

description
string
Example:

"Handles user registration and welcome email"

edges
integer[]
id
string
Example:

"550e8400-e29b-41d4-a716-446655440000"

metadata
integer[]
name
string
Example:

"User Registration Flow"

nodes
integer[]
project_id
string
Example:

"550e8400-e29b-41d4-a716-446655440001"

slug
string
Example:

"user-registration"

status
string
Example:

"active"

trigger_config
integer[]
trigger_type_id
string
Example:

"550e8400-e29b-41d4-a716-446655440002"

updated_at
string
Example:

"2024-01-15T10:30:00Z"