Skip to content
Docs
Ask the assistant
Sign inCreate a free account
Get startedMark and signCertificatesDocumentsCheck and recoverComply and proveAPI referencePricing and data

The API

  • Introduction
  • Errors

Events

  • Webhooks
  • Events
  • Realtime
    • Mint a realtime token
    • Follow the live events

Tools

  • CLI
  • SDKs
  • Agent prompts
  • API logs

Workspace

  • Workspace overview
  • Workspace
  • Members
  • API keys
  • Settings
  • Billing and plan
  • Search
  • Assistant

Your account

  • Your account
  • Notifications
  • Inbox

For agents

  • agent-setup.md
  • llms.txt
  • llms-full.txt
  1. Home
  2. Docs
  3. Realtime

API referenceEvents

Realtime

The same events as webhooks, as a server-sent event stream, for an open console, a dashboard or widar events tail. Resumes from the last event after a dropped connection.

Updated December 3, 2026

Ask about this pageRead this page as Markdown

GET /v1/realtime streams the workspace’s events as server-sent events, each with its id, so a client that reconnects with Last-Event-ID misses nothing. A browser uses a short-lived realtime token instead of a key.

widar events tail --types marking.failed,install.not_reporting

Mint a realtime token

Changes data

POST/v1/realtime/tokens

A short-lived token that opens the realtime channel for the channels named, so a page or a script listens without holding a secret key.

Who may
Owner, Admin and Developer
CLI
widar realtime token [--channels <channel,...>]
MCP tool
create_realtime_token
Returns
The token, shown once, with when it expires; it carries the key’s workspace, mode and scopes.

Parameters

  • channelsarray of stringDefault ["workspace"]

    The channels. At most 20 items.

curl -X POST https://api.widar.com/v1/realtime/tokens \
  -H "Authorization: Bearer $WIDAR_API_KEY"

POST /v1/realtime/tokens

Follow the live events

Reads only

GET/v1/realtime

The workspace’s events as they happen, one server-sent event each, resumed after a drop with the last event id so none is missed.

Who may
Owner, Admin, Compliance, Developer and Viewer
CLI
widar events tail [--channels <channel,...>] [--types <event,...>] [--last-event-id <evt_id>]
MCP tool
read_live_events
Returns
The events after last_event_id, oldest first, each in the webhook envelope; the stream itself keeps sending as they happen.

Parameters

  • channelsarray of stringDefault ["workspace"]

    The channels. At most 20 items.

  • typesarray of string

    The types. At most 50 items.

  • last_event_idid (evt_)

    The last event’s id.

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

GET /v1/realtime

PreviousEventsNextCLI

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