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, 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.
- States:
unvalidated,validating,validatedandexpired. A validation holds 12 months;entity.revalidation_duecomes 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 asentity.validation_failedwith what to change.
{
"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": []
}GET/v1/legal_entity
The company behind the workspace, its validation state and the messages with widar’s staff on a flagged case.
- Who may
- Owner, Admin, Compliance, Developer, Viewer and Billing
- CLI
widar legal-entity get- MCP tool
get_legal_entity- Returns
- The legal entity, with its state (unvalidated, validating, validated, expired), when it was validated and its messages.
No parameters.
curl -X GET https://api.widar.com/v1/legal_entity \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/legal_entity
{
"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": []
}PATCH/v1/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.
- 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- Returns
- The legal entity, as changed.
Parameters
legal_nameThe company’s name exactly as its register shows it. At most 160 characters.
registration_numberThe number the register gives the company, such as a KvK or HRB number. At most 40 characters.
registryThe registry. At most 120 characters.
countryWhere it is registered: two letters, ISO 3166-1.
domainA domain the company controls. Validation asks for a DNS record on it.
addressThe registered address. At most 240 characters.
representative_nameThe representative name. At most 120 characters.
representative_titleThe representative title. At most 120 characters.
representative_emailThe representative email.
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"
}'PATCH /v1/legal_entity
{
"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": []
}POST/v1/legal_entity/submit
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.
- Who may
- Owner, Admin and Compliance
- CLI
widar legal-entity submit- MCP tool
submit_legal_entity- Returns
- The legal entity, validating.
No parameters.
curl -X POST https://api.widar.com/v1/legal_entity/submit \
-H "Authorization: Bearer $WIDAR_API_KEY"POST /v1/legal_entity/submit
{
"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": []
}POST/v1/legal_entity/withdraw
Takes a submitted company back from validation, so its details can be edited and submitted again.
- Who may
- Owner, Admin and Compliance
- CLI
widar legal-entity withdraw- MCP tool
withdraw_legal_entity- Returns
- The legal entity, unvalidated again.
No parameters.
curl -X POST https://api.widar.com/v1/legal_entity/withdraw \
-H "Authorization: Bearer $WIDAR_API_KEY"POST /v1/legal_entity/withdraw
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.
- 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.
curl -X GET https://api.widar.com/v1/legal_entity/messages \
-H "Authorization: Bearer $WIDAR_API_KEY"POST/v1/legal_entity/messages
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.
- Who may
- Owner, Admin and Compliance
- CLI
widar legal-entity reply --body <text> [--file <path>]- MCP tool
reply_to_validation- Returns
- The legal entity, with the message in its thread.
Parameters
bodyRequiredYour answer. At most 2,000 characters.
document_nameThe document name. At most 200 characters.
document_typeThe document type. One of
application/pdf,image/jpeg,image/png.document_sizeThe document size. At least 1, at most 20,000,000.
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."
}'POST /v1/legal_entity/messages