---
title: "Get a list of all companies that user is associated with"
method: GET
path: "/v1/resourceowner/companies"
tags: ["ResourceOwnerCompany"]
---

# Get a list of all companies that user is associated with

`GET /v1/resourceowner/companies`

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

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

## Response `200`

The companies are returned

- CompanyModel[]
  - `CompanyId` integer
  - `RegisteredCompanyName` string
  - `RegistrationNumber` string

## 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)
