---
title: "List legal entities"
method: GET
path: "/v2/companies/{companyId}/legal-entities"
tags: ["Legal Entities"]
---

# List legal entities

`GET /v2/companies/{companyId}/legal-entities`

## Request

- Base URL: `https://api-ext-sboxmeta.partners.spotnana.com`
- URL: `https://api-ext-sboxmeta.partners.spotnana.com/v2/companies/{companyId}/legal-entities`
- Auth: HTTP bearer

This endpoint lists legal entities of a company. If externalId is provided in the query param 
only the legal entity having the provided externalId is returned.

## Query parameters

- `pageNumber` integer
- `pageSize` integer
- `externalId` string

## 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.dev/spotnana/apis/company-api.md) - [All operations](https://skmtc.dev/spotnana/apis/company-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spotnana/apis/company-api/revisions/184a1b415751?raw)
