Skip to main content
POST
Create a Workflow from Template

Authorizations

X-API-Key
string
header
required

API key for authenticating requests to the Flowker API. Provisioned via the API_KEY environment variable during deployment.

Body

application/json

Request body containing the template ID and parameters.

templateId
string
required

Identifier of the catalog template to use.

Example:

"payment-validation"

params
object
required

Template parameter values used to generate the workflow.

Example:

Response

Indicates that the resource was successfully created and the operation was completed as expected.

createdAt
string<date-time>

Timestamp when the workflow was created.

Example:

"2026-03-17T14:30:00Z"

status
string

Initial status of the workflow (always draft on creation).

Example:

"draft"

version
string

Version of the workflow definition.

Example:

"1.0.0"

workflowId
string<uuid>

Unique identifier of the created workflow.

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"