Skip to content
POST /connector

Authors a new org-owned connector from a catalog config. Requires `connector:create` and the `custom_connectors` plan feature. The config is schema-validated: a malformed one answers 422 with the exact issues. The slug is permanent and must be unique within the catalog.

Request Body

categorystring,null
configRecord<string, any>

Connector definition (resources, methods, auth).

labelstring
slugstring

Lowercase letters, digits and hyphens. new is reserved.

curl -X POST 'https://api.elaichi.ai/connector' \
  -H 'Authorization: Bearer $ELAICHI_API_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"slug":"your_slug","label":"your_label","config":{}}'
const body = {
  "slug": "your_slug",
  "label": "your_label",
  "config": {}
};

const response = await fetch('https://api.elaichi.ai/connector', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer ' + process.env.ELAICHI_API_TOKEN,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify(body),
});

const data = await response.json();
console.log(data);
import os
import requests

url = "https://api.elaichi.ai/connector"
headers = {
    "Authorization": f"Bearer {os.environ['ELAICHI_API_TOKEN']}",
    "Content-Type": "application/json",
}
payload = {
    "slug": "your_slug",
    "label": "your_label",
    "config": {}
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())