POST
/
v1
/
flows
curl --request POST \
  --url https://cloud.activepieces.com/api/v1/flows/ \
  --header 'Content-Type: application/json' \
  --data '{
  "displayName": "<string>",
  "folderId": "<string>",
  "projectId": "<string>"
}'
{
  "id": "<string>",
  "created": "<string>",
  "updated": "<string>",
  "projectId": "<string>",
  "folderId": "<string>",
  "status": "ENABLED",
  "schedule": {
    "type": "CRON_EXPRESSION",
    "cronExpression": "<string>",
    "timezone": "<string>"
  },
  "publishedVersionId": "<string>",
  "version": {
    "id": "<string>",
    "created": "<string>",
    "updated": "<string>",
    "flowId": "<string>",
    "displayName": "<string>",
    "trigger": {
      "name": "<string>",
      "valid": true,
      "displayName": "<string>",
      "nextAction": "<any>",
      "type": "WEBHOOK",
      "settings": {
        "inputUiInfo": {
          "currentSelectedData": "<any>",
          "customizedInputs": {},
          "lastTestDate": "<string>"
        }
      }
    },
    "updatedBy": "<string>",
    "valid": true,
    "state": "LOCKED"
  }
}

Body

application/json
displayName
string
required
projectId
string
required
folderId
string

Response

201 - application/json
Default Response
id
string
required
created
string
required
updated
string
required
projectId
string
required
status
required
Available options:
ENABLED
version
object
required
folderId
string | null
schedule
object | null
publishedVersionId
string | null