Skip to main content
POST
/
api
/
alerts
/
dismiss
curl -X POST https://localhost:3100/api/alerts/dismiss \
  -H 'Authorization: Bearer fn_sess_abc123def456' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": "alert_42"
  }'
{
  "success": true
}

Authentication

Requires a valid session token in the Authorization header:
Authorization: Bearer <session_token>

Request Body

id
string
required
Alert identifier to dismiss (format: alert_<number>)

Response

success
boolean
Returns true if the alert was successfully dismissed

Error Responses

error
string
Error message describing what went wrong
  • 400 Bad Request: Missing alert ID in request body
  • 401 Unauthorized: Missing or invalid session token
  • 404 Not Found: Alert with specified ID not found
  • 500 Internal Server Error: Database error
curl -X POST https://localhost:3100/api/alerts/dismiss \
  -H 'Authorization: Bearer fn_sess_abc123def456' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": "alert_42"
  }'
{
  "success": true
}

Build docs developers (and LLMs) love