Skip to main content
POST
/
api
/
v1
/
flows
cURL
curl --request POST \
  --url http://localhost:52000/api/v1/flows \
  --header 'Content-Type: application/json' \
  --data '
{
  "projectId": 123,
  "name": "<string>",
  "description": "<string>",
  "type": "<string>"
}
'
{
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "id": 123,
  "name": "<string>",
  "description": "<string>",
  "projectId": 123,
  "type": "<string>",
  "steps": [
    {
      "id": "<string>",
      "type": "<string>",
      "endpointId": 123,
      "preProcessor": "<string>",
      "postProcessor": "<string>",
      "nextIfTrue": "<string>",
      "nextIfFalse": "<string>",
      "condition": "<string>"
    }
  ]
}

Body

application/json
projectId
integer<int64>
required
name
string
required
Minimum string length: 1
description
string
type
string

Response

201 - */*

Created

createdAt
string<date-time>
updatedAt
string<date-time>
id
integer<int64>
name
string
description
string
projectId
integer<int64>
type
string
steps
object[]