---
title: "Test Webhook Proxy"
method: POST
path: "/api/v1/alert-destinations/test-webhook"
tags: ["alert-destinations"]
---

# Test Webhook Proxy

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

## Request

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

Proxy a test message to a Slack webhook URL.

This endpoint exists to bypass CORS restrictions when testing
webhook payloads from the browser. Development mode only.

## Headers

- `Authorization` string

## Request body

- BodyTestWebhookProxyApiV1AlertDestinationsTestWebhookPost
  - `webhook_url` string, required
  - `payload` object, required

## Response `200`

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)
