POST
/
sandbox
/
generate-sandbox
curl --request POST \
  --url https://production.trackstarhq.com/sandbox/generate-sandbox \
  --header 'x-trackstar-api-key: <x-trackstar-api-key>'
{
  "access_token": "your_permanent_access_token",
  "connection_id": "unique_connection_id",
  "integration_name": "sandbox",
  "customer_id": "customer_id",
  "available_endpoints": [
    "get_inventory",
    "get_products"
  ]
}

Headers

x-trackstar-api-key
string
required

Your organization-level Trackstar API key.

Response

200 - application/json
access_token
string
required

The permanent access token for the integration used to make requests to the Trackstar API.

connection_id
string
required

A unique connection ID for the integration.

integration_name
string
required

The name of the integration that was installed.

customer_id
string | null
required

An identifier for your end customer.

available_endpoints
string[]
required

A list of endpoints that the integration supports.