List legal entities

Changed on

List the legal entities the API key's user can act on, oldest first. This is the one request that takes no x-legal-entity header: use it to find the id to send in that header on every other request.

get/v2/legal-entities

Request

  • Base URL
    https://api.slash.com
  • URL
    https://api.slash.com/v2/legal-entities
  • Auth
    API key in header X-API-Key

Query parameters

cursorstring

The opaque metadata.nextCursor value from the previous page. It carries that page's filters, page size and ordering, so pass it on its own; see Pagination.

limitinteger

Number of items per page, from 1 to 100. The page size is carried inside metadata.nextCursor, so later pages keep the same size unless limit is passed again to change it.

Response

A page of legal entities.

Example response

{
  "items": [
    {
      "id": "le_2rj4l7hmrrrcv",
      "name": "Acme Inc."
    }
  ]
}

Changes