# ECM API

Version: 1.0.0

## Servers

```
https://lytx-api.prod2.ph.lytx.com/ecm
```

```
https://lytx-api.prod5.ph.lytx.com/ecm
```

```
https://lytx-api.prod6.lv.lytx.com/ecm
```

```
https://lytx-api.prod7.lv.lytx.com/ecm
```

```
https://lytx-api.prod8.lv.lytx.com/ecm
```

## Security

### APIKey

Enter your API key

Type: apiKey
In: header
Name: X-APIKey

## Download OpenAPI description

[ECM API](https://developer.lytx.com/_bundle/openapispec/legacy.vehicleinfo.aggregator.openapi.yaml)

## ECM (DriveCam)

Legacy API to retrieve location information or ECM vehicle data for a given vehicle. Uses obsolete X-APIKey authentication.

### Retrieve Location of Specified Vehicle

 - [GET /vehicles/{vehicleId}/location](https://developer.lytx.com/openapispec/legacy.vehicleinfo.aggregator.openapi/ecm-(drivecam)/gps_getlocationbyid.md)

### Get ECM Data for Specified Vehicle

 - [GET /vehicles/{vehicleId}/odometer](https://developer.lytx.com/openapispec/legacy.vehicleinfo.aggregator.openapi/ecm-(drivecam)/vehicle_getvehiclebyid.md)

### Retrieve List of Vehicles Associated to Callers Company

 - [GET /vehicles](https://developer.lytx.com/openapispec/legacy.vehicleinfo.aggregator.openapi/ecm-(drivecam)/vehicleinfoaggregate_getallvehicleinfobycompanyid.md)

### Retrieve ECM Data of Specified Vehicle

 - [GET /vehicles/{vehicleId}](https://developer.lytx.com/openapispec/legacy.vehicleinfo.aggregator.openapi/ecm-(drivecam)/vehicleinfoaggregate_getvehicleinfobyid.md)

