Skip to main content
POST
Create Connection

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Workspace-Id
string | null

The workspace ID

Body

application/json

Schema for creating a new connection.

integration
string
required

Integration name (slack, github, etc.)

integration_type
enum<string>
required

Type of integration (connectors, mcp, tool, model, storage, api, custom)

Available options:
connectors,
mcp,
tool,
model,
custom,
storage,
api
label
string | null

Human-readable label for the connection

Maximum string length: 255
config
Config · object

Integration-specific configuration

credential_id
string | null

ID of the credential to use for this connection

user_id
string | null

User ID who owns this connection

credentials
Credentials · object | null

Credentials to use for this connection

auth_method_id
string | null

Authentication method ID to use (defaults to integration's default method)

Response

Successful Response

Schema for reading connection data.

integration
string
required

Integration name (slack, github, etc.)

integration_type
enum<string>
required

Type of integration (connectors, mcp, tool, model, storage, api, custom)

Available options:
connectors,
mcp,
tool,
model,
custom,
storage,
api
id
string
required
credential_id
string
required
user_id
string | null
required
workspace_id
string
required
created_by
string
required
status
enum<string>
required
Available options:
active,
inactive,
testing,
error,
expired
created_at
string<date-time>
required
updated_at
string<date-time>
required
label
string | null

Human-readable label for the connection

Maximum string length: 255
config
Config · object

Integration-specific configuration