> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rolearn.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Alerts

> Get all alerts for the authenticated user

Returns all alerts belonging to the current user, including viewed and unviewed.

<RequestExample>
  ```bash theme={null}
  curl https://rolearn.dev/api/alerts/my \
    -H "Authorization: Bearer YOUR_TOKEN"
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "alerts": [
      {
        "id": 42,
        "message": "Blox Fruits CCU exceeded 500,000",
        "type": "ccu_spike",
        "viewed": false,
        "created_at": "2026-03-13T03:15:00Z"
      }
    ]
  }
  ```
</ResponseExample>
