POST
/
link
/
exchange

Headers

x-trackstar-api-key
string
required

Your organization-level Trackstar API key.

Body

application/json
auth_code
string
required

The authorization code returned from the frontend after a user installs an integration.

customer_id
string | null

An identifier for your end customer.

Response

200 - application/json
access_token
string
required

The permanent access token for the integration used to make requests to the Trackstar API.

connection_id
string
required

A unique connection ID for the integration.

integration_name
string
required

The name of the integration that was installed.

customer_id
string | null
required

An identifier for your end customer.

available_actions
string[]
required

A list of actions that the integration supports.

available_endpoints
string[]
required

DEPRECATED: Use available_actions instead.