Acknowledge All Alerts

Acknowledge all unacknowledged Cannonball alerts

POST /api/v1/cannonball/alerts/acknowledge-all/

Acknowledges all unacknowledged alerts for the current user. This is useful for clearing alert queues after reviewing them.

Request Body

No request body required.

Response

{
  "acknowledged": 15
}

Response Fields

FieldTypeDescription
acknowledgedintegerNumber of alerts that were acknowledged

Example Request

curl -X POST "https://api.skyspy.io/api/v1/cannonball/alerts/acknowledge-all/" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response Codes

CodeDescription
200Alerts acknowledged successfully
401Unauthorized - Invalid or missing authentication

Usage Notes

  • This endpoint acknowledges all alerts matching the user's filter criteria
  • Authenticated users will only acknowledge their own alerts
  • The response includes the count of alerts that were actually updated
  • Alerts that were already acknowledged are not included in the count