<!-- dev-portal
method: GET
title: Vehicle Meta Data
path: /v1/vehicles
-->

<div style="background-color:#fff3cd; border-left:6px solid #ffeeba; padding:16px; margin-bottom:24px;">
<strong>Note:</strong> The API listed on this page will be deprecated soon and will no longer receive updates or support. Please refer to the <a href="../../NEW Ford Telematics REST API V2/V2 Migration Guide"><u>Migration Guide</u></a> to learn about the new endpoints and how to transition your integration.
</div>

### GET /v1/vehicles

Retrieves list of enrolled vehicles in your fleet with metadata information on each vehicle. Please note this includes vehicles with product status "subscribed" and "processing unsubscribe"


#### Request Parameters

| Name      | Type    | Required | Description                                                                                                                                     |
|-----------|---------|----------|-------------------------------------------------------------------------------------------------------------------------------------------------|
| page      | string  | No       | Page cursor.  On first request should be null, and on subsequent requests should be set from next_page value of response if not null.           |
| page-size | integer | No       | Page size of limit.  If null, default is 100, maximum is 1000.                                                                                  |
| fields    | string  | No       | Comma seperated list of fields to include in response.  ex: vin,vehicle_name,make,model,year.  If null, default behavior is to show all fields. |

#### Response

| Name          | Type                                                 | Description                                                                        |
|---------------|------------------------------------------------------|------------------------------------------------------------------------------------|
| next_page     | string                                               | Page cursor that can be used to fetch next page if available; Otherwise, null.     |
| previous_page | string                                               | Page cursor that can be used to fetch previous page if available; Otherwise, null. |
| page_size     | integer                                              | Page size requested.                                                               |
| page_count    | integer                                              | Number vehicles returned for this page.                                            |
| vehicles      | Array[[VehicleMetadata](../Schemas#vehiclemetadata)] | List of vehicle metadata.  See VehicleMetadat Schema for more details.             |

##### Response Codes

| Name | Description                                                                                                                                 |
|------|---------------------------------------------------------------------------------------------------------------------------------------------|
| 200  | Ok.                                                                                                                                         |

#### Example

```bash
curl -X GET -H "Authorization: \"Bearer ${AUTH_TOKEN}\"" "https://${HOST}/vehicle-status-api/v1/vehicles?page-size=2"

{
    "next_page": "MQ==",
    "previous_page": null,
    "page_size": 2,
    "page_count": 2,
    "vehicles": [
        {
            "vin": "1FMEU111111111111",
            "vehicle_name": "My Transit",
            "make": "Ford",
            "model": "Transit",
            "year": 2022
        },
        {
            "vin": "1FMEU111111111112",
            "vehicle_name": "My Mustang",
            "make": "Ford",
            "model": "Mustang",
            "year": 2023
        }
    ]
}
```
