---
title: "POST /v1/alerts"
method: POST
path: "/v1/alerts"
tags: ["Alerts"]
---

# POST /v1/alerts

`POST /v1/alerts`

## Request body

- AlertRuleRequest
  - `name` string, nullable
  - `templateKey` string, nullable
  - `templateParams` object, nullable
  - `scope` AlertScopeSpec
    - `type` string, nullable
    - `symbols` string[], nullable
  - `condition` FilterNode
    - `op` string, nullable
    - `conditions` FilterNode[], nullable
    - `field` string, nullable
    - `formula` string, nullable
    - `operator` string, nullable
    - `value` unknown
  - `formulas` FormulaField[], nullable
    - `alias` string, nullable
    - `expression` string, nullable
  - `emailEnabled` boolean
  - `emailTo` string, nullable
  - `webhookUrl` string, nullable
  - `cooldownMinutes` integer, nullable

## Response `200`

OK

---

[API](https://skmtc.net/flashalpha/apis/flashalpha-api.md) · [All operations](https://skmtc.net/flashalpha/apis/flashalpha-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flashalpha/flashalpha-api/revisions/5aad383ba63e/schema)
