Sandbox
Generate Sandbox
Generates a sandbox with mocked out data. Uses the same connection ID every time, and will reset any existing sandbox. See the walkthrough for more information.
POST
/
sandbox
/
generate-sandbox
Header
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"
}
Headers
x-trackstar-api-key
string
requiredYour organization-level Trackstar API key.
Response
200 - application/json
access_token
string
requiredThe permanent access token for the integration used to make requests to the Trackstar API.
connection_id
string
requiredA unique connection ID for the integration.
integration_name
string
requiredThe name of the integration that was installed.
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"
}