Skip to main content
GET
Last online (V2)

Overview

Returns the last-seen timestamp for a single vehicle and the elapsed time in seconds.
The V1 version of this endpoint is Vehicle Last Online.
Rate limit: 2 req/s · 144,000/min · 144,000/hr · 144,000/day — in practice 2 requests per second per API key

Endpoint

GET /v2/api/vehicles/{id}/last-online

Path parameters

integer
required
Public vehicle ID (deviceId).

Response

200 OK — LastTimeOnlineDto

Example response

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

Response

Successful response