# Notifications

> 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/notifications

How widar tells you: email, the console, browser push, your own webhook, Slack and Microsoft Teams, per kind of event, for yourself.

Updated December 3, 2026

Workspace-wide alert rules are in [Settings](https://widar.com/docs/settings); these calls set your own notices.

## Read your notification settings

For each kind of event that concerns you, which channels it goes to: in the console, browser push, email, Slack, Microsoft Teams or your webhook. With what each channel still needs, your email timing and your quiet hours.

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

**Parameters**

**Returns** notification preferences: Every kind of event with its channels, each channel's setup, the email timing and the quiet hours.

API:

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

CLI:

```bash
widar notifications get
```

MCP tool `get_my_notification_settings`:

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

## Change your notification settings

Turn channels on or off for kinds of events, choose email at once or once a day, and set quiet hours. A channel that is not set up yet keeps your choice and starts once it is.

`PATCH /v1/me/notification_preferences`. Who may: Every member, for themselves. CLI: `widar notifications set [--turn-on <kind:channel>,...] [--turn-off <kind:channel>,...] [--email-timing <at_once|daily>] [--quiet-hours <true|false>] [--quiet-from <HH:MM>] [--quiet-to <HH:MM>]`. MCP tool: `set_my_notification_settings`.

**Parameters**
- `turn_on` (array of string): The turn on. At most 200 items.
- `turn_off` (array of string): The turn off. At most 200 items.
- `email_timing` (enum): The email timing. One of `at_once`, `daily`.
- `quiet_hours` (boolean): The quiet hours.
- `quiet_from` (string): The quiet from.
- `quiet_to` (string): The quiet to.

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

API:

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

CLI:

```bash
widar notifications set
```

MCP tool `set_my_notification_settings`:

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

## List the browsers you get notifications in

Each browser you turned browser push on in, when it was turned on and last used, and the key a new browser subscribes with.

`GET /v1/me/push_subscriptions`. Who may: Every member, for themselves. CLI: `widar push list`. MCP tool: `list_my_push_browsers`.

**Parameters**

**Returns** list of push subscriptions: Your browsers, the most recently used first, and widar's application server key.

API:

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

CLI:

```bash
widar push list
```

MCP tool `list_my_push_browsers`:

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

## Turn on notifications in a browser

Keeps the subscription a browser made with widar's key, so browser push reaches it. The same browser twice stays one.

`POST /v1/me/push_subscriptions`. Who may: Every member, for themselves. CLI: `widar push add --endpoint <https address> --keys <json> [--expiration-time <ms>] [--browser <browser on system>]`. MCP tool: `add_push_browser`.

**Parameters**
- `endpoint` (URL, required): The endpoint. At most 2,048 characters.
- `keys` (object, required): The keys.
- `expiration_time` (integer): The expiration time. `null` clears it.
- `browser` (string): The browser. At most 60 characters.

**Returns** push subscription: The browser, on.

API:

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

CLI:

```bash
widar push add --endpoint <endpoint> --keys <keys>
```

MCP tool `add_push_browser`:

```json
{
  "name": "add_push_browser",
  "arguments": {
    "endpoint": "<endpoint>",
    "keys": "<keys>"
  }
}
```

## Turn off notifications in a browser

That browser no longer gets browser push from widar. Your other browsers stay on.

`DELETE /v1/me/push_subscriptions/{subscription_id}`. Who may: Every member, for themselves. CLI: `widar push remove <subscription_id>`. MCP tool: `remove_push_browser`.

**Parameters**
- `subscription_id` (id (psb_), required): The subscription's id. In the path.

**Returns** push subscription, removed: The browser gets no more notifications.

API:

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

CLI:

```bash
widar push remove psb_7Kq2Xw9
```

MCP tool `remove_push_browser`:

```json
{
  "name": "remove_push_browser",
  "arguments": {
    "subscription_id": "psb_7Kq2Xw9"
  }
}
```

## Send a test notification

Sends a test to every browser you turned on, or to one. It shows as any notification does.

`POST /v1/me/push_subscriptions/test`. Who may: Every member, for themselves. CLI: `widar push test [--subscription-id <psb_id>]`. MCP tool: `test_push_notifications`.

**Parameters**
- `subscription_id` (id (psb_)): The subscription's id.

**Returns** push test: The browsers it was sent to, and the notification they were sent.

API:

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

CLI:

```bash
widar push test
```

MCP tool `test_push_notifications`:

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

## Read your webhook

Your own https address that gets your notifications as signed POSTs, the signing secret's last four characters and the last test.

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

**Parameters**

**Returns** personal webhook: Your webhook address, its secret's last four characters and the last test; the address is null when you have none.

API:

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

CLI:

```bash
widar me webhook get
```

MCP tool `get_my_webhook`:

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

## Set your webhook

The https address your notifications are sent to, each signed with a secret of your own. A new address or a new secret answers the secret once: copy it then.

`PUT /v1/me/webhook`. Who may: Every member, for themselves. CLI: `widar me webhook set --url <https address|null> [--roll-secret]`. MCP tool: `set_my_webhook`.

**Parameters**
- `url` (URL, required): The url. At most 2,048 characters. `null` clears it.
- `roll_secret` (boolean): The roll secret.

**Returns** personal webhook: Your webhook, with the whole secret when it is new.

API:

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

CLI:

```bash
widar me webhook set --url <url>
```

MCP tool `set_my_webhook`:

```json
{
  "name": "set_my_webhook",
  "arguments": {
    "url": "<url>"
  }
}
```

## Send a test to your webhook

Sends a signed test notification to your webhook and answers what came back.

`POST /v1/me/webhook/test`. Who may: Every member, for themselves. CLI: `widar me webhook test`. MCP tool: `test_my_webhook`.

**Parameters**

**Returns** webhook test: Whether it was delivered, the status and time, and the request exactly as sent.

API:

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

CLI:

```bash
widar me webhook test
```

MCP tool `test_my_webhook`:

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

## List your Slack and Teams links

Whether the workspace has Slack and Microsoft Teams connected, and whether your own account there is linked, so notifications reach you as direct messages.

`GET /v1/me/chat_links`. Who may: Every member, for themselves. CLI: `widar chat-links list`. MCP tool: `list_my_chat_links`.

**Parameters**

**Returns** list of chat links: Slack and Microsoft Teams: the workspace's connection and your own link.

API:

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

CLI:

```bash
widar chat-links list
```

MCP tool `list_my_chat_links`:

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

## Link your Slack or Teams account

Links your own Slack or Microsoft Teams account through the workspace's integration, so your notifications come as direct messages. You sign in there as yourself.

`POST /v1/me/chat_links`. Who may: Every member, for themselves. CLI: `widar chat-links link <slack|teams>`. MCP tool: `link_my_chat_account`.

**Parameters**
- `tool` (enum, required): The tool. One of `slack`, `teams`.

**Returns** chat link: The link, and where to sign in when it is not made at once.

API:

```bash
curl -X POST https://api.widar.com/v1/me/chat_links \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "tool": "slack"
  }'
```

CLI:

```bash
widar chat-links link slack
```

MCP tool `link_my_chat_account`:

```json
{
  "name": "link_my_chat_account",
  "arguments": {
    "tool": "slack"
  }
}
```

## Unlink your Slack or Teams account

Your notifications stop coming as direct messages there. The workspace's integration stays as it is.

`DELETE /v1/me/chat_links/{tool}`. Who may: Every member, for themselves. CLI: `widar chat-links unlink <slack|teams>`. MCP tool: `unlink_my_chat_account`.

**Parameters**
- `tool` (enum, required): The tool. One of `slack`, `teams`. In the path.

**Returns** chat link: The tool, no longer linked to you.

API:

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

CLI:

```bash
widar chat-links unlink slack
```

MCP tool `unlink_my_chat_account`:

```json
{
  "name": "unlink_my_chat_account",
  "arguments": {
    "tool": "slack"
  }
}
```
