FruxonDocs
IntegrationsCore

Creates a new integration.

Credentials are encrypted at rest and never returned in API responses.

POST
/v1/tenants/{tenant}/integrations
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

tenant*string

The tenant identifier

The integration configuration.

id?string|null

Unique identifier for the integration. Must be a valid string identifier (letters, numbers, underscores, hyphens) and unique within the tenant.

displayName?string|null

Human-readable name shown in the UI. Max 100 characters.

Lengthlength <= 100
description?string|null

Optional description of what the integration connects to. Max 500 characters.

Lengthlength <= 500
configMetadata?

Represents the metadata for configuration of an integration.

[key: string]?never

Response Body

curl -X POST "https://api.fruxon.com/v1/tenants/string/integrations" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "string",
  "displayName": "string",
  "description": "string",
  "type": "SYSTEM",
  "configMetadata": {
    "parametersMetadata": [
      {
        "name": "string",
        "index": 0,
        "type": "String",
        "typeName": "string",
        "integerRange": null,
        "floatRange": null,
        "options": null,
        "asset": null,
        "displayName": "string",
        "description": "string",
        "required": false,
        "secret": false,
        "defaultValue": "string",
        "jsonSchema": null,
        "uiHint": null,
        "rules": []
      }
    ],
    "authMetadata": [
      {
        "id": "string",
        "displayName": "string",
        "description": "string",
        "type": "UNSPECIFIED",
        "sensitivity": "UNSPECIFIED",
        "authProviderName": "string",
        "configTestSupported": false,
        "supportedLevels": [
          "APPLICATION",
          "USER"
        ],
        "authMap": {
          "useMap": false,
          "keyTemplate": null,
          "parametersMetadata": []
        },
        "authSettings": {
          "parameters": {}
        },
        "parametersMetadata": [],
        "availableScopes": []
      }
    ]
  },
  "tags": [
    "string"
  ],
  "isInternal": false,
  "createdAt": 0,
  "modifiedAt": 0
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}