---
title: "Create Alert Destination"
method: POST
path: "/api/v1/alert-destinations/"
tags: ["alert-destinations"]
---

# Create Alert Destination

`POST /api/v1/alert-destinations/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/alert-destinations/`
- Auth: none declared

Create a new alert destination.

Request body validated by CreateDestinationRequest schema.

## Headers

- `Authorization` string

## Request body

- AppDomainsFeatureAlertsApiV1SchemasCreateDestinationRequest: Request schema for creating an alert destination.
  - `name` string, required: Destination name
  - `destination_type` string, required: Type of destination
  - `config` object, required: Destination configuration
  - `is_active` boolean: Whether destination is active

## Response `201`

Successful Response

- StandardResponse: Standard API response wrapper.
  - `success` boolean, required
  - `data` unknown
  - `message` string, nullable
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api.md) · [All operations](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/revisions/51c755fb5d0b?raw)
