POST
/
v1
/
admin
/
integrations
/
validate
curl --request POST \
  --url https://api.botpress.cloud/v1/admin/integrations/validate \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "version": "<string>",
  "configuration": {
    "title": "<string>",
    "description": "<string>",
    "schema": {},
    "identifier": {
      "required": true,
      "linkTemplateScript": "<string>"
    }
  },
  "configurations": {},
  "states": {},
  "events": {},
  "actions": {},
  "entities": {},
  "identifier": {
    "fallbackHandlerScript": "<string>",
    "extractScript": "<string>"
  },
  "channels": {},
  "user": {
    "creation": {
      "enabled": true,
      "requiredTags": [
        "<string>"
      ]
    },
    "tags": {}
  },
  "interfaces": {},
  "secrets": {},
  "code": "<string>",
  "url": "<string>",
  "dev": true,
  "icon": "<string>",
  "readme": "<string>",
  "title": "<string>",
  "description": "<string>",
  "public": true,
  "layers": [
    "<string>"
  ]
}'
{}

Body

application/json
Integration
name
string
required

Name of the Integration

Maximum length: 200
version
string
required

Version of the Integration

Maximum length: 200
configuration
object

Default configuration definition of the integration

configurations
object

Additional configuration definitions of the integration

states
object
events
object
actions
object
entities
object
identifier
object
channels
object
user
object
interfaces
object
secrets
object

Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.

code
string

JavaScript code of the integration

url
string

URL of the integration

dev
boolean

Indicates if the integration is a development integration; Dev integrations run locally

icon
string

Base64 encoded svg of the integration icon. This icon is global to the integration each versions will be updated when this changes.

readme
string

Base64 encoded markdown of the integration readme. The readme is specific to each integration versions.

title
string

Title of the integration. This is the name that will be displayed in the UI

Required string length: 1 - 64
description
string

Description of the integration. This is the description that will be displayed in the UI

Maximum length: 256
public
boolean

Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.

layers
string[]

Response

200
application/json
Validation succeeded: the integration can be created using the same parameters

The response is of type object.