---
title: "Get a company by id"
method: GET
path: "/v1/resourceowner/companies/{companyId}"
tags: ["ResourceOwnerCompany"]
---

# Get a company by id

`GET /v1/resourceowner/companies/{companyId}`

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

## Path parameters

- `companyId` integer, required

## Response `200`

The company details are returned

- CompanyDetailModel
  - `CompanyId` integer
  - `RegisteredCompanyName` string
  - `RegistrationNumber` string
  - `Description` string
  - `LastModified` string, date-time
  - `Created` string, date-time

## Other responses

- `500` — Internal server error

---

[API](https://skmtc.net/automile/apis/automile-api.md) · [All operations](https://skmtc.net/automile/apis/automile-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/automile/automile-api/revisions/bd42075f6b02/schema)
