Skip to Content
API ReferenceLegal Entities

Get All Legal Entities

GET
/api/v1/legal-entities

Returns the legal entities of the company sorted by title, archived ones included with is_archived=true. employees_count counts employees who are not terminated, null when there are none. Need any permission: settings_legal_entities, manage_leave_policies, manage_approval_policy, settings_roles_permissions, add_employees, employee_employment_legal_entity=view, manage_employee_position=edit.

Authorization

HttpBearerAuth
headerAuthorizationBearer <JWT>

Response Body

Successful Response

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://api.skailer.com/api/v1/legal-entities'
Example Response200
[  {    "id": 0,    "title": "string",    "tax_id": "string",    "currency": {      "code": "string",      "name": "string",      "name_plural": "string",      "symbol": "string",      "symbol_native": "string",      "decimal_digits": 0,      "rounding": 0    },    "location": {      "id": 0,      "title": "string",      "address_1": "string",      "address_2": "string",      "city": "string",      "state": "string",      "zip": "string",      "country": {        "id": 0,        "title": "string"      },      "timezone": "string",      "employees_count": 0,      "is_archived": true    },    "employees_count": 0,    "is_archived": true  }]