The Tokens endpoints are used to obtain and manage tokens from Link. A public_token is returned whenever a merchant successfully shares their data with you through Link. However, the public_token cannot be used directly with our API. It must be exchanged for an access_token via the Tokens endpoints.

Token Exchange Flow

  1. Merchant authorizes you to use their data via Link
  2. Link returns a public_token on the frontend, which must be exchanged for an access_token
  3. Exchange the public_token for an access_token by calling /item/public_token/exchange.

The access_token can then be used to call Rutter endpoints and obtain information about an Item.