---
title: "Add Endpoint"
method: POST
path: "/user/alert/add"
tags: ["user"]
---

# Add Endpoint

`POST /user/alert/add`

Add a new alert

## Request body

- AddAlertRequest
  - `tenant_id` string, required
  - `node_id` string, required
  - `duration` integer, required
  - `webhook_url` string, required
  - `webhook_body` string, required

## Response `200`

Successful Response

- AddAlertResponse
  - `alert_id` string, required

## Other responses

- `403` — `{"detail": "Invalid API Key"}`
- `422` — Validation Error

---

[API](https://skmtc.dev/tenzir/apis/tenzir-platform-api.md) · [All operations](https://skmtc.dev/tenzir/apis/tenzir-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tenzir/tenzir-platform-api/revisions/1c6c33bb8ba3/schema)
