---
title: "Alerts, channels and attention commands"
description: "Rules that decide what you hear about, the channels it lands in, and what needs attention."
canonical: https://docs.mentio.dev/cli/alerts
markdown: https://docs.mentio.dev/cli/alerts.mdx
---

# Alerts, channels and attention commands

Rules that decide what you hear about, the channels it lands in, and what needs attention.

Rules that decide what you hear about, the channels it lands in, and what needs attention. Generated from the same OpenAPI document as the [API Reference](/api); ids are positional, every other input is a flag named as in the API, and each flag is described there. Global flags: `--api-key`, `--api-url`, `--pretty`, `--table`.

```bash
mentio attention:list --table
mentio attention:dismiss att_5b1f...
mentio channels:update dest_... --events mention.spike,channel.failing
mentio channels:create --kind webhook --url https://example.com/hooks/mentio --label Production
mentio alerts:create --name "Negative mentions" --event mention.negative --filter '{"sentiments":["negative"]}' --channelIds dest_...
mentio alerts:create --name "Week in review" --mode weekly --schedule '{"hour":9,"minute":0,"timezone":"Europe/Madrid","weekday":1}' --channelIds dest_...
mentio alerts:test feed_...
mentio channels:deliveries dest_...
```

| Command                              | What it does                            | Flags                                                                                                       |
| ------------------------------------ | --------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| `mentio alerts:create`               | Create an alert                         | `--name`, `--enabled`, `--mode`, `--filter`, `--schedule`, `--event`, `--channelIds`, `--json`              |
| `mentio alerts:delete <id>`          | Delete an alert                         |                                                                                                             |
| `mentio alerts:get <id>`             | Get an alert                            |                                                                                                             |
| `mentio alerts:list`                 | List alerts                             |                                                                                                             |
| `mentio alerts:mute <id>`            | Mute authors on an alert                | `--authors`, `--json`                                                                                       |
| `mentio alerts:run <id>`             | Send a digest now                       |                                                                                                             |
| `mentio alerts:test <id>`            | Send a test through an alert's channels |                                                                                                             |
| `mentio alerts:unmute <id>`          | Unmute authors on an alert              | `--authors`, `--json`                                                                                       |
| `mentio alerts:update <id>`          | Update an alert                         | `--name`, `--enabled`, `--mode`, `--filter`, `--schedule`, `--event`, `--channelIds`, `--json`              |
| `mentio attention:dismiss <id>`      | Dismiss an attention item               |                                                                                                             |
| `mentio attention:list`              | List attention items                    | `--status`, `--kind`, `--limit`, `--cursor`                                                                 |
| `mentio channels:create`             | Create a channel                        | `--kind`, `--channelId`, `--channelName`, `--events`, `--emails`, `--url`, `--label`, `--headers`, `--json` |
| `mentio channels:delete <id>`        | Delete a channel                        |                                                                                                             |
| `mentio channels:deliveries <id>`    | List deliveries to a channel            | `--limit`                                                                                                   |
| `mentio channels:get <id>`           | Get a channel                           |                                                                                                             |
| `mentio channels:list`               | List channels                           |                                                                                                             |
| `mentio channels:rotate-secret <id>` | Rotate a webhook secret                 |                                                                                                             |
| `mentio channels:test <id>`          | Send a test to a channel                |                                                                                                             |
| `mentio channels:update <id>`        | Update a channel                        | `--label`, `--url`, `--headers`, `--events`, `--json`                                                       |
