---
title: "Get all vehicles with routes"
method: GET
path: "/vehicles-routes"
tags: ["Vehicles"]
---

# Get all vehicles with routes

`GET /vehicles-routes`

## Request

- Base URL: `https://flash-api.quadminds.com/api/v2`
- URL: `https://flash-api.quadminds.com/api/v2/vehicles-routes`
- Auth: API key in header `x-saas-apikey`

Get vehicles with routes

## Query parameters

- `limit` integer
- `offset` integer
- `from` string, required
- `to` string, required

## Response `200`

Get all vehicles

- object
  - `meta` object
    - `limit` integer: Number of rows retrieved
    - `offset` integer: Number of rows skipped
    - `total` integer: Total number of rows
  - `data` object[]
    - `_id` number
    - `name` string
    - `type` string
    - `icon` string
    - `group` string[]
    - `legacyUserId` number
    - `lastReport` string
    - `locationTimestamp` string
    - `longitude` string
    - `latitude` string
    - `legacyThingId` number
    - `characteristics` string
    - `groupCode` string
    - `brand` string
    - `model` string
    - `licensePlate` string
    - `trailerLicensePlate` string
    - `year` string
    - `status` string
    - `carrier` string
    - `maintenance` number
    - `refConsumption` string
    - `legalWeight` number
    - `routes` object[]
      - `_id` number
      - `status` string
      - `code` string

## Other responses

- `403`: Not authorized access

---

[API](https://skmtc.dev/quadminds/apis/cloudflash-api.md) - [All operations](https://skmtc.dev/quadminds/apis/cloudflash-api/llms.txt) - [OpenAPI document](https://skmtc.dev/quadminds/apis/cloudflash-api/revisions/7731f1076b80?raw)
