Flows
Create Flow
Flows
Create Flow
Create a flow
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"
}
}
Response
201 - application/json
Default Response
Available options:
ENABLED
Available options:
WEBHOOK
Available options:
LOCKED
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"
}
}