Flow Templates
Create Flow Template
Get Started
Endpoints
- Projects
- User Invitations
- Project Members
- Connections
- Flows
- Flow Runs
- Sample Data
- Pieces
- Project Releases
- Global Connections
- Git Sync
- Folders
- Flow Templates
- MCP Servers
- MCP pieces
Flow Templates
Create Flow Template
Create a flow template
POST
/
v1
/
flow-templates
curl --request POST \
--url https://cloud.activepieces.com/api/v1/flow-templates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": "<string>",
"template": {
"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": {
"sampleDataFileId": "<string>",
"sampleDataInputFileId": "<string>",
"lastTestDate": "<string>",
"customizedInputs": {},
"schema": {},
"currentSelectedData": "<any>"
}
}
},
"valid": true,
"schemaVersion": "<string>"
},
"blogUrl": "<string>",
"type": "PLATFORM",
"tags": [
"<string>"
],
"id": "<string>",
"metadata": {}
}'
Authorizations
Use your api key generated from the admin console
Body
application/json
Available options:
PIECE_TRIGGER
Available options:
CUSTOM
Available options:
ARCHIVE
Available options:
PLATFORM
Response
200
Default Response
curl --request POST \
--url https://cloud.activepieces.com/api/v1/flow-templates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": "<string>",
"template": {
"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": {
"sampleDataFileId": "<string>",
"sampleDataInputFileId": "<string>",
"lastTestDate": "<string>",
"customizedInputs": {},
"schema": {},
"currentSelectedData": "<any>"
}
}
},
"valid": true,
"schemaVersion": "<string>"
},
"blogUrl": "<string>",
"type": "PLATFORM",
"tags": [
"<string>"
],
"id": "<string>",
"metadata": {}
}'