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

Authorization
string
header
required

Use your api key generated from the admin console

Body

application/json
template
object
required
type
required
Available options:
PLATFORM
description
string
blogUrl
string
tags
string[]
id
string
metadata
object | null

Response

200

Default Response