Skip to main content
POST
Create Link Token

Headers

x-trackstar-api-key
string
required

Your organization-level Trackstar API key.

Example:

"<x-trackstar-api-key>"

Body

application/json
connection_id
string

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

Example:

"existing_connection_id"

customer_id
string

An optional identifier for your end customer. If provided, it is recorded on any failed install attempts made with this link token and carried onto the connection once it is created, so you can trace either back to a specific customer.

Example:

"customer_id"

Response

Successful response

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

Example:

"your_link_token"