Quick Start
Get up and running with the TrackSafe365 API in under 5 minutes.
Prerequisites
- An API token with at least
trucks:readscope (see Authentication) curlor any HTTP client
The public API is served from the gateway under
/services/glssafety/api/public:
https://dev-gw.tracksafe365.com/services/glssafety/api/public
Step 1 — Set your API key
export TS365_API_KEY="ts365_test_xxxxxxxxxxxxxxxxxxxx"
Step 2 — List your trucks
curl "https://dev-gw.tracksafe365.com/services/glssafety/api/public/trucks?page=0&size=20" \
-H "Authorization: $TS365_API_KEY"
Example response
{
"content": [
{
"id": 1,
"model": "Cascadia",
"make": "Freightliner",
"unitNumber": "1042",
"vin": "1FUJGLDR9CSBP1234",
"year": 2022,
"active": true,
"vehicleType": "TRACTOR",
"fuelType": "DIESEL"
}
],
"page": 0,
"size": 20,
"totalElements": 142,
"totalPages": 8
}
Step 3 — Fetch one truck
curl "https://dev-gw.tracksafe365.com/services/glssafety/api/public/trucks/1" \
-H "Authorization: $TS365_API_KEY"
Step 4 — Try it interactively
Open any endpoint under API Reference and use the Explorer panel on the right to build and send a request without leaving the docs.
Next steps
- Browse the full API Reference
- Narrow results with Filtering & Sorting
- Page through large fleets with Pagination
- Read the Error Codes reference