Create connection
Creates a new connection. This endpoint supports the following actions:
- Create a shell connection
- Create and authenticate a connection
<Note title="OAUTH AUTHENTICATION NOT SUPPORTED"> This endpoint does not support the ability to create and authenticate a connection for OAuth type connections. However, you can use this endpoint to create a shell connection for your OAuth connections.</Note>
Headers
Authorization
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Request
This endpoint expects an object.
provider
Connector identifier. For example, Salesforce
and more.
name
Connection name. For example, Prod Salesforce connection
and more.
folder_id
Folder id where connection should be stored.
parent_id
ID of parent connection.
external_id
External identifier given to the user who owns the runtime user connection.
shell_connection
Specifies whether the connection is a shell connection or an authenticated connection. Defaults to `false` if not specified. If `shell_connection` is `false`, credentials are passed, and the connection is tested and established. If `shell_connection` is `true`, credentials are passed, but the connection isn't tested or established, and additional actions are required for authentication.
input
Connection setting fields.
oauth_token_pair
Response
Success reply
id
The unique identifier for the connection.
name
The name of the connection.
provider
The provider associated with the connection.
created_at
The timestamp when the connection was created.
updated_at
The timestamp when the connection was last updated.
external_id
The external ID associated with the connection, if any.
folder_id
The ID of the folder containing the connection.
parent_id
The ID of the parent connection, if applicable.