# Your account

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

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

## See your account

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

`GET /v1/me`. Who may: Every member, for themselves. CLI: `widar me get`. MCP tool: `get_me`.

**Parameters**

**Returns** member: The signed-in person, with their workspaces and roles.

API:

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

CLI:

```bash
widar me get
```

MCP tool `get_me`:

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

## Change your name

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

`PATCH /v1/me`. Who may: Every member, for themselves. CLI: `widar me update --name <text>`. MCP tool: `update_me`.

**Parameters**
- `name` (string, required): The name. At most 80 characters.

**Returns** member: The signed-in person, with the new name.

API:

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

CLI:

```bash
widar me update --name <name>
```

MCP tool `update_me`:

```json
{
  "name": "update_me",
  "arguments": {
    "name": "<name>"
  }
}
```

## List where you are signed in

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

`GET /v1/me/sessions`. Who may: Every member, for themselves. CLI: `widar sessions list`. MCP tool: `list_sessions`.

**Parameters**

**Returns** list of sessions: Your sessions, the most recently used first.

API:

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

CLI:

```bash
widar sessions list
```

MCP tool `list_sessions`:

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

## Sign out a session

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

`DELETE /v1/me/sessions/{session_id}`. Who may: Every member, for themselves. CLI: `widar sessions revoke <session_id>`. MCP tool: `revoke_session`.

**Parameters**
- `session_id` (id (ses_), required): The session's id. In the path.

**Returns** deleted session: The session is signed out and no longer signs anything in.

API:

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

CLI:

```bash
widar sessions revoke ses_7Kq2Xw9
```

MCP tool `revoke_session`:

```json
{
  "name": "revoke_session",
  "arguments": {
    "session_id": "ses_7Kq2Xw9"
  }
}
```

## List your 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.

`GET /v1/me/passkeys`. Who may: Every member, for themselves. CLI: `widar passkeys list`. MCP tool: `list_passkeys`.

**Parameters**

**Returns** list of passkeys: Your passkeys, the most recently used first.

API:

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

CLI:

```bash
widar passkeys list
```

MCP tool `list_passkeys`:

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

## Start adding a passkey

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.

`POST /v1/me/passkeys/challenges`. Who may: Every member, for themselves. CLI: `widar passkeys challenge`. MCP tool: `start_adding_passkey`.

**Parameters**

**Returns** passkey challenge: The creation options for the browser and the challenge id, good for 5 minutes.

API:

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

CLI:

```bash
widar passkeys challenge
```

MCP tool `start_adding_passkey`:

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

## Add a passkey

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.

`POST /v1/me/passkeys`. Who may: Every member, for themselves. CLI: `widar passkeys add <challenge_id> --credential <json> [--name <text>] [--device <browser on system>]`. MCP tool: `add_passkey`.

**Parameters**
- `challenge_id` (id (pkc_), required): The challenge's id.
- `credential` (object, required): The credential.
- `name` (string): The name. At most 60 characters.
- `device` (string): The device. At most 60 characters.

**Returns** passkey: The passkey, added.

API:

```bash
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>"
  }'
```

CLI:

```bash
widar passkeys add pkc_7Kq2Xw9 --credential <credential>
```

MCP tool `add_passkey`:

```json
{
  "name": "add_passkey",
  "arguments": {
    "challenge_id": "pkc_7Kq2Xw9",
    "credential": "<credential>"
  }
}
```

## Rename a passkey

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

`PATCH /v1/me/passkeys/{passkey_id}`. Who may: Every member, for themselves. CLI: `widar passkeys rename <passkey_id> --name <text>`. MCP tool: `rename_passkey`.

**Parameters**
- `passkey_id` (id (pky_), required): The passkey's id. In the path.
- `name` (string, required): The name. At most 60 characters.

**Returns** passkey: The passkey with its new name.

API:

```bash
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>"
  }'
```

CLI:

```bash
widar passkeys rename pky_7Kq2Xw9 --name <name>
```

MCP tool `rename_passkey`:

```json
{
  "name": "rename_passkey",
  "arguments": {
    "passkey_id": "pky_7Kq2Xw9",
    "name": "<name>"
  }
}
```

## Remove a passkey

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

`DELETE /v1/me/passkeys/{passkey_id}`. Who may: Every member, for themselves. CLI: `widar passkeys remove <passkey_id>`. MCP tool: `remove_passkey`.

**Parameters**
- `passkey_id` (id (pky_), required): The passkey's id. In the path.

**Returns** deleted passkey: The passkey no longer signs anyone in.

API:

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

CLI:

```bash
widar passkeys remove pky_7Kq2Xw9
```

MCP tool `remove_passkey`:

```json
{
  "name": "remove_passkey",
  "arguments": {
    "passkey_id": "pky_7Kq2Xw9"
  }
}
```

## Sign in with single sign-on

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.

`POST /v1/sso/start`. Who may: Anyone, with no account yet. CLI: `widar sso start --email <work email> [--workspace <slug>]`. MCP tool: `start_single_sign_on`.

**Parameters**
- `email` (email, required): The email. At most 255 characters.
- `workspace` (string): The workspace. At most 80 characters.

**Returns** single sign-on start: Where to send the browser, and until when the start works.

API:

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

CLI:

```bash
widar sso start --email <email>
```

MCP tool `start_single_sign_on`:

```json
{
  "name": "start_single_sign_on",
  "arguments": {
    "email": "<email>"
  }
}
```

## Find how an email signs in

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.

`GET /v1/sso/discover`. Who may: Anyone, with no account yet. CLI: `widar sso discover [--email <work email>] [--workspace <slug>]`. MCP tool: `discover_single_sign_on`.

**Parameters**
- `email` (email): The email. At most 255 characters.
- `workspace` (string): The workspace. At most 80 characters.

**Returns** single sign-on discovery: The workspace, its single sign-on if it has one, and whether its members must use it.

API:

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

CLI:

```bash
widar sso discover
```

MCP tool `discover_single_sign_on`:

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

## Read your 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.

`GET /v1/me/preferences`. Who may: Every member, for themselves. CLI: `widar me preferences get`. MCP tool: `get_my_preferences`.

**Parameters**

**Returns** preferences: Your theme, clock, time zone, date form and number form.

API:

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

CLI:

```bash
widar me preferences get
```

MCP tool `get_my_preferences`:

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

## Change your 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.

`PATCH /v1/me/preferences`. 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`.

**Parameters**
- `theme` (enum): The theme. One of `system`, `light`, `dark`.
- `time_format` (enum): The time format. One of `24h`, `12h`.
- `time_zone` (string): The time zone. At most 64 characters.
- `date_format` (enum): 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_format` (enum): The number format. One of `1,234.50`, `1.234,50`, `1 234,50`, `1'234.50`.

**Returns** preferences: Your preferences, changed.

API:

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

CLI:

```bash
widar me preferences set
```

MCP tool `update_my_preferences`:

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

## List your recent 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.

`GET /v1/me/sign_ins`. Who may: Every member, for themselves. CLI: `widar me sign-ins [--limit <n>]`. MCP tool: `list_my_sign_ins`.

**Parameters**
- `limit` (integer, default 20): The limit. At least 1, at most 50.

**Returns** list of your sign-ins: Your sign-in attempts, newest first, each with its way in, device, place, address and result.

API:

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

CLI:

```bash
widar me sign-ins
```

MCP tool `list_my_sign_ins`:

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

## Leave a workspace

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.

`DELETE /v1/me/workspaces/{workspace_id}`. Who may: Every member, for themselves. CLI: `widar me leave <workspace_id>`. MCP tool: `leave_workspace`.

**Parameters**
- `workspace_id` (id (ws_), required): The workspace's id. In the path.

**Returns** left workspace: You are no longer a member; how many of your open cases became unassigned.

API:

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

CLI:

```bash
widar me leave ws_7Kq2Xw9
```

MCP tool `leave_workspace`:

```json
{
  "name": "leave_workspace",
  "arguments": {
    "workspace_id": "ws_7Kq2Xw9"
  }
}
```

## Delete your account

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.

`DELETE /v1/me`. Who may: Every member, for themselves. CLI: `widar me delete --confirm-email <your email>`. MCP tool: `delete_my_account`.

**Parameters**
- `confirm_email` (email, required): The confirm email. At most 255 characters.

**Returns** account deletion: Deleted, and until when signing in restores it.

API:

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

CLI:

```bash
widar me delete --confirm-email <confirm_email>
```

MCP tool `delete_my_account`:

```json
{
  "name": "delete_my_account",
  "arguments": {
    "confirm_email": "<confirm_email>"
  }
}
```

## List your sign-in methods

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

`GET /v1/me/sign_in_methods`. Who may: Every member, for themselves. CLI: `widar me sign-in-methods`. MCP tool: `list_sign_in_methods`.

**Parameters**

**Returns** list of sign-in methods: Each way to sign in, and whether it is yours.

API:

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

CLI:

```bash
widar me sign-in-methods
```

MCP tool `list_sign_in_methods`:

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

## Unlink a sign-in method

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.

`DELETE /v1/me/sign_in_methods/{provider}`. Who may: Every member, for themselves. CLI: `widar me unlink-sign-in-method <google|microsoft|apple|zoreal_id>`. MCP tool: `unlink_sign_in_method`.

**Parameters**
- `provider` (enum, required): The provider. One of `google`, `microsoft`, `apple`, `zoreal_id`. In the path.

**Returns** sign-in method, unlinked: The method no longer signs you in; how many sessions it signed out.

API:

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

CLI:

```bash
widar me unlink-sign-in-method google
```

MCP tool `unlink_sign_in_method`:

```json
{
  "name": "unlink_sign_in_method",
  "arguments": {
    "provider": "google"
  }
}
```

## List your 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.

`GET /v1/me/connected_apps`. Who may: Every member, for themselves. CLI: `widar me connected-apps`. MCP tool: `list_connected_apps`.

**Parameters**

**Returns** list of connected apps: Your connected apps.

API:

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

CLI:

```bash
widar me connected-apps
```

MCP tool `list_connected_apps`:

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

## Disconnect an app

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

`DELETE /v1/me/connected_apps/{app_id}`. Who may: Every member, for themselves. CLI: `widar me disconnect-app <app_id>`. MCP tool: `revoke_connected_app`.

**Parameters**
- `app_id` (id (app_), required): The app's id. In the path.

**Returns** connected app, disconnected: The app no longer acts for you.

API:

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

CLI:

```bash
widar me disconnect-app app_7Kq2Xw9
```

MCP tool `revoke_connected_app`:

```json
{
  "name": "revoke_connected_app",
  "arguments": {
    "app_id": "app_7Kq2Xw9"
  }
}
```

## Read your email notices

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

`GET /v1/me/notifications`. Who may: Every member, for themselves. CLI: `widar me notices get`. MCP tool: `get_my_notices`.

**Parameters**

**Returns** your notices: Your email notices and your summary.

API:

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

CLI:

```bash
widar me notices get
```

MCP tool `get_my_notices`:

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

## Change your email notices

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

`PATCH /v1/me/notifications`. Who may: Every member, for themselves. CLI: `widar me notices set [--email-off <kind>,...] [--summary <none|daily|weekly|monthly>]`. MCP tool: `update_my_notices`.

**Parameters**
- `email_off` (array of string): The email off. At most 20 items.
- `summary` (enum): The summary. One of `none`, `daily`, `weekly`, `monthly`.

**Returns** your notices: Your notices, changed.

API:

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

CLI:

```bash
widar me notices set
```

MCP tool `update_my_notices`:

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