---
title: "Create a legal entity"
method: POST
path: "/v1/sandbox/companies/{company_id}/legal-entities"
tags: ["Sandbox"]
---

# Create a legal entity

`POST /v1/sandbox/companies/{company_id}/legal-entities`

Create a new legal entity for a company in a given country, with KYB automatically passed.

The entity is created with active status and can be set as the company's default
using the reassign default entity endpoint.
This endpoint is only available in Sandbox, otherwise it will respond with a 404.

## Path parameters

- `company_id` string, required

## Headers

- `Authorization` string, required

## Request body

- object
  - `country_code` string, required — ISO 3166-1 alpha-3 country code

## Response `201`

Legal entity created

- object
  - `data` object
    - `legal_entity_id` string — Legal entity slug
    - `name` string — Legal entity name
    - `status` string — Legal entity status

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `422` — Unprocessable Entity
- `429` — Too many requests

---

[API](https://skmtc.net/remote-com/apis/remote.md) · [All operations](https://skmtc.net/remote-com/apis/remote/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/remote-com/remote/revisions/7e6a0c61ac82/schema)
