v1

latestOpenAPI 3.1.02026-07-22802,2441.7 MB
Auth

Create Link Token

Creates a temporary link token that is required to initiate the react-trackstar-link component. See the Getting Started guide for more details.

post/link/token

Headers

x-trackstar-api-keystring required
Example:<x-trackstar-api-key>

Your organization-level Trackstar API key.

Request body

connection_idstring

An optional existing connection ID. If provided, the connection is reinstalled instead of a new connection being created.

Example request

{
  "connection_id": "existing_connection_id"
}

Response

Successful response

link_tokenstring required

The link token that is required to initiate the react-trackstar-link component.

Example response

{
  "link_token": "your_link_token"
}