---
title: "List companies"
method: GET
path: "/v2/companies"
tags: ["Companies"]
---

# List companies

`GET /v2/companies`

This endpoint lists companies. If externalId is provided in query param, only the company having 
the specified external ID is returned.

## Query parameters

- `externalId` string
- `companyRole` CompanyRole[]
- `companyIds` string[]
- `contractingTmcIds` string[]
- `bookingTmcIds` string[]
- `offset` integer
- `limit` integer

## Response `200`

OK

- ArrayOfReference
  - `length` integer
  - `elements` Reference[] — List of references containing id and name.
    - `id` string, uuid, required
    - `name` string
  - `totalNumResults` integer — Total number of results

## Other responses

- `401` — Unauthorized
- `403` — Forbidden

---

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