---
title: "Get legal entities"
method: GET
path: "/hris/legal-entities"
tags: ["Unified HRIS API"]
---

# Get legal entities

`GET /hris/legal-entities`

## Request

- Base URL: `https://api.kombo.dev/v1`
- URL: `https://api.kombo.dev/v1/hris/legal-entities`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/kombo/apis/kombo-api/docs/hris/legal-entities/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve all legal entites.

Top level filters use AND, while individual filters use OR if they accept multiple arguments. That means filters will be resolved like this: `(id IN ids) AND (remote_id IN remote_ids)`

## Query parameters

- `cursor` string: An optional cursor string used for pagination. This can be retrieved from the `next` property of the previous page response.
- `page_size` integer: The number of results to return per page. Maximum is 250.
- `updated_after` string, date-time: Filter the entries based on the modification date in format `YYYY-MM-DDTHH:mm:ss.sssZ`. Returns records where either the record itself **OR** its nested data has been updated since this timestamp, even if the record's own `changed_at` field remains unchanged. If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden. For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior). For this endpoint, only changes to the returned record itself are considered.
- `include_deleted` 'true' | 'false': By default, deleted entries are not returned. Use the `include_deleted` query param to include deleted entries too.
- `ignore_unsupported_filters` 'true' | 'false': When set to `true`, filters targeting fields not supported by this integration will be ignored instead of filtering out all results.
- `ids` string: Filter by a comma-separated list of IDs such as `222k7eCGyUdgt2JWZDNnkDs3,B5DVmypWENfU6eMe6gYDyJG3`.
- `remote_ids` string: Filter by a comma-separated list of remote IDs.
- `name_contains` string: Filter by the `name` field. Can be used to find a legal entity by keywords present in the legal entity name.

## Headers

- `X-Integration-Id` string, required

## Response `200`

GET /hris/legal-entities Positive response

- GetHrisLegalEntitiesPositiveResponse
  - `status` 'success', required
  - `data` object, required
    - `next` string, nullable, required: Cursor string that can be passed to the `cursor` query parameter to get the next page. If this is `null`, then there are no more pages.
    - `results` object[], required
      - `id` string, required: The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing.
      - `remote_id` string, nullable, required: The raw ID of the object in the remote system. We don't recommend using this as a primary key on your side as it might sometimes be compromised of multiple identifiers if a system doesn't provide a clear primary key.
      - `name` string, nullable, required: The legal entity’s name.
      - `address` object, nullable: The legal entity’s address.
        - `city` string, nullable
        - `country` string, nullable: Contains the ISO2 country code if possible. If not, it contains the original value.
        - `raw` string, nullable: If we have address data, this is filled with the raw address string.
        - `state` string, nullable
        - `street_1` string, nullable: If we can parse the address data, this field contains the first part of the street information.
        - `street_2` string, nullable
        - `zip_code` string, nullable
      - `changed_at` string, date-time, required: The timestamp when this specific record was last modified. This field only updates when properties directly on this record change, NOT when related or nested models change. For filtering that considers nested data changes, use the `updated_after` parameter which will return records when either the record itself OR its related models have been updated.
      - `remote_deleted_at` string, date-time, nullable, required: The date and time the object was deleted in the remote system. Objects are automatically marked as deleted when Kombo can't retrieve them from the remote system anymore. Kombo will also anonymize entries 14 days after they disappear.
      - `remote_data` object, nullable, required: **(⚠️ Deprecated)** Remote data can no longer be enabled. This field is `null` unless remote data was already enabled for this model in your scope config. [Read more](https://docs.kombo.dev/hris/getting-started/remote-data)
      - `custom_fields` object, nullable, required: A key-value store of fields not covered by the schema. [Read more](/custom-fields)
      - `integration_fields` object[], required: An array of selected passthrough integration fields. [Read more](/integration-fields)
        - `id` string, required: The globally unique ID of this object.
        - `key` string, required: The key of the field in the remote system.
        - `type` 'DEFAULT' | 'CUSTOM', required: - `DEFAULT`: static fields in the remote system. - `CUSTOM`: fields that are created/editable by the user.
        - `value` unknown
        - `label` string, nullable, required: The label of the field. (not always available)

## Other responses

- `default`: The standard error response with the error codes for the HRIS use case.

## Changes

- **2026-10-15** `07bc44a61b06`: 2 info
  - added the required property `data/results/items/custom_fields` to the response with the `200` status
  - added the required property `data/results/items/integration_fields` to the response with the `200` status
- **2026-07-13** `d0e06abf1118`: 1 breaking, 10 info
  - the response property `data/results/items/address` became optional for the status `200`
  - added the new optional `query` request parameter `ignore_unsupported_filters`
  - added the new optional `query` request parameter `name_contains`
  - removed the pattern `/^([\da-z]{24}(,[\da-z]{24})*)?$/i` from the `query` request parameter `ids`
  - …7 more

[Operation history](https://skmtc.dev/kombo/apis/kombo-api/changes/hris/legal-entities/get.md)

---

[API](https://skmtc.dev/kombo/apis/kombo-api.md) - [All operations](https://skmtc.dev/kombo/apis/kombo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kombo/apis/kombo-api/revisions/2eba6bd4a150?raw)
