# Legal entity

> widar marks AI output for the EU AI Act and California's AI Transparency Act: an invisible watermark and a signed C2PA credential on text, images, audio and video, in one API, by Bynn Intelligence.

Documentation index: https://widar.com/llms.txt

The examples in these docs use invented companies, such as Lumen Labs B.V., and invented values: none is a real check, mark, signature or certificate.

Section: Mark and sign. URL: https://widar.com/docs/legal-entity

The company behind your workspace. widar validates it once, before any production certificate is issued in its name. Validation is automated; a widar staff member steps in only when a case is flagged.

Updated December 3, 2026

A production certificate names your company, so widar confirms the company first: that it is in its country's official register, that it controls its [domain](https://widar.com/docs/certificates/domains), and that the person who confirms the request may represent it. Validation is automated; a widar staff member steps in only when a case is flagged. Certificates stay free with or without a plan. Test certificates need none of this.

What validation asks

| You give | Why |
| --- | --- |
| Legal name, registration number and country | To find the company in its official register. |
| Registered address | As the register shows it. |
| A domain | To confirm control of it by a DNS record. |
| A representative | The person who confirms the request for the company, from an email widar sends. |
| Documents, only if asked | When the register is not enough, staff ask in the console's messages. |

- States: `unvalidated`, `validating`, `validated` and `expired`. A validation holds 12 months; `entity.revalidation_due` comes 30 days before.
- An agent can do every step but one: the representative confirms the request in person.
- The result comes as `entity.validated`, or as `entity.validation_failed` with what to change.

**The legal entity**

```json
{
  "id": "ent_7QmR2kVx9LpA",
  "object": "legal_entity",
  "legal_name": "Lumen Labs B.V.",
  "registration_number": "94817263",
  "registry": "Kamer van Koophandel",
  "country": "NL",
  "domain": "lumenlabs.example",
  "address": "Keizersgracht 418, 1016 GC Amsterdam",
  "representative": {
    "name": "Sanne Bakker",
    "title": "Chief Executive Officer",
    "email": "sanne.bakker@lumenlabs.example"
  },
  "state": "validated",
  "submitted_at": "2025-11-19T10:14:00Z",
  "validated_at": "2025-11-24T15:32:00Z",
  "revalidation_due_at": "2027-11-24T00:00:00Z",
  "open_question": null,
  "messages": []
}
```

## Read the legal entity

The company behind the workspace, its validation state and the messages with widar's staff on a flagged case.

`GET /v1/legal_entity`. Who may: Owner, Admin, Compliance, Developer, Viewer and Billing. CLI: `widar legal-entity get`. MCP tool: `get_legal_entity`.

**Parameters**

**Returns** legal entity: The legal entity, with its state (unvalidated, validating, validated, expired), when it was validated and its messages.

API:

```bash
curl -X GET https://api.widar.com/v1/legal_entity \
  -H "Authorization: Bearer $WIDAR_API_KEY"
```

CLI:

```bash
widar legal-entity get
```

MCP tool `get_legal_entity`:

```json
{
  "name": "get_legal_entity",
  "arguments": {}
}
```

Response, 200 OK:

```json
{
  "id": "ent_7QmR2kVx9LpA",
  "object": "legal_entity",
  "legal_name": "Lumen Labs B.V.",
  "registration_number": "94817263",
  "registry": "Kamer van Koophandel",
  "country": "NL",
  "domain": "lumenlabs.example",
  "address": "Keizersgracht 418, 1016 GC Amsterdam",
  "representative": {
    "name": "Sanne Bakker",
    "title": "Chief Executive Officer",
    "email": "sanne.bakker@lumenlabs.example"
  },
  "state": "validated",
  "submitted_at": "2025-11-19T10:14:00Z",
  "validated_at": "2025-11-24T15:32:00Z",
  "revalidation_due_at": "2027-11-24T00:00:00Z",
  "open_question": null,
  "messages": []
}
```

## Edit the legal entity

Changes the company's details while it is not validated, or after its validation was turned down. A validated or validating entity cannot be edited.

`PATCH /v1/legal_entity`. Who may: Owner, Admin and Compliance. CLI: `widar legal-entity update [--legal-name <name>] [--registration-number <number>] [--registry <register>] [--country <XX>] [--domain <domain>] [--address <address>] [--representative-name <name>] [--representative-title <role>] [--representative-email <email>]`. MCP tool: `update_legal_entity`.

**Parameters**
- `legal_name` (string): The company's name exactly as its register shows it. At most 160 characters.
- `registration_number` (string): The number the register gives the company, such as a KvK or HRB number. At most 40 characters.
- `registry` (string): The registry. At most 120 characters.
- `country` (pipe): Where it is registered: two letters, ISO 3166-1.
- `domain` (pipe): A domain the company controls. Validation asks for a DNS record on it.
- `address` (string): The registered address. At most 240 characters.
- `representative_name` (string): The representative name. At most 120 characters.
- `representative_title` (string): The representative title. At most 120 characters.
- `representative_email` (email): The representative email.

**Returns** legal entity: The legal entity, as changed.

API:

```bash
curl -X PATCH https://api.widar.com/v1/legal_entity \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "legal_name": "Lumen Labs B.V.",
    "registration_number": "94817263",
    "country": "NL",
    "domain": "lumenlabs.example"
  }'
```

CLI:

```bash
widar legal-entity update \
  --legal-name 'Lumen Labs B.V.' \
  --registration-number 94817263 \
  --country NL \
  --domain lumenlabs.example
```

MCP tool `update_legal_entity`:

```json
{
  "name": "update_legal_entity",
  "arguments": {
    "legal_name": "Lumen Labs B.V.",
    "registration_number": "94817263",
    "country": "NL",
    "domain": "lumenlabs.example"
  }
}
```

Response, 200 OK:

```json
{
  "id": "ent_7QmR2kVx9LpA",
  "object": "legal_entity",
  "legal_name": "Lumen Labs B.V.",
  "registration_number": "94817263",
  "registry": "Kamer van Koophandel",
  "country": "NL",
  "domain": "lumenlabs.example",
  "address": "Keizersgracht 418, 1016 GC Amsterdam",
  "representative": {
    "name": "Sanne Bakker",
    "title": "Chief Executive Officer",
    "email": "sanne.bakker@lumenlabs.example"
  },
  "state": "validated",
  "submitted_at": "2025-11-19T10:14:00Z",
  "validated_at": "2025-11-24T15:32:00Z",
  "revalidation_due_at": "2027-11-24T00:00:00Z",
  "open_question": null,
  "messages": []
}
```

## Submit the legal entity

Sends the company for validation. The checks are automated; a staff member steps in only on a flagged case. The representative confirms the request from an email. Certificates are issued only once it is validated.

`POST /v1/legal_entity/submit`. Who may: Owner, Admin and Compliance. CLI: `widar legal-entity submit`. MCP tool: `submit_legal_entity`.

**Parameters**

**Returns** legal entity: The legal entity, validating.

API:

```bash
curl -X POST https://api.widar.com/v1/legal_entity/submit \
  -H "Authorization: Bearer $WIDAR_API_KEY"
```

CLI:

```bash
widar legal-entity submit
```

MCP tool `submit_legal_entity`:

```json
{
  "name": "submit_legal_entity",
  "arguments": {}
}
```

Response, 200 OK:

```json
{
  "id": "ent_7QmR2kVx9LpA",
  "object": "legal_entity",
  "legal_name": "Lumen Labs B.V.",
  "registration_number": "94817263",
  "registry": "Kamer van Koophandel",
  "country": "NL",
  "domain": "lumenlabs.example",
  "address": "Keizersgracht 418, 1016 GC Amsterdam",
  "representative": {
    "name": "Sanne Bakker",
    "title": "Chief Executive Officer",
    "email": "sanne.bakker@lumenlabs.example"
  },
  "state": "validating",
  "submitted_at": "2025-11-19T10:14:00Z",
  "validated_at": "2025-11-24T15:32:00Z",
  "revalidation_due_at": "2027-11-24T00:00:00Z",
  "open_question": null,
  "messages": []
}
```

## Withdraw the legal entity

Takes a submitted company back from validation, so its details can be edited and submitted again.

`POST /v1/legal_entity/withdraw`. Who may: Owner, Admin and Compliance. CLI: `widar legal-entity withdraw`. MCP tool: `withdraw_legal_entity`.

**Parameters**

**Returns** legal entity: The legal entity, unvalidated again.

API:

```bash
curl -X POST https://api.widar.com/v1/legal_entity/withdraw \
  -H "Authorization: Bearer $WIDAR_API_KEY"
```

CLI:

```bash
widar legal-entity withdraw
```

MCP tool `withdraw_legal_entity`:

```json
{
  "name": "withdraw_legal_entity",
  "arguments": {}
}
```

## List the messages with staff

`GET /v1/legal_entity/messages`

The conversation with widar's validation officers on a flagged case, oldest first: their questions, your answers and the documents they asked for, by name.

List the messages with staff

- Who may: Owner, Admin, Compliance, Developer, Viewer and Billing
- CLI: `widar legal-entity messages`
- MCP tool: `list_legal_entity_messages`
- Returns: A list of messages.

No parameters.

**List the messages with staff**

API:

```bash
curl -X GET https://api.widar.com/v1/legal_entity/messages \
  -H "Authorization: Bearer $WIDAR_API_KEY"
```

CLI:

```bash
widar legal-entity messages
```

MCP tool:

```json
{
  "name": "list_legal_entity_messages",
  "arguments": {}
}
```

## Answer widar's staff

Answers widar's staff on a flagged case, with a document they asked for if there is one. The document is kept by widar for the validation and never made public.

`POST /v1/legal_entity/messages`. Who may: Owner, Admin and Compliance. CLI: `widar legal-entity reply --body <text> [--file <path>]`. MCP tool: `reply_to_validation`.

**Parameters**
- `body` (string, required): Your answer. At most 2,000 characters.
- `document_name` (string): The document name. At most 200 characters.
- `document_type` (enum): The document type. One of `application/pdf`, `image/jpeg`, `image/png`.
- `document_size` (integer): The document size. At least 1, at most 20,000,000.

**Returns** legal entity: The legal entity, with the message in its thread.

API:

```bash
curl -X POST https://api.widar.com/v1/legal_entity/messages \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "body": "Register extract attached, dated 1 December 2026."
  }'
```

CLI:

```bash
widar legal-entity reply \
  --body 'Register extract attached, dated 1 December 2026.'
```

MCP tool `reply_to_validation`:

```json
{
  "name": "reply_to_validation",
  "arguments": {
    "body": "Register extract attached, dated 1 December 2026."
  }
}
```
