Skip to main content
POST
Create a workflow template from an existing workflow

Authorizations

Authorization
string
header
required

API key authentication. Obtain your API key from the dashboard.

X-Environment
string
header
required

Target environment for the request. Must be "test" or "live".

Body

application/json
workflowId
string<uuid>
required
name
string
Required string length: 1 - 255
description
string
Maximum string length: 1000
scopes
string[]
Maximum string length: 50
category
string
Maximum string length: 255
tags
string[]
Maximum string length: 100
variableDefinitions
object[]

Response

200 - application/json

OK

id
string<uuid>
required
organizationId
string
required
name
string
required
tags
string[]
required
scopes
string[]
required
visibility
enum<string>
required
Available options:
private,
pending_review,
published
version
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
workflow
object
required
variableDefinitions
object[]
required
createdAt
string
required
updatedAt
string
required
description
string
category
string
metadata
object
sourceWorkflowId
string<uuid> | null
sourceWorkflowEnvironment
string | null
publishedAt
string | null