curl --request POST \
--url https://cloud.activepieces.com/api/v1/templates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"summary": "<string>",
"description": "<string>",
"author": "<string>",
"categories": [
"<string>"
],
"type": "OFFICIAL",
"tags": [
{
"title": "<string>",
"color": "<string>",
"icon": "<string>"
}
],
"blogUrl": "<string>",
"metadata": {},
"flows": [
{
"displayName": "<string>",
"trigger": {
"name": "<string>",
"valid": true,
"displayName": "<string>",
"type": "PIECE_TRIGGER",
"settings": {
"propertySettings": {},
"pieceName": "<string>",
"pieceVersion": "<string>",
"input": {},
"sampleData": {
"sampleDataFileId": "<string>",
"sampleDataInputFileId": "<string>",
"lastTestDate": "<string>"
},
"customLogoUrl": "<string>",
"triggerName": "<string>"
},
"nextAction": "<unknown>"
},
"valid": true,
"notes": [
{
"id": "<string>",
"content": "<string>",
"color": "orange",
"position": {
"x": 123,
"y": 123
},
"size": {
"width": 123,
"height": 123
},
"createdAt": "<string>",
"updatedAt": "<string>",
"ownerId": "<string>"
}
],
"schemaVersion": "<string>",
"description": "<string>"
}
]
}
'Create a template.
curl --request POST \
--url https://cloud.activepieces.com/api/v1/templates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"summary": "<string>",
"description": "<string>",
"author": "<string>",
"categories": [
"<string>"
],
"type": "OFFICIAL",
"tags": [
{
"title": "<string>",
"color": "<string>",
"icon": "<string>"
}
],
"blogUrl": "<string>",
"metadata": {},
"flows": [
{
"displayName": "<string>",
"trigger": {
"name": "<string>",
"valid": true,
"displayName": "<string>",
"type": "PIECE_TRIGGER",
"settings": {
"propertySettings": {},
"pieceName": "<string>",
"pieceVersion": "<string>",
"input": {},
"sampleData": {
"sampleDataFileId": "<string>",
"sampleDataInputFileId": "<string>",
"lastTestDate": "<string>"
},
"customLogoUrl": "<string>",
"triggerName": "<string>"
},
"nextAction": "<unknown>"
},
"valid": true,
"notes": [
{
"id": "<string>",
"content": "<string>",
"color": "orange",
"position": {
"x": 123,
"y": 123
},
"size": {
"width": 123,
"height": 123
},
"createdAt": "<string>",
"updatedAt": "<string>",
"ownerId": "<string>"
}
],
"schemaVersion": "<string>",
"description": "<string>"
}
]
}
'Use your api key generated from the admin console
OFFICIAL Show child attributes
Show child attributes
Show child attributes
Default Response