These calls act for the signed-in member, on their own account, whatever workspace they are in.
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
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
nameRequiredThe 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
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
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_idRequiredThe 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}
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
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
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_idRequiredThe challenge’s id.
credentialRequiredThe credential.
nameThe name. At most 60 characters.
deviceThe 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
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_idRequiredThe passkey’s id. In the path.
nameRequiredThe 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}
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_idRequiredThe 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}
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
emailRequiredThe email. At most 255 characters.
workspaceThe 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
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
emailThe email. At most 255 characters.
workspaceThe workspace. At most 80 characters.
curl -X GET https://api.widar.com/v1/sso/discoverGET /v1/sso/discover
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
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
themeThe theme. One of
system,light,dark.time_formatThe time format. One of
24h,12h.time_zoneThe time zone. At most 64 characters.
date_formatThe 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_formatThe 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
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
limitThe 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
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_idRequiredThe 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/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_emailRequiredThe 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
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
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
providerRequiredThe 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}
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
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_idRequiredThe 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}
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
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_offThe email off. At most 20 items.
summaryThe 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