linxio-js
API Reference

API Reference

HTTP base URL, auth headers, response envelopes, and endpoint-family pages.

The default REST base URL is https://api.linxio.com/api. Authenticated requests require an Authorization: Bearer <token> header from the login endpoint.

The API reference is split by endpoint family. Publicly documented endpoints are included together with dashboard-derived endpoints represented in the SDK.

Endpoint families

Service Surface
Authentication
POST /loginPOST /login/otpPOST /token/refreshGET /mePOST /logout
Vehicles and routes
vehicle inventoryodometerengine-hourscountstypesroute history
Devices, sensors, and cameras
device inventoryinstall/uninstallsensor reportscamera events
Accounts, users, and drivers
clientsclient usersusersdriversreseller accounts
Geofences
areas and area groups
Fuel
fuel transactionssummariescardsfuel types
Reports and forms
scheduled reports and digital form answers
Metadata
countriesrolesplanssettingsthemeslanguages
Realtime
coordinates and notification Socket.IO namespaces

Request conventions

Parameters

Authorization
Bearer token
required
Send the JWT token returned by /login or /token/refresh for every authenticated endpoint.
Content-Type
application/json
optional
Send for JSON request bodies.
fields[]
string[]
optional
Several list endpoints accept repeated fields[] parameters to reduce response size.
limit
number
optional
Maximum records per page for paginated endpoints.
page
number
optional
Page number for paginated endpoints.
Default: 1

Response envelope

Most list endpoints return a pagination envelope:

Paginated response
{
  "page": 1,
  "limit": 100,
  "total": 123,
  "data": [],
  "aggregations": null
}

Most entity endpoints return the entity directly. Endpoints returning 204 No Content are represented by LinxioResult<void> in the SDK.

On this page