# Free C2PA certificates

> 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: Certificates. URL: https://widar.com/docs/certificates

Generate a free C2PA certificate for each of your systems from widar's certificate authority. Every certificate is bound to a domain you control, valid for 60 days and renewed every 30, with the key made on your side.

Updated December 3, 2026

A widar certificate

- Price: Free to issue and to renew, with or without a plan. No certificate or domain call answers `402`.
- What it signs: The C2PA credential on one system's output. A document issuer also gets an [organisation identity and a PDF signing certificate](https://widar.com/docs/documents/certificates).
- Validity: 60 days, renewed every 30, always with a new key.
- Bound to: A [domain you control](https://widar.com/docs/certificates/domains), validated at issue and again at every renewal.
- Issued by: widar Claim Signing CA G1, under widar Root CA G1, once your legal entity, the domain and the system are validated.
- Public record: Every production certificate is in the [transparency log](https://widar.com/docs/certificates/transparency-log) before it is announced.

## Get a certificate

Your [legal entity](https://widar.com/docs/legal-entity) is validated once, and each [system](https://widar.com/docs/systems) passes product validation in minutes. Validation is automated; a widar staff member steps in only when a case is flagged. Then three calls:

## Add your domain

The answer holds the domain's challenge: a TXT record to publish, or a file to serve.

API:

```bash
curl -X POST https://api.widar.com/v1/domains \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "voice.lumenlabs.example"
  }'
```

CLI:

```bash
widar domains create voice.lumenlabs.example
```

MCP tool `domains_create`:

```json
{
  "name": "domains_create",
  "arguments": {
    "name": "voice.lumenlabs.example"
  }
}
```

TypeScript:

```typescript
// Client: widar's TypeScript SDK, provided with your workspace

const widar = new Client(); // reads WIDAR_API_KEY
const result = await widar.domains.create({
  name: "voice.lumenlabs.example",
});
```

Python:

```python
# Client: widar's Python SDK, provided with your workspace

widar = Client()  # reads WIDAR_API_KEY
result = widar.domains.create(name="voice.lumenlabs.example")
```

Go:

```go
client := widar.NewClient() // reads WIDAR_API_KEY
result, err := client.Domains.Create(ctx, &widar.DomainsCreateParams{
	Name: "voice.lumenlabs.example",
})
if err != nil {
	return err
}
```

Rust:

```rust
let client = widar::Client::from_env()?; // reads WIDAR_API_KEY
let result = client
    .domains()
    .create(widar::domains::CreateParams {
        name: "voice.lumenlabs.example".into(),
        ..Default::default()
    })
    .await?;
```

## Answer the challenge

Publish the TXT record and leave it in place: every renewal then passes with nothing to do. widar checks on its own for 7 days, or at once when you ask.

DNS record:

```
_widar-challenge.voice.lumenlabs.example. 300 IN TXT "Tq8Wm3LxKz5Nb2VcRp7HsYd4GfJe9UaQo1MkEiSn6Rw"
```

CLI:

```bash
widar domains validate dom_3Xv8nTe2HqWc
```

## Request the certificate

With your own key, add `--csr` and a request your machine made; widar never receives a private key. Without one, widar makes the key in its HSM-backed key store in the EU.

API:

```bash
curl -X POST https://api.widar.com/v1/certificates \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "system_id": "sys_7Yc3mVq8KtRb",
    "domain": "voice.lumenlabs.example",
    "assurance_level": 2
  }'
```

CLI:

```bash
widar certificates request sys_7Yc3mVq8KtRb \
  --domain voice.lumenlabs.example \
  --assurance-level 2
```

MCP tool `request_certificate`:

```json
{
  "name": "request_certificate",
  "arguments": {
    "system_id": "sys_7Yc3mVq8KtRb",
    "domain": "voice.lumenlabs.example",
    "assurance_level": 2
  }
}
```

TypeScript:

```typescript
// Client: widar's TypeScript SDK, provided with your workspace

const widar = new Client(); // reads WIDAR_API_KEY
const result = await widar.certificates.create({
  system_id: "sys_7Yc3mVq8KtRb",
  domain: "voice.lumenlabs.example",
  assurance_level: 2,
});
```

Python:

```python
# Client: widar's Python SDK, provided with your workspace

widar = Client()  # reads WIDAR_API_KEY
result = widar.certificates.create(
    system_id="sys_7Yc3mVq8KtRb",
    domain="voice.lumenlabs.example",
    assurance_level=2,
)
```

Go:

```go
client := widar.NewClient() // reads WIDAR_API_KEY
result, err := client.Certificates.Create(ctx, &widar.CertificatesCreateParams{
	SystemId:       "sys_7Yc3mVq8KtRb",
	Domain:         "voice.lumenlabs.example",
	AssuranceLevel: 2,
})
if err != nil {
	return err
}
```

Rust:

```rust
let client = widar::Client::from_env()?; // reads WIDAR_API_KEY
let result = client
    .certificates()
    .create(widar::certificates::CreateParams {
        system_id: "sys_7Yc3mVq8KtRb".into(),
        domain: "voice.lumenlabs.example".into(),
        assurance_level: 2,
        ..Default::default()
    })
    .await?;
```

The certificate is issued as soon as everything it waits for is validated, and `certificate.issued` tells your webhook. From then on it renews every 30 days on its own.

## Renewal every 30 days

Who renews it

| The key is | Renewed by | What you do |
| --- | --- | --- |
| widar-managed, in widar's key store | widar, every 30 days, the domain checked first | Nothing. Keep the TXT record in place. |
| Yours, in an HSM or a keystore | The [renewal daemon](#renewal-daemon), the SDKs, the CLI, the plugins or the sidecar, with a new key made on your machine | Run one of them. `widar certificates renew --all` from a scheduler works too. |
| Yours, through an ACME client | Your client, as a new order with a new key | Point it at [widar's ACME directory](https://widar.com/docs/certificates/acme-and-est). |

Before each renewal the domain is validated again. If the check fails, the renewal is refused with `domain_not_validated`, `domain.validation_failed` is sent, and the current certificate stays valid to its end, so you have up to 30 days to put the record back. `certificate.expiring` follows when a certificate has 20 days left and no renewal.

> **A DNS move is the usual cause.** An example, for an invented company: Lumen Labs moves `motion.lumenlabs.example` to a new DNS provider and the TXT record is not copied. The next renewal is refused, widar checks again every 6 hours, and the certificate keeps signing to its end. Copy `_widar-challenge` records with the rest of the zone.

## The renewal daemon

`widar-renew` is a small open-source program for your servers, the way you would run an ACME client for a TLS certificate. It makes the key there (in a keystore, or in your HSM for level 2), answers the domain challenge, gets the certificate over ACME or EST, renews it every 30 days and hands it to the plugins and the sidecar on the same host. widar receives the request, the challenge answers, the daemon's version and its health; never the private key.

**Enrol the renewal daemon**

Enrol:

```bash
widar enrolment-tokens create sys_4kT9qWm2RbXe --purpose acme
widar-renew enrol --system sys_4kT9qWm2RbXe --domain image.lumenlabs.example \
  --eab-kid "$WIDAR_EAB_KID" --eab-hmac-key "$WIDAR_EAB_HMAC_KEY"
```

Status:

```bash
widar-renew status
```

The daemon comes with a widar workspace: [widar's sales team](https://widar.com/contact) provides it. Configuration and what it reports: [The renewal daemon](https://widar.com/docs/certificates/renewal-daemon).

## Assurance levels

Assurance levels

| Level | Key protection | Who has it |
| --- | --- | --- |
| 2 | A hardware security module, FIPS 140-2 level 2 or higher | Every cloud and remote-signer system, in widar's key store; your own HSM if it qualifies |
| 1 | A software keystore encrypted at rest | A customer key that does not meet level 2 |

> **Test certificates are free and instant too.** In test mode a system gets a test certificate at once, with no validation, from widar's test root. It is on no trust list, says test in its subject, and is not logged.

**A certificate**

```json
{
  "id": "crt_1Rw6mYb3QsNa",
  "object": "certificate",
  "system_id": "sys_4kT9qWm2RbXe",
  "kind": "production",
  "assurance_level": 2,
  "subject": {
    "common_name": "Lumen Image",
    "organization": "Lumen Labs B.V.",
    "country": "NL"
  },
  "domain": "image.lumenlabs.example",
  "serial": "AC:92:57:97:FF:9D:A2:52:2F:5F:CF:05:78:E7:1E:BB",
  "issuer": "widar Claim Signing CA G1",
  "not_before": "2026-11-18T09:55:00Z",
  "not_after": "2027-01-17T09:55:00Z",
  "state": "issued",
  "key_custody": "customer_hsm",
  "requested_at": "2026-11-18T09:54:00Z",
  "requested_by": "Renewal daemon on hsm-signer-ams1",
  "issued_at": "2026-11-18T09:55:00Z",
  "revoked_at": null,
  "revocation_reason": null,
  "chain": [
    "widar Claim Signing CA G1",
    "widar Root CA G1"
  ],
  "renewal": {
    "every_days": 30,
    "next_at": "2026-12-18T09:55:00Z",
    "by": "daemon"
  },
  "log_index": 12,
  "price": 0
}
```

## Create an ACME or EST credential

Make a one-time credential that lets the renewal daemon, or any ACME or EST client, get and renew a system's certificate with no person. Shown once.

`POST /v1/systems/{system_id}/enrolment_tokens`. Who may: Owner, Admin and Developer. CLI: `widar enrolment-tokens create <system_id> --purpose <acme|est> [--label <text>]`. MCP tool: `enrolment_tokens_create`.

**Parameters**
- `system_id` (id (sys_), required): The system. In the path.
- `purpose` (enum, required): `install`, `est` or `acme`.
- `label` (string): A name to tell it apart later, such as the host it is for. At most 80 characters.

**Returns** enrolment credential, with its secret this once: The credential and its secret: for ACME, the External Account Binding's key id and MAC key; for EST, the one-time token. Never shown again.

API:

```bash
curl -X POST https://api.widar.com/v1/systems/sys_4kT9qWm2RbXe/enrolment_tokens \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "purpose": "install"
  }'
```

CLI:

```bash
widar enrolment-tokens create sys_4kT9qWm2RbXe --purpose install
```

MCP tool `enrolment_tokens_create`:

```json
{
  "name": "enrolment_tokens_create",
  "arguments": {
    "system_id": "sys_4kT9qWm2RbXe",
    "purpose": "install"
  }
}
```

Response, 201 Created:

```json
{
  "object": "enrolment_token",
  "system_id": "sys_4kT9qWm2RbXe",
  "purpose": "install",
  "token": "enr_a4dWhi0YOs9H93ZzWj2hX4k5pg8BcAsR",
  "expires_at": "2026-12-04T09:42:00Z"
}
```

## Request a certificate

Get a free C2PA claim signing certificate for a system, bound to a validated domain, at assurance level 1 or 2, with its key in widar's key store or in your own HSM. Valid 60 days, renewed every 30.

`POST /v1/certificates`. Who may: Owner, Admin, Compliance and Developer. CLI: `widar certificates request <system_id> [--domain <example.com>] [--assurance-level <1|2>] [--key-location <widar_key_store|customer_hsm>] [--csr <request.csr>]`. MCP tool: `request_certificate`.

**Parameters**
- `system_id` (id (sys_), required): The system it signs for.
- `domain` (string): A domain of the workspace, validated or pending. It is written in the certificate and checked again at every renewal. At most 253 characters.
- `assurance_level` (integer, default 2): `1` or `2`. Every cloud system signs at level 2.
- `key_location` (enum, default "widar_key_store"): The key location. One of `widar_key_store`, `customer_hsm`.
- `csr` (string): A PKCS#10 request in PEM, when the key is yours. Left out, widar makes the key in its key store, where it stays. The MCP server never makes or holds a private key: pass a request your machine made, or let widar manage the key. At most 16,384 characters.

**Returns** certificate: The certificate: issued at once and logged when the legal entity, the domain and the system are validated, or requested until its domain validates. In test mode a test certificate is issued at once.

API:

```bash
curl -X POST https://api.widar.com/v1/certificates \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "system_id": "sys_7Yc3mVq8KtRb",
    "domain": "voice.lumenlabs.example",
    "assurance_level": 2
  }'
```

CLI:

```bash
widar certificates request sys_7Yc3mVq8KtRb \
  --domain voice.lumenlabs.example \
  --assurance-level 2
```

MCP tool `request_certificate`:

```json
{
  "name": "request_certificate",
  "arguments": {
    "system_id": "sys_7Yc3mVq8KtRb",
    "domain": "voice.lumenlabs.example",
    "assurance_level": 2
  }
}
```

Response, 201 Created:

```json
{
  "id": "crt_5Mz2kRq8VbTn",
  "object": "certificate",
  "system_id": "sys_7Yc3mVq8KtRb",
  "kind": "claim_signing",
  "domain": "voice.lumenlabs.example",
  "assurance_level": 2,
  "subject": {
    "common_name": "Lumen Voice",
    "organization": "Lumen Labs B.V.",
    "country": "NL"
  },
  "state": "requested",
  "waiting_for": [
    "domain"
  ],
  "key_custody": "customer_hsm",
  "requested_at": "2026-12-03T09:44:00Z",
  "requested_by": "Sanne Bakker",
  "price": 0
}
```

## List certificates

Every certificate of the workspace, all free: C2PA claim signing for its systems, and the company's identity and PDF signing certificates, each with its domain, validity, next renewal and state.

`GET /v1/certificates`. Who may: Owner, Admin, Compliance, Developer and Viewer. CLI: `widar certificates list [--system-id <sys_...>] [--state <requested|issued|revoked|expired>] [--kind <claim_signing|organisation_identity|pdf_signing>]`. MCP tool: `list_certificates`.

**Parameters**
- `system_id` (id (sys_)): Only this system's.
- `state` (enum): `requested`, `issued`, `revoked` or `expired`.
- `kind` (enum): The kind. One of `claim_signing`, `organisation_identity`, `pdf_signing`.

**Returns** list of certificates: The certificates, each with what it signs for, its kind, assurance level, subject, serial, validity, state, where its key is kept, the domain it is bound to, its next renewal and what renews it.

API:

```bash
curl -X GET "https://api.widar.com/v1/certificates?state=issued" \
  -H "Authorization: Bearer $WIDAR_API_KEY"
```

CLI:

```bash
widar certificates list --state issued
```

MCP tool `list_certificates`:

```json
{
  "name": "list_certificates",
  "arguments": {
    "state": "issued"
  }
}
```

Response, 200 OK:

```json
{
  "items": [
    {
      "id": "crt_1Rw6mYb3QsNa",
      "object": "certificate",
      "system_id": "sys_4kT9qWm2RbXe",
      "kind": "production",
      "assurance_level": 2,
      "subject": {
        "common_name": "Lumen Image",
        "organization": "Lumen Labs B.V.",
        "country": "NL"
      },
      "domain": "image.lumenlabs.example",
      "serial": "AC:92:57:97:FF:9D:A2:52:2F:5F:CF:05:78:E7:1E:BB",
      "issuer": "widar Claim Signing CA G1",
      "not_before": "2026-11-18T09:55:00Z",
      "not_after": "2027-01-17T09:55:00Z",
      "state": "issued",
      "key_custody": "customer_hsm",
      "requested_at": "2026-11-18T09:54:00Z",
      "requested_by": "Renewal daemon on hsm-signer-ams1",
      "issued_at": "2026-11-18T09:55:00Z",
      "revoked_at": null,
      "revocation_reason": null,
      "chain": [
        "widar Claim Signing CA G1",
        "widar Root CA G1"
      ],
      "renewal": {
        "every_days": 30,
        "next_at": "2026-12-18T09:55:00Z",
        "by": "daemon"
      },
      "log_index": 12,
      "price": 0
    }
  ],
  "next_cursor": null
}
```

## Read a certificate

One certificate: its subject, serial, issuer, validity, chain, fingerprint, where its key is kept, its domain and renewal, its log entry and its revocation status.

`GET /v1/certificates/{certificate_id}`. Who may: Owner, Admin, Compliance, Developer and Viewer. CLI: `widar certificates get <certificate_id>`. MCP tool: `get_certificate`.

**Parameters**
- `certificate_id` (id (crt_), required): The certificate. In the path.

**Returns** certificate: The certificate, with its chain by name, its SHA-256 fingerprint, its domain, renewal and log index and, once revoked, when and why.

API:

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

CLI:

```bash
widar certificates get crt_1Rw6mYb3QsNa
```

MCP tool `get_certificate`:

```json
{
  "name": "get_certificate",
  "arguments": {
    "certificate_id": "crt_1Rw6mYb3QsNa"
  }
}
```

Response, 200 OK:

```json
{
  "id": "crt_1Rw6mYb3QsNa",
  "object": "certificate",
  "system_id": "sys_4kT9qWm2RbXe",
  "kind": "production",
  "assurance_level": 2,
  "subject": {
    "common_name": "Lumen Image",
    "organization": "Lumen Labs B.V.",
    "country": "NL"
  },
  "domain": "image.lumenlabs.example",
  "serial": "AC:92:57:97:FF:9D:A2:52:2F:5F:CF:05:78:E7:1E:BB",
  "issuer": "widar Claim Signing CA G1",
  "not_before": "2026-11-18T09:55:00Z",
  "not_after": "2027-01-17T09:55:00Z",
  "state": "issued",
  "key_custody": "customer_hsm",
  "requested_at": "2026-11-18T09:54:00Z",
  "requested_by": "Renewal daemon on hsm-signer-ams1",
  "issued_at": "2026-11-18T09:55:00Z",
  "revoked_at": null,
  "revocation_reason": null,
  "chain": [
    "widar Claim Signing CA G1",
    "widar Root CA G1"
  ],
  "renewal": {
    "every_days": 30,
    "next_at": "2026-12-18T09:55:00Z",
    "by": "daemon"
  },
  "log_index": 12,
  "price": 0
}
```

## Renew a certificate

Renew now: a new certificate with the same system, domain, assurance level and key location, and a new key, issued once its domain validates again. Free; the one renewed keeps working until it ends.

`POST /v1/certificates/{certificate_id}/renew`. Who may: Owner, Admin, Compliance and Developer. CLI: `widar certificates renew <certificate_id> [--csr <request.csr>]`. MCP tool: `renew_certificate`.

**Parameters**
- `certificate_id` (id (crt_), required): The certificate to follow. In the path.
- `csr` (string): A new PKCS#10 request, made on your machine with a new key, when the key is yours. At most 16,384 characters.

**Returns** certificate: The new certificate, issued and logged; the one renewed keeps working until it ends. Refused with the domain's failure while the domain does not validate.

API:

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

CLI:

```bash
widar certificates renew crt_1Rw6mYb3QsNa
```

MCP tool `renew_certificate`:

```json
{
  "name": "renew_certificate",
  "arguments": {
    "certificate_id": "crt_1Rw6mYb3QsNa"
  }
}
```

## Revoke a certificate

Revoke a certificate with its reason. widar stops signing with it, and its status answers revoked from then on.

`POST /v1/certificates/{certificate_id}/revoke`. Who may: Owner and Admin. CLI: `widar certificates revoke <certificate_id> --reason <unspecified|key_compromise|affiliation_changed|superseded|cessation_of_operation>`. MCP tool: `revoke_certificate`.

**Parameters**
- `certificate_id` (id (crt_), required): The certificate. In the path.
- `reason` (enum, required): `key_compromise`, `affiliation_changed`, `superseded`, `cessation_of_operation` or `unspecified`.

**Returns** certificate: The certificate, revoked, with the time and the reason.

API:

```bash
curl -X POST https://api.widar.com/v1/certificates/crt_1Rw6mYb3QsNa/revoke \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "reason": "superseded"
  }'
```

CLI:

```bash
widar certificates revoke crt_1Rw6mYb3QsNa --reason superseded
```

MCP tool `revoke_certificate`:

```json
{
  "name": "revoke_certificate",
  "arguments": {
    "certificate_id": "crt_1Rw6mYb3QsNa",
    "reason": "superseded"
  }
}
```

## Add a domain

Add a domain name the company controls. widar answers its challenge: a TXT record, or a file at a well-known address. Publish either one; widar checks on its own for 7 days.

`POST /v1/domains`. Who may: Owner, Admin, Compliance and Developer. CLI: `widar domains create <name>`. MCP tool: `domains_create`.

**Parameters**
- `name` (pipe, required): The domain or subdomain, such as `voice.lumenlabs.example`. Lowercase, no scheme, no path.

**Returns** domain: The domain, pending, with its challenge to publish.

API:

```bash
curl -X POST https://api.widar.com/v1/domains \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "voice.lumenlabs.example"
  }'
```

CLI:

```bash
widar domains create voice.lumenlabs.example
```

MCP tool `domains_create`:

```json
{
  "name": "domains_create",
  "arguments": {
    "name": "voice.lumenlabs.example"
  }
}
```

Response, 201 Created:

```json
{
  "id": "dom_3Xv8nTe2HqWc",
  "object": "domain",
  "name": "voice.lumenlabs.example",
  "state": "pending",
  "method": null,
  "challenge": {
    "dns_name": "_widar-challenge.voice.lumenlabs.example",
    "dns_value": "Tq8Wm3LxKz5Nb2VcRp7HsYd4GfJe9UaQo1MkEiSn6Rw",
    "file_url": "https://voice.lumenlabs.example/.well-known/widar-challenge/Hb4Nc9XkRq2LmTz7WdPs1HyJe8UgQ3AfKo6MiEtSn5v",
    "file_body": "Hb4Nc9XkRq2LmTz7WdPs1HyJe8UgQ3AfKo6MiEtSn5v.Rq2LmTz7WdPs1HyJe8UgQ3AfKo6MiEtSn5vHb4Nc9X"
  },
  "created_at": "2026-12-03T08:40:00Z",
  "validated_at": null,
  "valid_until": null,
  "last_checked_at": "2026-12-03T08:40:30Z",
  "failure": null,
  "used_by": {
    "certificates": 0,
    "listing": false,
    "badge": false,
    "trust_page": false
  }
}
```

## List domains

The domains the workspace's certificates are bound to, each with its state, the challenge to publish, when it was last validated and what depends on it.

`GET /v1/domains`. Who may: Owner, Admin, Compliance, Developer and Viewer. CLI: `widar domains list [--state <pending|validated|failed>]`. MCP tool: `domains_list`.

**Parameters**
- `state` (enum): Only domains in this state: `pending`, `validated`, `failed` or `removed`.

**Returns** list of domains: The domains, each with its state (pending, validated, failed), the method that last passed, its challenge, validated at, valid until and what depends on it.

API:

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

CLI:

```bash
widar domains list
```

MCP tool `domains_list`:

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

Response, 200 OK:

```json
{
  "items": [
    {
      "id": "dom_9Pk4wQs7LmRa",
      "object": "domain",
      "name": "image.lumenlabs.example",
      "state": "validated",
      "method": "well_known",
      "challenge": {
        "dns_name": "_widar-challenge.image.lumenlabs.example",
        "dns_value": "Xk2r9QmTz4LwVb7NcPq1HsYd8RfJe3Ug6AoKn5WtMiE",
        "file_url": "https://image.lumenlabs.example/.well-known/widar-challenge/q7Lm2VxKd9TrNc4WbPs8HzYe1RgJu6AfQo3MkEiSn5t",
        "file_body": "q7Lm2VxKd9TrNc4WbPs8HzYe1RgJu6AfQo3MkEiSn5t.Vb8NcX2kRq7LmTz4WdPs9HyJe1UgQ6AfKo3MiEtSn5r"
      },
      "created_at": "2026-06-15T11:10:00Z",
      "validated_at": "2026-06-15T11:12:00Z",
      "valid_until": "2026-12-18T09:55:00Z",
      "last_checked_at": "2026-11-18T09:54:00Z",
      "failure": null,
      "used_by": {
        "certificates": 1,
        "listing": false,
        "badge": false,
        "trust_page": false
      }
    },
    {
      "id": "dom_6Rb1mYc5KsDf",
      "object": "domain",
      "name": "motion.lumenlabs.example",
      "state": "failed",
      "method": "dns",
      "challenge": {
        "dns_name": "_widar-challenge.image.lumenlabs.example",
        "dns_value": "Xk2r9QmTz4LwVb7NcPq1HsYd8RfJe3Ug6AoKn5WtMiE",
        "file_url": "https://image.lumenlabs.example/.well-known/widar-challenge/q7Lm2VxKd9TrNc4WbPs8HzYe1RgJu6AfQo3MkEiSn5t",
        "file_body": "q7Lm2VxKd9TrNc4WbPs8HzYe1RgJu6AfQo3MkEiSn5t.Vb8NcX2kRq7LmTz4WdPs9HyJe1UgQ6AfKo3MiEtSn5r"
      },
      "created_at": "2025-12-19T16:10:00Z",
      "validated_at": "2025-12-19T16:12:00Z",
      "valid_until": null,
      "last_checked_at": "2026-12-03T06:42:00Z",
      "failure": "No TXT record at _widar-challenge.motion.lumenlabs.example. The record was there until 2026-11-21.",
      "used_by": {
        "certificates": 1,
        "listing": false,
        "badge": false,
        "trust_page": false
      }
    },
    {
      "id": "dom_3Xv8nTe2HqWc",
      "object": "domain",
      "name": "voice.lumenlabs.example",
      "state": "pending",
      "method": null,
      "challenge": {
        "dns_name": "_widar-challenge.voice.lumenlabs.example",
        "dns_value": "Tq8Wm3LxKz5Nb2VcRp7HsYd4GfJe9UaQo1MkEiSn6Rw",
        "file_url": "https://voice.lumenlabs.example/.well-known/widar-challenge/Hb4Nc9XkRq2LmTz7WdPs1HyJe8UgQ3AfKo6MiEtSn5v",
        "file_body": "Hb4Nc9XkRq2LmTz7WdPs1HyJe8UgQ3AfKo6MiEtSn5v.Rq2LmTz7WdPs1HyJe8UgQ3AfKo6MiEtSn5vHb4Nc9X"
      },
      "created_at": "2026-12-03T08:40:00Z",
      "validated_at": null,
      "valid_until": null,
      "last_checked_at": "2026-12-03T08:40:30Z",
      "failure": null,
      "used_by": {
        "certificates": 0,
        "listing": false,
        "badge": false,
        "trust_page": false
      }
    }
  ],
  "next_cursor": null
}
```

## Read a domain

One domain: its state, its challenge, the last check and the certificates bound to it.

`GET /v1/domains/{domain_id}`. Who may: Owner, Admin, Compliance, Developer and Viewer. CLI: `widar domains get <domain_id>`. MCP tool: `domains_get`.

**Parameters**
- `domain_id` (id (dom_), required): The domain. In the path.

**Returns** domain: The domain, with its challenge and its last check.

API:

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

CLI:

```bash
widar domains get dom_9Pk4wQs7LmRa
```

MCP tool `domains_get`:

```json
{
  "name": "domains_get",
  "arguments": {
    "domain_id": "dom_9Pk4wQs7LmRa"
  }
}
```

Response, 200 OK:

```json
{
  "id": "dom_9Pk4wQs7LmRa",
  "object": "domain",
  "name": "image.lumenlabs.example",
  "state": "validated",
  "method": "well_known",
  "challenge": {
    "dns_name": "_widar-challenge.image.lumenlabs.example",
    "dns_value": "Xk2r9QmTz4LwVb7NcPq1HsYd8RfJe3Ug6AoKn5WtMiE",
    "file_url": "https://image.lumenlabs.example/.well-known/widar-challenge/q7Lm2VxKd9TrNc4WbPs8HzYe1RgJu6AfQo3MkEiSn5t",
    "file_body": "q7Lm2VxKd9TrNc4WbPs8HzYe1RgJu6AfQo3MkEiSn5t.Vb8NcX2kRq7LmTz4WdPs9HyJe1UgQ6AfKo3MiEtSn5r"
  },
  "created_at": "2026-06-15T11:10:00Z",
  "validated_at": "2026-06-15T11:12:00Z",
  "valid_until": "2026-12-18T09:55:00Z",
  "last_checked_at": "2026-11-18T09:54:00Z",
  "failure": null,
  "used_by": {
    "certificates": 1,
    "listing": false,
    "badge": false,
    "trust_page": false
  }
}
```

## Check a domain now

Check the domain's challenge now rather than waiting for the next automatic check. A validated domain is checked again at every renewal of a certificate that carries it.

`POST /v1/domains/{domain_id}/validate`. Who may: Owner, Admin, Compliance and Developer. CLI: `widar domains validate <domain_id>`. MCP tool: `domains_validate`.

**Parameters**
- `domain_id` (id (dom_), required): The domain. In the path.

**Returns** domain: The domain after the check: validated, or still pending or failed with what was found, in plain words.

API:

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

CLI:

```bash
widar domains validate dom_3Xv8nTe2HqWc
```

MCP tool `domains_validate`:

```json
{
  "name": "domains_validate",
  "arguments": {
    "domain_id": "dom_3Xv8nTe2HqWc"
  }
}
```

## Remove a domain

Remove a domain no certificate, listing, badge or trust page depends on.

`DELETE /v1/domains/{domain_id}`. Who may: Owner, Admin, Compliance and Developer. CLI: `widar domains delete <domain_id>`. MCP tool: `domains_delete`.

**Parameters**
- `domain_id` (id (dom_), required): The domain. In the path.

**Returns** domain: The domain, removed.

API:

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

CLI:

```bash
widar domains delete dom_6Rb1mYc5KsDf
```

MCP tool `domains_delete`:

```json
{
  "name": "domains_delete",
  "arguments": {
    "domain_id": "dom_6Rb1mYc5KsDf"
  }
}
```

## List renewal daemons

The renewal daemons running on the company's servers, as each reports itself: host, package, version, the certificates it renews and when it last reported.

`GET /v1/renewal_agents`. Who may: Owner, Admin, Compliance, Developer and Viewer. CLI: `widar renewal-agents list`. MCP tool: `renewal_agents_list`.

**Parameters**

**Returns** list of renewal daemons: Each daemon with its host label, package, version and the newest version, its state (reporting, not reporting), first and last seen, and the certificates it renews.

API:

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

CLI:

```bash
widar renewal-agents list
```

MCP tool `renewal_agents_list`:

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

Response, 200 OK:

```json
{
  "items": [
    {
      "id": "rda_4Wq7tLm2NcXe",
      "object": "renewal_agent",
      "host_label": "hsm-signer-ams1.lumenlabs.internal",
      "package": "systemd",
      "version": "1.2.1",
      "latest_version": "1.2.1",
      "state": "reporting",
      "first_seen_at": "2026-10-16T12:00:00Z",
      "last_seen_at": "2026-12-03T09:38:00Z",
      "certificate_ids": [
        "crt_1Rw6mYb3QsNa"
      ]
    }
  ],
  "next_cursor": null
}
```

## Search the transparency log

The public, append-only log of every certificate widar's certificate authority issued, newest first: search by domain, company or serial. No account needed.

`GET /v1/public/certificate_log/entries`. Who may: Owner, Admin, Compliance, Developer, Viewer and Billing. CLI: `widar certificate-log list [--domain <example.com>] [--subject <name>] [--serial <serial>] [--limit <1-100>]`. MCP tool: `certificate_log_list`.

**Parameters**
- `domain` (string): Entries for this domain, its subdomains included. At most 253 characters.
- `subject` (string): Entries whose subject names this organisation. At most 200 characters.
- `serial` (string): One certificate's serial, in hex with colons. At most 120 characters.
- `limit` (integer, default 25): The limit. At least 1, at most 100.

**Returns** list of log entries: The entries, newest first: index, serial, subject, domain, kind, issuing CA, issued at, not after, SHA-256 fingerprint, and where its revocation status answers.

API:

```bash
curl -X GET "https://api.widar.com/v1/public/certificate_log/entries?domain=lumenlabs.example" \
  -H "Authorization: Bearer $WIDAR_API_KEY"
```

CLI:

```bash
widar certificate-log list --domain lumenlabs.example
```

MCP tool `certificate_log_list`:

```json
{
  "name": "certificate_log_list",
  "arguments": {
    "domain": "lumenlabs.example"
  }
}
```

Response, 200 OK:

```json
{
  "items": [
    {
      "object": "certificate_log_entry",
      "index": 12,
      "serial": "3F:A1:07:C9:52:E8:6B:14:D0:9A:73:2C:E5:81:4F:B6",
      "subject": {
        "common_name": "Lumen Image",
        "organization": "Lumen Labs B.V.",
        "country": "NL"
      },
      "domain": "image.lumenlabs.example",
      "kind": "claim_signing",
      "issuer": "widar Claim Signing CA G1",
      "issued_at": "2026-11-18T09:55:00Z",
      "not_after": "2027-01-17T09:55:00Z",
      "fingerprint": "8c4e1a7f02b9d35e6c1f84a90d27b5e3f6a18c4d92e07b31a5f6c8d0e4b29a71",
      "ocsp_url": "http://ocsp.widar.com",
      "crl_url": "https://ca.widar.com/crl/claim-signing-g1.crl",
      "pem": "-----BEGIN CERTIFICATE-----\nMIIC9jCCAnygAwIBAgIQP6EHyVLoaxTQmnMs5YFPtjAKBggqhkjOPQQDAzBHMQsw...\n-----END CERTIFICATE-----"
    },
    {
      "object": "certificate_log_entry",
      "index": 7,
      "serial": "71:0C:9E:4B:A3:28:F5:D6:1B:87:E0:3A:62:CD:94:15",
      "subject": {
        "common_name": "Lumen Motion",
        "organization": "Lumen Labs B.V.",
        "country": "NL"
      },
      "domain": "motion.lumenlabs.example",
      "kind": "claim_signing",
      "issuer": "widar Claim Signing CA G1",
      "issued_at": "2026-10-24T08:30:00Z",
      "not_after": "2026-12-23T08:30:00Z",
      "fingerprint": "1d7b3e90c5a2f48e6b0d19c7a3e5f28b4c6d0a17e9f3b52c8d4a6e1f07b93c25",
      "ocsp_url": "http://ocsp.widar.com",
      "crl_url": "https://ca.widar.com/crl/claim-signing-g1.crl",
      "pem": "-----BEGIN CERTIFICATE-----\nMIIC9jCCAnygAwIBAgIQP6EHyVLoaxTQmnMs5YFPtjAKBggqhkjOPQQDAzBHMQsw...\n-----END CERTIFICATE-----"
    }
  ],
  "next_cursor": null
}
```

## Read a log entry

One entry of the public transparency log, by its index. No account needed.

`GET /v1/public/certificate_log/entries/{index}`. Who may: Owner, Admin, Compliance, Developer, Viewer and Billing. CLI: `widar certificate-log get <index>`. MCP tool: `certificate_log_get`.

**Parameters**
- `index` (integer, required): The entry's position in the log. In the path.

**Returns** log entry: The entry: the certificate's serial, subject, domain, kind, issuer, dates and fingerprint.

API:

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

CLI:

```bash
widar certificate-log get 12
```

MCP tool `certificate_log_get`:

```json
{
  "name": "certificate_log_get",
  "arguments": {
    "index": 12
  }
}
```

Response, 200 OK:

```json
{
  "object": "certificate_log_entry",
  "index": 12,
  "serial": "3F:A1:07:C9:52:E8:6B:14:D0:9A:73:2C:E5:81:4F:B6",
  "subject": {
    "common_name": "Lumen Image",
    "organization": "Lumen Labs B.V.",
    "country": "NL"
  },
  "domain": "image.lumenlabs.example",
  "kind": "claim_signing",
  "issuer": "widar Claim Signing CA G1",
  "issued_at": "2026-11-18T09:55:00Z",
  "not_after": "2027-01-17T09:55:00Z",
  "fingerprint": "8c4e1a7f02b9d35e6c1f84a90d27b5e3f6a18c4d92e07b31a5f6c8d0e4b29a71",
  "ocsp_url": "http://ocsp.widar.com",
  "crl_url": "https://ca.widar.com/crl/claim-signing-g1.crl",
  "pem": "-----BEGIN CERTIFICATE-----\nMIIC9jCCAnygAwIBAgIQP6EHyVLoaxTQmnMs5YFPtjAKBggqhkjOPQQDAzBHMQsw...\n-----END CERTIFICATE-----"
}
```

## Read the signed tree head

The log's latest signed tree head: how many entries it holds, its root hash and when it was signed. No account needed.

`GET /v1/public/certificate_log/head`. Who may: Owner, Admin, Compliance, Developer, Viewer and Billing. CLI: `widar certificate-log head`. MCP tool: `certificate_log_head`.

**Parameters**

**Returns** signed tree head: The tree size, the time, the root hash and the log's signature.

API:

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

CLI:

```bash
widar certificate-log head
```

MCP tool `certificate_log_head`:

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

Response, 200 OK:

```json
{
  "object": "certificate_log_head",
  "tree_size": 15,
  "timestamp": "2026-12-03T09:36:00Z",
  "root_hash": "4b7e2a91c0d5f38e6a1b94c7d20e5f83a6b17c4d9e0f2a35b8c61d7e4f09a2b3",
  "signature": "BAMARjBEAiB7Qx2mKd9TrNc4WbPs8HzYe1RgJu6AfQo3MkEiSn5tAiAVb8NcX2kRq7LmTz4WdPs9HyJe1UgQ6AfKo3MiEtSn5r"
}
```

## Prove an entry is in the log

An inclusion proof of one entry against a signed tree head, which any Certificate Transparency monitor can verify. No account needed.

`GET /v1/public/certificate_log/proofs/inclusion`. Who may: Owner, Admin, Compliance, Developer, Viewer and Billing. CLI: `widar certificate-log proof <index> [--tree-size <n>]`. MCP tool: `certificate_log_proof`.

**Parameters**
- `index` (integer, required): The entry.
- `tree_size` (integer): The tree size of the head you compare with. The current size when left out. At least 1.

**Returns** inclusion proof: The entry's leaf hash, the audit path up to the root, and the tree head it proves against.

API:

```bash
curl -X GET "https://api.widar.com/v1/public/certificate_log/proofs/inclusion?index=12&tree_size=15" \
  -H "Authorization: Bearer $WIDAR_API_KEY"
```

CLI:

```bash
widar certificate-log proof 12 --tree-size 15
```

MCP tool `certificate_log_proof`:

```json
{
  "name": "certificate_log_proof",
  "arguments": {
    "index": 12,
    "tree_size": 15
  }
}
```

Response, 200 OK:

```json
{
  "object": "inclusion_proof",
  "index": 12,
  "tree_size": 15,
  "leaf_hash": "e2a71c4f90b3d58a6e1c27b40f9d35a8c6e14b72d09f3a5e8b6c1d47e02f9a3b",
  "audit_path": [
    "9c1e4a7b02d5f38e6a1b94c7d20e5f83a6b17c4d9e0f2a35b8c61d7e4f09a2c1",
    "3b8d0f6a27c4e19b5d2a83f6c0e7b14d9a2f5c38e6b01d4a7c9e2f53b8d06a14",
    "a6f2c9e14b7d03a58e2c6b91f4d07a3e5c8b2f61d9a04e7c3b5f82d6a1e09c47"
  ]
}
```

## Download a certificate

The certificate and its chain up to widar's root, as PEM.

`GET /v1/certificates/{certificate_id}/chain`. Who may: Owner, Admin, Compliance, Developer and Viewer. CLI: `widar certificates download <certificate_id> [--output <certificate.pem>]`. MCP tool: `download_certificate`.

**Parameters**
- `certificate_id` (id (crt_), required): The certificate's id. In the path.

**Returns** certificate file: The certificate and its chain, as PEM text.

API:

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

CLI:

```bash
widar certificates download crt_7Kq2Xw9
```

MCP tool `download_certificate`:

```json
{
  "name": "download_certificate",
  "arguments": {
    "certificate_id": "crt_7Kq2Xw9"
  }
}
```

## List ACME and EST credentials

The ACME account bindings and EST credentials made for the workspace's systems: their label, system, who made them, when they were used and whether they are revoked. Never their secret.

`GET /v1/enrolment_tokens`. Who may: Owner, Admin, Compliance, Developer and Viewer. CLI: `widar enrolment-tokens list [--system-id <sys_...>] [--purpose <acme|est>]`. MCP tool: `enrolment_tokens_list`.

**Parameters**
- `system_id` (id (sys_)): The system's id.
- `purpose` (enum): The purpose. One of `acme`, `est`.

**Returns** list of enrolment credentials: Each credential with its purpose (acme, est), system, label, address, who made it and when, when it expires, when it was used and when it was revoked.

API:

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

CLI:

```bash
widar enrolment-tokens list
```

MCP tool `enrolment_tokens_list`:

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

## Revoke an ACME or EST credential

Stop a credential: it can no longer bind an ACME account or enrol over EST. Certificates already issued keep working.

`POST /v1/enrolment_tokens/{enrolment_token_id}/revoke`. Who may: Owner, Admin and Developer. CLI: `widar enrolment-tokens revoke <enrolment_token_id>`. MCP tool: `enrolment_tokens_revoke`.

**Parameters**
- `enrolment_token_id` (id (enr_), required): The enrolment token's id. In the path.

**Returns** enrolment credential: The credential, revoked.

API:

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

CLI:

```bash
widar enrolment-tokens revoke enr_7Kq2Xw9
```

MCP tool `enrolment_tokens_revoke`:

```json
{
  "name": "enrolment_tokens_revoke",
  "arguments": {
    "enrolment_token_id": "enr_7Kq2Xw9"
  }
}
```

## The CA repository

Where status is published

| Address | Holds |
| --- | --- |
| `https://ca.widar.com` | The root and issuing CA certificates, the timestamp authority's certificates, the CRLs and the published policy documents, retired ones included. |
| `http://ocsp.widar.com` | The OCSP responder. Each response is valid for at most 24 hours; a revocation reaches it within minutes. |
| `https://ct.widar.com` | The [certificate transparency log](https://widar.com/docs/certificates/transparency-log), for monitors. |

## Events

Certificate events

| Event | When |
| --- | --- |
| `certificate.issued` | A certificate is issued, first or by renewal. It is in the transparency log first. |
| `certificate.expiring` | A certificate has 20 days left and no renewal. |
| `certificate.revoked` | A certificate was revoked, with its reason. |
| `domain.validated` | A domain's challenge passed. |
| `domain.validation_failed` | A domain's check failed, at a renewal or on request. The message says what was missing. |

## Errors

Certificate errors

| Code | Means |
| --- | --- |
| `domain_not_validated` | The certificate's domain has not passed its challenge, at issue or at this renewal. The current certificate stays valid to its end. |
| `legal_entity_not_validated` | A production certificate needs your legal entity validated first. |
| `system_not_live` | The system has not passed product validation. |
| `certificate_revoked` | The certificate was revoked. Request a new one. |
