---
title: "Get the company vehicle relationship"
method: GET
path: "/v1/resourceowner/companyvehicle/{companyVehicleId}"
tags: ["ResourceOwnerCompanyVehicles"]
---

# Get the company vehicle relationship

`GET /v1/resourceowner/companyvehicle/{companyVehicleId}`

## 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/{companyVehicleId}`
- Auth: OAuth 2
  - Implicit: `https://api.automile.com/login/`

Only company vehicle that the user has access to are accessible.

## Path parameters

- `companyVehicleId` integer, required

## Response `200`

The company vehicle model is returned

- CompanyVehicleModel
  - `CompanyVehicleId` integer
  - `CompanyId` integer
  - `VehicleId` integer

## Other responses

- `403`: Request is forbidden, meaning you don't have access to this company vehicle relationship
- `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)
