Skip to main content
POST
/
api
/
v1
/
tools
Create a new tool
curl --request POST \
  --url https://flowra.dev/api/v1/tools \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "slug": "<string>",
  "name": "<string>",
  "description": "<string>",
  "toolkitSlug": "<string>",
  "inputParameters": {},
  "outputParameters": {},
  "deprecatedInfo": {
    "displayName": "<string>",
    "version": "<string>",
    "availableVersions": [
      "<string>"
    ],
    "isDeprecated": true,
    "toolkit": {
      "logo": "<string>"
    }
  },
  "localConfig": {
    "endpoint": "<string>",
    "method": "GET",
    "successIf": "<string>",
    "mapper": [
      {}
    ],
    "headers": {},
    "timeout": 123,
    "pollingStateConfig": {
      "needsOffsetManagement": true,
      "offsetArgumentPath": "<string>",
      "calculateOffset": "<string>"
    }
  },
  "instructions": "<string>",
  "noAuth": false,
  "scopes": [
    "<string>"
  ],
  "tags": [
    "<string>"
  ],
  "isImportant": false,
  "popularityScore": 0,
  "type": "action",
  "availableVersions": [
    "<string>"
  ],
  "version": "1.0.0",
  "isDeprecated": false,
  "isDisabled": false,
  "triggerThreadKey": "<string>",
  "script": "<unknown>"
}
'
{
  "success": true,
  "message": "Operation completed successfully",
  "data": {}
}

Authorizations

x-api-key
string
header
required

Project API key. Create and manage keys in the dashboard under Project → API Keys. Send as header: x-api-key:

Body

application/json

Response

Tool created successfully