Skip to main content
The formo alerts command group manages project alerts. Alerts notify a webhook (including Slack, via a Slack incoming-webhook URL) when event or user filters match.

formo alerts list

List alerts for the active project.
Requires alerts:read scope on your API key.

Options


formo alerts get <alertId>

Get a single alert by ID.
Requires alerts:read scope on your API key.

formo alerts create

Create a new project alert.
Requires alerts:write scope on your API key.

Options

Recipient Shape

--recipient is a JSON array. Only type: "webhook" is currently delivered to; use a hooks.slack.com URL as the value to post to Slack. email/slack type values are accepted by the schema but not delivered; use webhook instead.

Examples


formo alerts update <alertId>

Update an existing alert.
Requires alerts:write scope on your API key.
The API expects the full alert configuration, so provide the required alert fields again when updating.

Options


formo alerts toggle <alertId>

Toggle an alert status.
Requires alerts:write scope on your API key.

formo alerts delete <alertId>

Delete an alert.
Requires alerts:write scope on your API key.
Deleting an alert is permanent.