v1

latestOpenAPI 3.0.02026-08-0442100147.0 KB
Workspace API - Workflows

Create a workflow

Create a new workflow for the app. Provider keys in providers must exist in app.providers. Maximum 100 workflows per app. If workflowId is omitted, it is auto-generated from name.

post/v1/apps/{id}/workflows

Path parameters

idstring required

App client ID

Request body

namestring required
entryNodeIdstring required

Example request

{
  "name": "KYC Premium",
  "entryNodeId": "nd_ab12cd34",
  "nodes": [
    {
      "id": "nd_ab12cd34"
    }
  ]
}

Response

Workflow created

workflowIdstring required
namestring required
entryNodeIdstring required
createdAtstring date-time
updatedAtstring date-time

Example response

{
  "nodes": [
    {
      "id": "nd_ab12cd34"
    }
  ]
}