linxio-js
API Reference

Overview

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

Request headers

Bearer token
required
JWT bearer token returned by login or token refresh.

JSON body headers

application/json
required
Send for JSON request bodies.

Common query parameters

string[]
optional
Several list endpoints accept repeated fields[] parameters to reduce response size.
number
optional
Maximum records per page for paginated endpoints.
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