cURL
curl --request POST \ --url https://production.trackstarhq.com/link/exchange \ --header 'Content-Type: application/json' \ --header 'x-trackstar-api-key: <x-trackstar-api-key>' \ --data '{ "auth_code": "auth_code", "customer_id": "customer_id" }'
{ "access_token": "your_permanent_access_token", "connection_id": "unique_connection_id", "integration_name": "shipbob", "customer_id": "customer_id", "available_actions": [ "get_inventory", "get_products" ], "available_endpoints": [ "GET /inventory", "GET /products" ] }
Exchanges a temporary authorization code for a permanent access token. See the Getting Started guide for more details.
Your organization-level Trackstar API key.
"<x-trackstar-api-key>"
Successful response
The response is of type object.
object