Skip to main content
POST
connectors.create(spec)

Authorizations

Authorization
string
header
required

An API key, or a session token on its own session

Body

application/json
name
string
required
inbound
object | null

Present: the connector has an inbound side.

outbound
object | null

Present: the connector has an outbound side.

secret
string

The default secret, 16 to 256 printable ASCII characters; generated when omitted.

Response

Created

id
string
required
Pattern: ^con_[0-7][0-9a-hjkmnp-tv-z]{25}$
name
string
required

[a-z0-9-], 1 to 64 characters, unique in the project, fixed at creation.

secrets
string[]
required

The names of its secrets, default first; never their values.

inbound
object | null
required

null: no webhook URL answers for it.

outbound
object | null
required

null: every send to its keys is refused.

createdAt
string<date-time>
required

RFC 3339 in UTC with milliseconds.

Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}Z$
updatedAt
string<date-time>
required

RFC 3339 in UTC with milliseconds.

Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}Z$