GET/v1/alerts

Retrieve active security alerts.

Request

bash
curl -X GET "https://api.trustyn.ai/v1/alerts?active=true" \
  -H "X-API-Key: trustyn_live_xxxxxxxx"

Query Parameters

activeboolean

default: true

Only active alerts

severitystring

Filter by severity

"low""medium""high""critical"

Response

json
{
  "data": [
    {
      "id": "alt_abc123",
      "title": "BNP Paribas phishing campaign",
      "severity": "high",
      "scam_type": "phishing_bank",
      "is_active": true,
      "created_at": "2024-01-15T08:00:00Z"
    }
  ],
  "count": 3
}