Skip to main content

connectIntegrationWithAccessToken

Connects an existing integration using a single pre-issued static access token, with no refresh material and no network exchange.

Used by integrations whose direct-integration auth model is a static API key the brand self-issues in the integration's portal and pastes into ours.

For two-token (access + refresh) integrations, use connectIntegrationWithTokens instead. For OAuth Authorization Code flows, use beginIntegrationOauth.

Authentication Requirements

  • Header Authorization must be provided
  • Header X-Company-Id must be provided

Possible Errors

  • Integration not found in the requesting company
  • Integration of the given type does not support single-token connect
  • access_token is blank
connectIntegrationWithAccessToken(
input: ConnectIntegrationWithAccessTokenInput!
): Integration!

Arguments

connectIntegrationWithAccessToken.input ● ConnectIntegrationWithAccessTokenInput! non-null input common

Parameters for ConnectIntegrationWithAccessToken

Type

Integration object integrations