Skip to main content
POST
Create a source

Authorizations

Authorization
string
header
required

Bearer API key, prefixed with fdk_.

Body

application/json
name
string
required
type
string
required

Connector type, from GET /connector-types.

Example:

"postgres"

config
object
required

The connector's settings and credentials, using the field names from GET /connector-types/{type}. For database connections, ssl defaults to on.

variant
string
default:default

Connector variant, from GET /connector-types.

tunnel_id
integer

SSH tunnel to reach the connection through.

Response

The created source.

A source or destination. Credentials are never returned.

id
integer
identifier
string
name
string
type
string
Example:

"postgres"

variant
string
Example:

"default"

status
enum<string>
Available options:
active,
errored,
archived
tunnel_id
integer

SSH tunnel used to reach the connection, if any.

config
object

Non-secret settings, such as host, port, and database.

created_at
string<date-time>
updated_at
string<date-time>