POST
/
link
/
exchange
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"
  ]
}

Headers

x-trackstar-api-key
string
required

Your organization-level Trackstar API key.

Example:

"<x-trackstar-api-key>"

Body

application/json

Response

200
application/json
Successful response

The response is of type object.