Skip to content
Docs
Ask the assistant
Sign inCreate a free account
Get startedMark and signCertificatesDocumentsCheck and recoverComply and proveAPI referencePricing and data
  • Introduction
  • Quickstart
  • Keys and test mode
  • Concepts

Agents

  • Agent setup
  • Sign up and pay
  • MCP server

For agents

  • agent-setup.md
  • llms.txt
  • llms-full.txt
  1. Home
  2. Docs
  3. Keys and test mode

Get started

Keys and test mode

Which credential to use where, how to send it, and what test mode does. A key belongs to one workspace; every workspace calls the same host.

Updated December 4, 2026

Ask about this pageRead this page as Markdown
On this page 4 sections
  1. Send a key
  2. Credentials
  3. Test mode
  4. Errors

Send a key

Send the key as a bearer token to https://api.widar.com. Keep it in WIDAR_API_KEY, never in code, a browser, an app or a link. widar stores only a hash of each key and shows a secret once.

Header
Authorization: Bearer wd_live_...

Credentials

Credentials
KindStarts withHeld byMay call
Secret keywd_live_Your serverEvery server route of its workspace.
Test keywd_test_A developer or an agentAs a secret key, in test mode.
Restricted keywd_live_One jobOnly its scopes, each read or write: systems, marking, signing, certificates, timestamps, verifications, evidence, routes, webhooks, events.
Provisioning keywd_live_Your provisioning serverOnly /v1/keys.
Publishable keywd_pub_live_A page of yoursOnly placing a verify page on your own site, from the origins you list.
Plugin keywd_plg_A plugin or sidecar installOnly fetching its system’s keys and reporting usage.
Enrolment tokenenr_A new install, EST, or an ACME account bindingOne enrolment, once.
AI agent’s tokenwd_agent_An AI agent memberWhat its role allows.

Test mode

  • A free account works in test mode from the first minute: test keys, test watermark keys, test certificates from widar’s test root and timestamps from the test timestamp authority.
  • The test root is on no trust list, and a test credential says it is a test. A check reads a test mark as a test, naming your workspace, never as a live mark.
  • Test mode takes any file, without a limit. Nothing in test mode is billed.
  • Every object and every event carries mode, live or test. Test objects never appear in a live list, export or count, and test events go only to endpoints registered for test.
  • A live key works on the Free plan up to 1,000 C2PA-only files and 500 watermarked files a month. Past them, a live call answers 402 plan_required, with how to move to Business or Volume.

Check your key before you start. GET /v1/key_check (widar auth status) answers its workspace, mode, kind, scopes and expiry, and changes nothing.

Errors

Key errors
StatusCodeWhat to do
401unauthorizedSend a valid key in Authorization: Bearer.
401key_expiredThe key passed its expiry. Create or roll a key.
402plan_requiredThe Free plan’s files this month are used. Choose Business or Volume in the console, or let your agent pay: see Agents.
403forbiddenThe key’s scopes, or the member’s role, do not allow the call.
429rate_limitedWait the seconds in Retry-After, then retry with the same Idempotency-Key.
PreviousQuickstartNextConcepts

For agents

  • Read this page as Markdown

Start without a browser: POST https://api.widar.com/v1/signups, then the emailed code; or sign in with the CLI, which comes with a widar workspace: widar auth login. The key is read from WIDAR_API_KEY.

  • Agent setup
  • MCP serverhttps://widar.com/mcp
  • Docs MCP serverhttps://widar.com/mcp
  • OpenAPI
  • 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.

A product of Bynn Intelligence, Inc.

  • llms.txt
  • agent-setup.md
  • Pricing

On this page

  1. Send a key
  2. Credentials
  3. Test mode
  4. Errors