# Receive alert history webhook **POST /alert_history** Receives resolved alert webhooks from Alertmanager and persists them to the alert_history table. Firing alerts are ignored; only resolved alerts are stored. Authenticated via Bearer token (ALERTING_HISTORY_WEBHOOK_SECRET). ## Servers - Backend API server (port 8080): https://api.your-domain.com/api (Backend API server (port 8080)) - Collect API server (port 8081): https://collect.your-domain.com/api (Collect API server (port 8081)) ## Authentication methods - Bearer auth ## Parameters ### Body: application/json (object) - **status** (string) - **alerts** (array[object]) - **receiver** (string) ## Responses ### 204 Webhook processed successfully ### 400 Bad request - validation error #### Body: application/json (object) - **code** (integer) HTTP error code - **message** (string) Error message - **data** (object) ### 401 Unauthorized - invalid or missing token #### Body: application/json (object) - **code** (integer) - **message** (string) - **data** (object | null) ### 500 Internal server error #### Body: application/json (object) - **code** (integer) - **message** (string) - **data** (object | null) ### 503 Webhook authentication not configured [Powered by Bump.sh](https://bump.sh)