---
title: "List all vehicles"
url: "https://docs.unified.to/dms/vehicle/List_all_vehicles"
description: "List all vehicles with Unified's Vehicle API (GET /dms/{connection_id}/vehicle). Filter by limit, offset and updated_gte. Supported by 8 Vehicle integrations."
date: "2026-11-21T17:08:55.315Z"
updated: "2026-11-21T17:08:55.315Z"
---
# List all vehicles

Updated: November 21, 2026

 GET/dms/{connection\_id}/vehicle

Returns a list of DmsVehicles. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.

## Parameters

**limit**number  default=100

**offset**number  default=0

**updated\_gte**date-time 

Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**sort** enum

name

updated\_at

created\_at

**order** enum

asc

desc

**query**string 

Query string to search. eg. email address or name

**contact\_id**string 

The contact ID to filter by

**company\_id**string 

The company ID to filter by

**status** enum

AVAILABLE

ON\_ORDER

IN\_TRANSIT

RESERVED

SOLD

UNAVAILABLE

OTHER

**fields**string array 

id

created\_at

updated\_at

is\_inventory

vin

stock\_number

fleet\_number

license\_plate

year

make

model

trim

model\_code

description

type

body\_style

condition

is\_certified

status

odometer

odometer\_unit

exterior\_color

interior\_color

fuel\_type

transmission

currency

price\_amount

msrp\_amount

internet\_price\_amount

cost\_amount

received\_at

sold\_at

delivered\_at

in\_service\_at

warranty\_expires\_at

last\_service\_at

contact\_id

company\_id

options

image\_urls

is\_published

is\_active

metadata

raw

Fields to return

**raw**string 

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

**connection\_id**string  required 

ID of the connection

## Returns

[DmsVehicle](https://docs.unified.to/dms/vehicle/model.md)array

A vehicle or other dealer unit: dealer stock or a customer-owned vehicle seen by service

**id**string 

**created\_at**date-time 

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**updated\_at**date-time 

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**is\_inventory**boolean 

True for a dealer stock unit, false for a customer-owned or service vehicle

**vin**string 

Vehicle identification number, or serial number / HIN for non-road units

**stock\_number**string 

Dealer stock number

**fleet\_number**string 

Customer or fleet unit number

**license\_plate**string 

**year**number 

Model year

**make**string 

**model**string 

**trim**string 

Trim, variant or series

**model\_code**string 

Manufacturer model code

**description**string 

Free-text vehicle description

**type** enum

Valid values:

 "CAR" 

 "TRUCK" 

 "VAN" 

 "SUV" 

 "MOTORCYCLE" 

 "BUS" 

 "RV" 

 "BOAT" 

 "TRAILER" 

 "EQUIPMENT" 

 "OTHER" 

**body\_style**string 

**condition** enum

Valid values:

 "NEW" 

 "USED" 

 "DEMO" 

 "OTHER" 

**is\_certified**boolean 

Certified pre-owned

**status** enum

Valid values:

 "AVAILABLE" 

 "ON\_ORDER" 

 "IN\_TRANSIT" 

 "RESERVED" 

 "SOLD" 

 "UNAVAILABLE" 

 "OTHER" 

Stock status; only set for inventory units

**odometer**number 

Current odometer or meter reading

**odometer\_unit** enum

Valid values:

 "MILES" 

 "KILOMETERS" 

 "HOURS" 

 "OTHER" 

**exterior\_color**string 

**interior\_color**string 

**fuel\_type** enum

Valid values:

 "GASOLINE" 

 "DIESEL" 

 "ELECTRIC" 

 "HYBRID" 

 "HYDROGEN" 

 "LPG" 

 "NATURAL\_GAS" 

 "OTHER" 

**transmission**string 

Transmission description

**currency**string 

ISO 4217 currency code

**price\_amount**number 

Asking or selling price of a stock unit

**msrp\_amount**number 

Manufacturer's suggested retail price

**internet\_price\_amount**number 

Advertised internet price

**cost\_amount**number 

Dealer total cost of the unit

**received\_at**date-time 

When the unit arrived in stock (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**sold\_at**date-time 

When the unit was last sold (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**delivered\_at**date-time 

When the vehicle was delivered to its current owner (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**in\_service\_at**date-time 

Warranty in-service date (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**warranty\_expires\_at**date-time 

Factory warranty expiry date (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**last\_service\_at**date-time 

Last service visit (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**contact\_id**string 

Owner, as a CRM Contact, when the owner is an individual

**company\_id**string 

Owner, as a CRM Company, when the owner is a business or fleet

**options** array 

Installed options and packages

**image\_urls**string array 

Public photo URLs

**is\_published**boolean 

Unit is published to the dealer website

**is\_active**boolean 

**metadata** array 

**raw** 

Raw data from integration

## Errors

 Errors return the HTTP status code and a JSON body with `statusCode`, `error` (the short label) and `message` (a human-readable detail). 

```json
{
  "statusCode": 429,
  "error": "Too Many Requests",
  "message": "Too many requests to unified.to API; max requests per minute: N"
}
```

| Status | Error                 | Meaning                                           |
| ------ | --------------------- | ------------------------------------------------- |
| 400    | Bad Request           | The request was malformed or failed validation.   |
| 401    | Unauthorized          | The connection is likely broken; re-authorize it. |
| 403    | Forbidden             | The connection is missing permissions or scopes.  |
| 404    | Not Found             | The requested resource does not exist.            |
| 429    | Too Many Requests     | Rate limit exceeded (see the two sources below).  |
| 500    | Internal Server Error | An unexpected error occurred.                     |
| 501    | Not Implemented       | Not supported by this integration.                |

 Errors from the underlying integration pass through: the integration's status comes back as ours (429, 401, 403, 404 or 5xx), usually with its message. When the integration's error body is unclear, Unified extracts what it can and returns a clearer message. 

### 429 Too Many Requests

A 429 has two possible sources:

* The integration's own rate limit, passed through.
* Unified's workspace limit: a rolling 60 seconds, set by plan, with the message `Too many requests to unified.to API; max requests per minute: N`.

## Code Samples

### Node.js SDK

```javascript
import { UnifiedTo } from '@unified-api/typescript-sdk';

const sdk = new UnifiedTo({
    security: {
        jwt: '<YOUR_API_KEY_HERE>',
    },
});

const connectionId = '5de520f96e439b002043d8dc';

const results = await sdk.dms.listDmsVehicles({ connectionId, 
    limit: 50,
    offset: 0,
    updated_gte: '2026-01-01T00:00:00.000Z',
    sort: 'updated_at',
    order: 'asc',
    query: '',
    contact_id: '',
    company_id: '',
    status: '',
    fields: '',
    raw: '',
 });
```

### Node.js (axios)

```javascript
const options = {
  method: 'GET',
  url: 'https://api.unified.to/dms/5de520f96e439b002043d8dc/vehicle',
  headers: {
    authorization: 'bearer .....'
  },
  params: {
    limit: 50,
    offset: 0,
    updated_gte: '2026-01-01T00:00:00.000Z',
    sort: 'updated_at',
    order: 'asc',
    query: '',
    contact_id: '',
    company_id: '',
    status: '',
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
```

### Java

```java
AsyncHttpClient client = new DefaultAsyncHttpClient();

client.prepare("GET", "https://api.unified.to/dms/5de520f96e439b002043d8dc/vehicle?limit=50&offset=0&updated_gte=2026-01-01T00:00:00.000Z&sort=updated_at&order=asc&query=&contact_id=&company_id=&status=&fields=&raw=")
  .setHeader("accept", "application/json")
  .setHeader("authorization", ".....")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
```

### Go

```go
import (
	"fmt"
	"net/http"
	"io/ioutil"
)

url := `https://api.unified.to/dms/5de520f96e439b002043d8dc/vehicle?limit=50&offset=0&updated_gte=2026-01-01T00:00:00.000Z&sort=updated_at&order=asc&query=&contact_id=&company_id=&status=&fields=&raw=

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("accept", "application/json")
req.Header.Add("authorization", ".....")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
```

### Python

```python
import requests

url = "https://api.unified.to/dms/5de520f96e439b002043d8dc/vehicle?limit=50&offset=0&updated_gte=2026-01-01T00:00:00.000Z&sort=updated_at&order=asc&query=&contact_id=&company_id=&status=&fields=&raw="

headers = {
    "accept": "application/json",
    "authorization": "....."
}

response = requests.get(url, headers=headers)
```

### PHP

```php
$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.unified.to/dms/5de520f96e439b002043d8dc/vehicle?limit=50&offset=0&updated_gte=2026-01-01T00:00:00.000Z&sort=updated_at&order=asc&query=&contact_id=&company_id=&status=&fields=&raw=",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "accept: application/json",
    "authorization: ....."
  ],
]);
```

### Ruby

```ruby
require 'uri'
require 'net/http'
require 'openssl'

url = URI("https://api.unified.to/dms/5de520f96e439b002043d8dc/vehicle?limit=50&offset=0&updated_gte=2026-01-01T00:00:00.000Z&sort=updated_at&order=asc&query=&contact_id=&company_id=&status=&fields=&raw=")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["accept"] = 'application/json'
request["authorization"] = '....'

response = http.request(request)
puts response.read_body
```

### cURL

```bash
curl --request GET \
  --url 'https://api.unified.to/dms/5de520f96e439b002043d8dc/vehicle?limit=50&offset=0&updated_gte=2026-01-01T00:00:00.000Z&sort=updated_at&order=asc&query=&contact_id=&company_id=&status=&fields=&raw=' \
  --header 'accept: application/json' \
  --header 'authorization: .....'
```
