GET
/
legal-entity
curl --request GET \
  --url https://api.joinslash.com/legal-entity \
  --header 'X-API-Key: <api-key>'
{
  "items": [
    {
      "id": "<string>",
      "name": "<string>",
      "structure": "person"
    }
  ],
  "metadata": {
    "nextCursor": "<string>",
    "count": 123
  }
}

Authorizations

X-API-Key
string
header
required

Authentication from public API requests

Response

200
application/json
OK
items
object[]
required

A legal entity is an entity (either a person or a business) that can own accounts. If you are using the API with an API key, your API key will only be associated with one legal entity, so you will not need to specify the legal entity ID in most endpoints. If you are using the API with an OAuth2 access token, you can filter the results of most endpoints to only show data for a specific legal entity by specifying the legal entity ID in the URL.

metadata
object
required

Response sent when requesting a list of data