API Docs / Schemas / ThirdPartyConnectionDto

ThirdPartyConnectionDto

Represents an OAuth or API key connection to a third-party platform such as Xero, FreeAgent, Sage, or QuickBooks.
Used for integrating accounting platforms, client imports, and other external services.

Properties

Name Type Description
codestring

The unique code for this connection

The unique code for this connection

platformstring

The platform identifier (e.g., "Xero", "FreeAgent", "Sage", "QuickBooks")

The platform identifier (e.g., "Xero", "FreeAgent", "Sage", "QuickBooks")

namestring

Display name for the connection

Display name for the connection

authenticationTypeenum

OAuth ApiKey Basic

OAuth ApiKey Basic

apiKeystring

The API key (only populated if AuthenticationType is ApiKey)

The API key (only populated if AuthenticationType is ApiKey)

statusenum

NotInitiated Initialising Active Expired Revoked Error

NotInitiated Initialising Active Expired Revoked Error

capabilitiesarray of enum

Capabilities available from this platform connection (e.g., Accounting, ClientImport)

None Accounting CRM DocumentManagement Communication ProjectManagement TimeTracking Payments ClientImport DirectDebit

Capabilities available from this platform connection (e.g., Accounting, ClientImport)

None Accounting CRM DocumentManagement Communication ProjectManagement TimeTracking Payments ClientImport DirectDebit

redirectUrlstring

URL to redirect the user back to after OAuth flow completes

URL to redirect the user back to after OAuth flow completes

authorizationUrlstring

OAuth authorization URL for initiating the connection flow

OAuth authorization URL for initiating the connection flow

organizationCodeAndNameDto
availableOrganizationsarray of CodeAndNameDto

List of available organizations from the connected platform (populated during OAuth callback)

List of available organizations from the connected platform (populated during OAuth callback)

createdDatestring

When the connection was created

When the connection was created

updatedDatestring

When the connection was last updated

When the connection was last updated

JSON Example

{
  "code": "string",
  "platform": "string",
  "name": "string",
  "authenticationType": "OAuth",
  "apiKey": "string"
}

Used By Operations

Contained in Schemas