API Reference
Select a resource from the sidebar to view full endpoint documentation.
The TrackSafe365 REST API provides programmatic access to fleet telematics data including vehicles, drivers, trips, safety events, media, and real-time locations. All endpoints return JSON and use standard HTTP status codes.
All requests require a Bearer token in the Authorization header. Generate API keys from the Dashboard → Settings → API Keys.
Send request bodies as JSON with Content-Type: application/json. All timestamps use ISO 8601 format (UTC). Coordinates use decimal degrees (WGS84).
TrackSafe365 uses API keys for authentication. All API requests must include a valid key as a Bearer token. Keys are scoped to an organization and can be restricted by permission set.
| Type | Prefix | Description |
|---|---|---|
| Live | ts365_live_ | Access production data. Billed usage. |
| Sandbox | ts365_test_ | Access synthetic test data. Free, no side effects. |
| Restricted | ts365_rk_ | Scoped permissions for specific resources. |
Each key is assigned permission scopes that control which resources and operations are accessible.
Returns a paginated list of all vehicles in your fleet. Supports filtering by tag, status, and attribute. Results are sorted by vehicle name by default.
| Parameter | Type | Description |
|---|---|---|
| limit optional | integer | Number of results per page. Default: 100. Max: 500. |
| cursor optional | string | Pagination cursor returned in previous response. |
| tagIds optional | string[] | Comma-separated tag IDs to filter vehicles. |
| vehicleIds optional | string[] | Comma-separated vehicle IDs to retrieve specific vehicles. |
| parentTagId optional | string | Filter by parent tag and all descendants. |
| Field | Type | Description |
|---|---|---|
| data | Vehicle[] | Array of vehicle objects. |
| data[].id | string | Unique vehicle ID. |
| data[].name | string | Vehicle display name. |
| data[].vin | string | Vehicle Identification Number. |
| data[].licensePlate | string | License plate number and state. |
| data[].tags | Tag[] | Tags associated with vehicle. |
| pagination.endCursor | string | Cursor for next page. |
| pagination.hasNextPage | boolean | Whether more results exist. |
Make your first API call in under two minutes. Set your API key in the panel on the right, then hit Try Request.
Navigate to Dashboard → Settings → API Keys and generate a new key. Use a sandbox key (prefix: ts365_test_) while developing.
Toggle between Sandbox and Production in the credentials panel. The base URL and key prefix update automatically.
Enter your API key in the right panel. The Authorization header auto-populates in the code snippets. Click Try Request to fire a live call against the sandbox.
List endpoints use cursor-based pagination. Each response includes a pagination object with a cursor and a boolean indicating whether more results exist.
| Field | Description |
|---|---|
| pagination.endCursor | Pass as cursor param in next request. |
| pagination.hasNextPage | false when on last page. |
The API uses standard HTTP status codes. Error responses include a JSON body with a code and message field.
| Code | Meaning |
|---|---|
| 200 | Success |
| 201 | Created |
| 400 | Bad Request — invalid parameters |
| 401 | Unauthorized — invalid or missing API key |
| 403 | Forbidden — insufficient permissions |
| 404 | Not Found |
| 429 | Rate Limit Exceeded |
| 500 | Internal Server Error |
API rate limits are enforced per API key. Limits vary by plan and endpoint type.
| Plan | Requests/min | Requests/day |
|---|---|---|
| Sandbox | 60 | 10,000 |
| Starter | 300 | 100,000 |
| Growth | 1,000 | 500,000 |
| Enterprise | Custom | Unlimited |
Returns a single vehicle object by ID.
| Parameter | Type | Description |
|---|---|---|
| idrequired | string | Unique vehicle ID. |
Updates mutable fields on a vehicle. Only fields provided in the request body are modified.
Returns aggregated statistics for fleet vehicles including odometer, engine hours, fuel consumption, and idling time.
Returns current GPS locations and heading for all active vehicles.
Returns all drivers in your organization.
Returns a single driver by ID.
Creates a new driver in your organization.
Updates driver information.
Returns paginated trips for your fleet.
Returns full trip details including route polyline.
Returns safety events including harsh braking, acceleration, cornering, and speeding.
Returns a single safety event with full metadata and associated media.
Update coaching status or notes on a safety event.
Real-time location feed for all vehicles.
Historical GPS breadcrumbs for a vehicle over a time range.
Driver Monitoring System events: drowsiness, distraction, phone use, seatbelt.
Safety scores aggregated by driver over a time period.
Returns dash cam video recordings linked to safety events or requested manually.
Requests a live camera snapshot from a dashcam. Returns a task ID; poll for completion.
Returns all dashcam devices and their online status.
Returns configured alert rules for your organization.
Creates a new alert rule. Supports event-based and threshold triggers.
Returns all configured webhook endpoints for your organization.
Registers a new webhook endpoint to receive real-time event notifications.
Permanently removes a webhook endpoint. All future events will stop being delivered.
Aggregated fleet metrics: total miles, active vehicles, fuel usage, utilization.
Safety analytics breakdown by driver, vehicle, or time period.
Returns all hardware devices registered to your fleet.
Returns a single device with hardware info, firmware version, and connectivity status.
Select a resource from the sidebar to view full endpoint documentation.
Release notes and API updates for the TrackSafe365 platform.
/safety/dms/eventsinclude_media param to attach linked video URLsX-TS365-Signature headergroupBy=tag support to analytics endpoints?api_key=) deprecated in favor of Authorization headerReal-time status of TrackSafe365 platform services.