Skip to main content
POST
Create workflow

Authorizations

better-auth.session_token
string
cookie
required

Session cookie set by Better Auth on sign-in.

x-workspace-id
string
header
required

Workspace UUID. Required on all /api/* endpoints.

Body

application/json

Create a new workflow

name
string
required
Minimum string length: 1
triggerType
string

Response

Workflow created

id
string<uuid>
required
name
string
required
{key}
any