EasyRoutes API

Get vehicle

GET
/vehicles/{id}

Fetch a single vehicle by ID.

Authorization

bearerAuth
AuthorizationBearer <token>

Access token from /authenticate

In: header

Path Parameters

id*string

The ID of the vehicle to fetch.

Response Body

application/json

application/json

curl -X GET "https://example.com/vehicles/veh-123e4567-e89b-12d3-a456-426614174000"
{  "id": "veh-123e4567-e89b-12d3-a456-426614174000",  "name": "Delivery Van 1",  "make": "Ford",  "model": "Transit",  "year": 2023,  "type": "CARGO_VAN",  "vin": "1FTBW2CM5NKA12345",  "license": "ABC-1234",  "isArchived": false,  "createdTimestamp": "2026-07-30T12:00:00Z"}
{  "code": 0,  "message": "string",  "details": [    {      "@type": "string"    }  ]}