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

Tools

  • CLI
  • SDKs
  • Agent prompts
  • API logs

Workspace

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

Your account

  • Your account
    • See your account
    • Change your name
    • List where you are signed in
    • Sign out a session
    • List your passkeys
    • Start adding a passkey
    • Add a passkey
    • Rename a passkey
    • Remove a passkey
    • Sign in with single sign-on
    • Find how an email signs in
    • Read your preferences
    • Change your preferences
    • List your recent sign-ins
    • Leave a workspace
    • Delete your account
    • List your sign-in methods
    • Unlink a sign-in method
    • List your connected apps
    • Disconnect an app
    • Read your email notices
    • Change your email notices
  • Notifications
  • Inbox

For agents

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

API referenceYour account

Your account

Your own account across workspaces: your name, sessions, passkeys, sign-in methods, connected apps and preferences. Only you change them.

Updated December 3, 2026

Ask about this pageRead this page as Markdown

These calls act for the signed-in member, on their own account, whatever workspace they are in.

See your account

Reads only

GET/v1/me

Who is signed in: your name, your email and the workspaces you belong to, with your role in each.

Who may
Every member, for themselves
CLI
widar me get
MCP tool
get_me
Returns
The signed-in person, with their workspaces and roles.

No parameters.

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

GET /v1/me

Change your name

Changes data

PATCH/v1/me

The name your team sees on cases, notes and decisions, in every workspace you belong to.

Who may
Every member, for themselves
CLI
widar me update --name <text>
MCP tool
update_me
Returns
The signed-in person, with the new name.

Parameters

  • namestringRequired

    The name. At most 80 characters.

curl -X PATCH https://api.widar.com/v1/me \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "<name>"
  }'

PATCH /v1/me

List where you are signed in

Reads only

GET/v1/me/sessions

Each browser and device signed in as you, when it was last used, and which one is this one.

Who may
Every member, for themselves
CLI
widar sessions list
MCP tool
list_sessions
Returns
Your sessions, the most recently used first.

No parameters.

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

GET /v1/me/sessions

Sign out a session

Changes data

DELETE/v1/me/sessions/{session_id}

Signs that browser or device out at once. Your keys, and everyone else, are not affected.

Who may
Every member, for themselves
CLI
widar sessions revoke <session_id>
MCP tool
revoke_session
Returns
The session is signed out and no longer signs anything in.

Parameters

  • session_idid (ses_)Required

    The session’s id. In the path.

curl -X DELETE https://api.widar.com/v1/me/sessions/ses_7Kq2Xw9 \
  -H "Authorization: Bearer $WIDAR_API_KEY"

DELETE /v1/me/sessions/{session_id}

List your passkeys

Reads only

GET/v1/me/passkeys

The passkeys you sign in with, each with its name and when it was last used. A new one is made by your browser, phone or security key.

Who may
Every member, for themselves
CLI
widar passkeys list
MCP tool
list_passkeys
Returns
Your passkeys, the most recently used first.

No parameters.

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

GET /v1/me/passkeys

Start adding a passkey

Changes data

POST/v1/me/passkeys/challenges

The first half of adding a passkey: what this browser or security key needs to make one for you. The passkeys you have are left out, so one device is never added twice.

Who may
Every member, for themselves
CLI
widar passkeys challenge
MCP tool
start_adding_passkey
Returns
The creation options for the browser and the challenge id, good for 5 minutes.

No parameters.

curl -X POST https://api.widar.com/v1/me/passkeys/challenges \
  -H "Authorization: Bearer $WIDAR_API_KEY"

POST /v1/me/passkeys/challenges

Add a passkey

Changes data

POST/v1/me/passkeys

The second half: the passkey your browser or security key made is kept and signs you in from now on. Named after the browser and the system unless you name it.

Who may
Every member, for themselves
CLI
widar passkeys add <challenge_id> --credential <json> [--name <text>] [--device <browser on system>]
MCP tool
add_passkey
Returns
The passkey, added.

Parameters

  • challenge_idid (pkc_)Required

    The challenge’s id.

  • credentialobjectRequired

    The credential.

  • namestring

    The name. At most 60 characters.

  • devicestring

    The device. At most 60 characters.

curl -X POST https://api.widar.com/v1/me/passkeys \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "challenge_id": "pkc_7Kq2Xw9",
    "credential": "<credential>"
  }'

POST /v1/me/passkeys

Rename a passkey

Changes data

PATCH/v1/me/passkeys/{passkey_id}

Give one of your passkeys a name you recognise, such as the device it lives on. It signs you in as before.

Who may
Every member, for themselves
CLI
widar passkeys rename <passkey_id> --name <text>
MCP tool
rename_passkey
Returns
The passkey with its new name.

Parameters

  • passkey_idid (pky_)Required

    The passkey’s id. In the path.

  • namestringRequired

    The name. At most 60 characters.

curl -X PATCH https://api.widar.com/v1/me/passkeys/pky_7Kq2Xw9 \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "<name>"
  }'

PATCH /v1/me/passkeys/{passkey_id}

Remove a passkey

Changes data

DELETE/v1/me/passkeys/{passkey_id}

That passkey no longer signs you in. Your other passkeys and sign-in methods stay.

Who may
Every member, for themselves
CLI
widar passkeys remove <passkey_id>
MCP tool
remove_passkey
Returns
The passkey no longer signs anyone in.

Parameters

  • passkey_idid (pky_)Required

    The passkey’s id. In the path.

curl -X DELETE https://api.widar.com/v1/me/passkeys/pky_7Kq2Xw9 \
  -H "Authorization: Bearer $WIDAR_API_KEY"

DELETE /v1/me/passkeys/{passkey_id}

Sign in with single sign-on

Changes data

POST/v1/sso/start

Start signing in through your company’s identity provider: give your work email, and widar answers the address to open, where you sign in as you do at work and come back signed in.

Who may
Anyone, with no account yet
CLI
widar sso start --email <work email> [--workspace <slug>]
MCP tool
start_single_sign_on
Returns
Where to send the browser, and until when the start works.

Parameters

  • emailemailRequired

    The email. At most 255 characters.

  • workspacestring

    The workspace. At most 80 characters.

curl -X POST https://api.widar.com/v1/sso/start \
  -H "Content-Type: application/json" \
  -d '{
    "email": "<email>"
  }'

POST /v1/sso/start

Find how an email signs in

Reads only

GET/v1/sso/discover

Before any other way in: whether a work email, or a workspace’s own sign-in address, belongs to a workspace that signs in with single sign-on, and whether its members must. A member of a workspace that requires it is sent there, whatever way they chose.

Who may
Anyone, with no account yet
CLI
widar sso discover [--email <work email>] [--workspace <slug>]
MCP tool
discover_single_sign_on
Returns
The workspace, its single sign-on if it has one, and whether its members must use it.

Parameters

  • emailemail

    The email. At most 255 characters.

  • workspacestring

    The workspace. At most 80 characters.

curl -X GET https://api.widar.com/v1/sso/discover

GET /v1/sso/discover

Read your preferences

Reads only

GET/v1/me/preferences

How the console looks and writes times, dates and numbers for you: the theme, the clock, your time zone, the date form and the number form. Yours alone.

Who may
Every member, for themselves
CLI
widar me preferences get
MCP tool
get_my_preferences
Returns
Your theme, clock, time zone, date form and number form.

No parameters.

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

GET /v1/me/preferences

Change your preferences

Changes data

PATCH/v1/me/preferences

The console’s theme, and how it writes times, dates and numbers for you alone: the clock, your time zone, the date form and the number form.

Who may
Every member, for themselves
CLI
widar me preferences set [--theme <system|light|dark>] [--time-format <24h|12h>] [--time-zone <IANA zone>] [--date-format <YYYY-MM-DD|DD/MM/YYYY|...>] [--number-format <1,234.50|1.234,50|...>]
MCP tool
update_my_preferences
Returns
Your preferences, changed.

Parameters

  • themeenum

    The theme. One of system, light, dark.

  • time_formatenum

    The time format. One of 24h, 12h.

  • time_zonestring

    The time zone. At most 64 characters.

  • date_formatenum

    The date format. One of YYYY-MM-DD, DD/MM/YYYY, MM/DD/YYYY, DD.MM.YYYY, DD-MM-YYYY, MM-DD-YYYY, YYYY/MM/DD, YYYY.MM.DD.

  • number_formatenum

    The number format. One of 1,234.50, 1.234,50, 1 234,50, 1'234.50.

curl -X PATCH https://api.widar.com/v1/me/preferences \
  -H "Authorization: Bearer $WIDAR_API_KEY"

PATCH /v1/me/preferences

List your recent sign-ins

Reads only

GET/v1/me/sign_ins

Every recent attempt to sign in as you, newest first: how, from which device and place, and whether it worked, with the reason in plain words when it did not. A sign-in you do not know is a reason to sign that session out.

Who may
Every member, for themselves
CLI
widar me sign-ins [--limit <n>]
MCP tool
list_my_sign_ins
Returns
Your sign-in attempts, newest first, each with its way in, device, place, address and result.

Parameters

  • limitintegerDefault 20

    The limit. At least 1, at most 50.

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

GET /v1/me/sign_ins

Leave a workspace

Changes data

DELETE/v1/me/workspaces/{workspace_id}

You stop being a member at once and lose its cases, people and documents; your open cases there become unassigned, and your notes and decisions keep your name. An owner hands the workspace on first.

Who may
Every member, for themselves
CLI
widar me leave <workspace_id>
MCP tool
leave_workspace
Returns
You are no longer a member; how many of your open cases became unassigned.

Parameters

  • workspace_idid (ws_)Required

    The workspace’s id. In the path.

curl -X DELETE https://api.widar.com/v1/me/workspaces/ws_7Kq2Xw9 \
  -H "Authorization: Bearer $WIDAR_API_KEY"

DELETE /v1/me/workspaces/{workspace_id}

Delete your account

Changes data

DELETE/v1/me

Signs you out everywhere and removes you from every workspace at once; your notes and decisions keep your name. You can restore it by signing in within 30 days; after that it is gone for good. Refused while you own a workspace others are in (hand it on first); a workspace only you are in is deleted with the account and restored with it.

Who may
Every member, for themselves
CLI
widar me delete --confirm-email <your email>
MCP tool
delete_my_account
Returns
Deleted, and until when signing in restores it.

Parameters

  • confirm_emailemailRequired

    The confirm email. At most 255 characters.

curl -X DELETE "https://api.widar.com/v1/me?confirm_email={confirm_email}" \
  -H "Authorization: Bearer $WIDAR_API_KEY"

DELETE /v1/me

List your sign-in methods

Reads only

GET/v1/me/sign_in_methods

How you can sign in: an emailed link, Google, Microsoft, Apple, a passkey or Zoreal ID, and which you use.

Who may
Every member, for themselves
CLI
widar me sign-in-methods
MCP tool
list_sign_in_methods
Returns
Each way to sign in, and whether it is yours.

No parameters.

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

GET /v1/me/sign_in_methods

Unlink a sign-in method

Changes data

DELETE/v1/me/sign_in_methods/{provider}

Take Google, Microsoft, Apple or Zoreal ID off your account: it no longer signs you in, and the browsers it signed in are signed out. Needs a sign-in from the last 10 minutes. The emailed link always signs you in.

Who may
Every member, for themselves
CLI
widar me unlink-sign-in-method <google|microsoft|apple|zoreal_id>
MCP tool
unlink_sign_in_method
Returns
The method no longer signs you in; how many sessions it signed out.

Parameters

  • providerenumRequired

    The provider. One of google, microsoft, apple, zoreal_id. In the path.

curl -X DELETE https://api.widar.com/v1/me/sign_in_methods/google \
  -H "Authorization: Bearer $WIDAR_API_KEY"

DELETE /v1/me/sign_in_methods/{provider}

List your connected apps

Reads only

GET/v1/me/connected_apps

The apps you let act for you, such as an MCP client, with what each may do and when it was last used.

Who may
Every member, for themselves
CLI
widar me connected-apps
MCP tool
list_connected_apps
Returns
Your connected apps.

No parameters.

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

GET /v1/me/connected_apps

Disconnect an app

Changes data

DELETE/v1/me/connected_apps/{app_id}

That app can no longer act for you. It has to ask again to come back.

Who may
Every member, for themselves
CLI
widar me disconnect-app <app_id>
MCP tool
revoke_connected_app
Returns
The app no longer acts for you.

Parameters

  • app_idid (app_)Required

    The app’s id. In the path.

curl -X DELETE https://api.widar.com/v1/me/connected_apps/app_7Kq2Xw9 \
  -H "Authorization: Bearer $WIDAR_API_KEY"

DELETE /v1/me/connected_apps/{app_id}

Read your email notices

Reads only

GET/v1/me/notifications

Which notices reach you by email, and your summary. Every notice still shows in the console.

Who may
Every member, for themselves
CLI
widar me notices get
MCP tool
get_my_notices
Returns
Your email notices and your summary.

No parameters.

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

GET /v1/me/notifications

Change your email notices

Changes data

PATCH/v1/me/notifications

Turn the email of a kind of notice off or on for you, and choose how often your summary comes.

Who may
Every member, for themselves
CLI
widar me notices set [--email-off <kind>,...] [--summary <none|daily|weekly|monthly>]
MCP tool
update_my_notices
Returns
Your notices, changed.

Parameters

  • email_offarray of string

    The email off. At most 20 items.

  • summaryenum

    The summary. One of none, daily, weekly, monthly.

curl -X PATCH https://api.widar.com/v1/me/notifications \
  -H "Authorization: Bearer $WIDAR_API_KEY"

PATCH /v1/me/notifications

PreviousBilling and planNextNotifications

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