Initiate connection

POST

Headers

x-org-api-keystringRequired

Request

This endpoint expects an object.
datamap from strings to anyRequired

The data required to initiate a connection. Structure varies by integration type.

integrationIdstringRequired>=1 character

The ID of the integration for which the connection is being initiated. You can get this from the /api/v1/integrations endpoint.

redirectUristringOptional

The URL to redirect to after the connection is successfully initiated.

userUuidstringOptional

Deprecated: UUID of the user initiating the connection.

entityIdstringOptional

The entity ID to associate with the connection. Learn more about entities here.

labelslist of stringsOptional

Array of labels to associate with the connection for organization and filtering.

Response

Initiates a connection for the given integration and mark the connection status as initiated if the auth scheme is OAuth1 or OAuth2

connectionStatusstring>=1 character

The current status of the initiated connection.

connectedAccountIdstring>=1 character

The ID of the newly created connected account.

redirectUrlstringOptional

URL to redirect to for completing the connection process, if required.

Errors

Built with