---
title: "Send a test payload to a webhook alert's channel and report whether it arrived. Re-enables an alert disabled by earlier failures."
method: POST
path: "/v1/alerts/{id}/test"
---

# Send a test payload to a webhook alert's channel and report whether it arrived. Re-enables an alert disabled by earlier failures.

`POST /v1/alerts/{id}/test`

## Request

- Base URL: `https://api.diavgis.gr`
- URL: `https://api.diavgis.gr/v1/alerts/{id}/test`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

Result — {ok, ms, status, hint?, revived?}

## Other responses

- `400`: not_a_webhook / invalid_channel
- `401`: missing/invalid key
- `404`: not_found

---

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