---
title: "Get a list of all company vehicles that user is associated with"
method: GET
path: "/v1/resourceowner/companyvehicle"
tags: ["ResourceOwnerCompanyVehicles"]
---

# Get a list of all company vehicles that user is associated with

`GET /v1/resourceowner/companyvehicle`

## Request

- Base URL: `https://api.automile.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.automile.com/v1/resourceowner/companyvehicle`
- Auth: OAuth 2
  - Implicit: `https://api.automile.com/login/`

Only company vehicles that the user is associated with will be returned by this operation.

## Query parameters

- `companyId` integer

## Response `200`

The company vehicles are returned

- CompanyVehicleModel[]
  - `CompanyVehicleId` integer
  - `CompanyId` integer
  - `VehicleId` integer

## Other responses

- `500`: Internal server error

---

[API](https://skmtc.dev/automile/apis/automile-api.md) - [All operations](https://skmtc.dev/automile/apis/automile-api/llms.txt) - [OpenAPI document](https://skmtc.dev/automile/apis/automile-api/revisions/56b5b8d6d733?raw)
