POST
/
api
/
connectors
curl --request POST \
  --url https://axis-production-2887.up.railway.app/api/connectors \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "file_url": "<string>",
  "video_url": "<string>",
  "auth_url": "<string>",
  "inputs": [
    {
      "title": "<string>",
      "description": "<string>",
      "placeholder": "<string>",
      "type": "<string>",
      "options": [
        {
          "option_key": "<string>",
          "option_label": "<string>",
          "type": "string",
          "parent_option_id": "<string>"
        }
      ]
    }
  ],
  "consts": [
    {
      "title": "<string>",
      "description": "<string>",
      "value": "<string>",
      "type": "<string>"
    }
  ],
  "public": true
}'
{}

Body

application/json
The connector to create
name
string
required
Minimum length: 2
description
string
required
file_url
string
required
inputs
object[] | null
required
consts
object[] | null
required
public
boolean
required
video_url
string | null
auth_url
string | null

Response

201 - application/json
The connector has been successfully created.

The response is of type object.