---
title: "Get contacts by vehicle id"
method: GET
path: "/v1/resourceowner/contactvehicle/{vehicleId}"
tags: ["ResourceOwnerContactVehicle"]
---

# Get contacts by vehicle id

`GET /v1/resourceowner/contactvehicle/{vehicleId}`

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

The user only has access to contacts that it is associated with through the company

## Path parameters

- `vehicleId` integer, required

## Response `200`

The vehicles are returned

- ContactModel[]
  - `ContactId` integer
  - `FirstName` string
  - `LastName` string
  - `EmailAddress` string

## Other responses

- `403`: Request is forbidden, meaning you dont' have access to this vehicle
- `404`: The vehicle that you tried to update doesn't exist
- `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)
