Two ways to prove a domain
_widar-challenge.voice.lumenlabs.example. 300 IN TXT "Tq8Wm3LxKz5Nb2VcRp7HsYd4GfJe9UaQo1MkEiSn6Rw"widar checks a pending domain on its own for 7 days, or at once on Validate a domain now. When a check passes the domain is validated and domain.validated follows. A passed ACME authorisation for the same name validates the domain too.
States
At every renewal
A certificate’s domain is checked again before each renewal, every 30 days. A TXT record left in place passes with nothing to do. A failed check refuses the renewal with domain_not_validated and sends domain.validation_failed; the current certificate stays valid to its end, so you have up to 30 days to fix it. widar keeps checking every 6 hours and renews as soon as the check passes.
- Your legal entity’s domain is one of the workspace’s domains, validated the same way.
- A domain is public: it is written in every certificate bound to it and in the transparency log.
- The default challenge for new domains is the setting
domains.default_method:dnsorwell_known. See Settings.
By API, CLI and MCP
Add a domain
Adds a domain you control and answers its two challenges: a TXT record, or a file at a well-known address. widar checks on its own for 7 days, or at once when you ask. Free, with or without a plan.
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"
}'POST /v1/domains
Every parameter and the full answer: Add a domain.
List domains
The workspace’s domains with their state, the method that last passed, until when the validation holds, and what depends on each.
curl -X GET https://api.widar.com/v1/domains \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/domains
Every parameter and the full answer: List domains.
Read a domain
One domain, its current challenge, its last check and, after a failed check, what was missing in plain words.
curl -X GET https://api.widar.com/v1/domains/dom_9Pk4wQs7LmRa \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/domains/{domain_id}
Every parameter and the full answer: Read a domain.
Validate a domain now
Checks the domain’s challenge now instead of waiting for the next automatic check. A pass sends domain.validated; a failure answers the domain in failed with what was missing, and sends domain.validation_failed.
curl -X POST https://api.widar.com/v1/domains/dom_3Xv8nTe2HqWc/validate \
-H "Authorization: Bearer $WIDAR_API_KEY"POST /v1/domains/{domain_id}/validate
Every parameter and the full answer: Check a domain now.
Remove a domain
Removes a domain the workspace no longer uses. A domain that a live certificate, the member listing, the badge or the trust page depends on cannot be removed; the answer names what still uses it.
curl -X DELETE https://api.widar.com/v1/domains/dom_6Rb1mYc5KsDf \
-H "Authorization: Bearer $WIDAR_API_KEY"DELETE /v1/domains/{domain_id}
Every parameter and the full answer: Remove a domain.