Skip to main content
GET
Fleet last positions (V2)

Overview

Returns the last known position of each vehicle mapped to the specified company. A sub-company’s vehicle appears only if it is also mapped to this company. To cover every vehicle your token can read, call this endpoint for your own company (level 0 in List companies) and for each direct sub-company (level 1); deeper levels return 404. A vehicle mapped to both parent and child comes back from both calls, so de-duplicate by deviceId, falling back to imei only when deviceId is -1.
The V1 version of this endpoint is Fleet last positions. V2 is paginated.
Rate limit: 4 req/s · 20/min · 600/hr · 14,400/day

Endpoint

GET /v2/api/companies/{id}/vehicles/last-position

Path parameters

integer
required
Company ID.

Query parameters

boolean
default:"false"
Optional. On the current release this flag has no dependable effect; leave it false.
integer
default:"1"
Page number (1-based).
integer
default:"50"
Records per page.

Response

200 OK — PagedListResult<PositionDto> See V2 PositionDto fields for the full field list; on this endpoint the rows marked “list, fleet, nearest” apply.

Error responses

Authorizations

Authorization
string
header
required

JWT Bearer token obtained from POST /v2/api/authentication/token/api-key.

Lifetime: ~24 hours (86,399 seconds). Cache the token and reuse it. Re-authenticate 5 minutes before expiry.

Scoping: API key tokens are scoped by the key's company and its action set; see Token scoping.

No refresh endpoint — re-authenticate with your API key when the token expires.

Path Parameters

id
integer
required

Query Parameters

checkVehicleHandlerState
boolean
default:false

Optional. On the current release this flag has no dependable effect; leave it false.

page
integer
default:1
pageSize
integer
default:50

Response

Successful response