cURL
curl --request POST \ --url https://cloud.activepieces.com/api/v1/flows/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "displayName": "<string>", "folderName": "<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": "PIECE_TRIGGER", "settings": { "pieceName": "<string>", "pieceVersion": "<string>", "pieceType": "CUSTOM", "packageType": "ARCHIVE", "triggerName": "<string>", "input": {}, "inputUiInfo": { "currentSelectedData": "<any>", "customizedInputs": {}, "lastTestDate": "<string>" } } }, "updatedBy": "<string>", "valid": true, "state": "LOCKED" } }
Create a flow
Use your api key generated from the admin console
Default Response
ENABLED
Show child attributes