# Download prevention alerts

The <a href="https://docs.solidgate.com/reporting/operational-reports/prevention-alerts/" target="_blank">report</a> offering detailed information on prevention alerts. It provides insights into each alert, including unique identifiers, alert types, amounts, outcomes, and the alert generation timeline.
<blockquote>
<p>The report unloads data based on the date range parameters that corresponds to the date the operation was executed.</p>
<p>In a successful response, you will be redirected to S3 to download the file.</p>
</blockquote>

Endpoint: GET /prevention_alerts/report/{report_id}/download
Version: 1.0.0
Security: MerchantID

## Path parameters:

  - `report_id` (string, required)
    Unique report identifier for download.

<blockquote>
  <p>It follows the pattern [report_prefix] [date (yyMMdd)] [time (HHmmss)] [channel name].</p>
</blockquote>

## Header parameters:

  - `merchant` (string, required)

  - `signature` (string, required)

## Response 200 fields (application/json):

  - `report_url` (string)
    URL for the report stored on Amazon S3, which needs to be downloaded.
    Example: https://reports.solidgate.com/api/v1/prevention_alerts/report/prev_alert_220504_143924_test/download

  - `error` (object, required)
    Error object.

  - `error.code` (string, required)
    Unauthorized access due to invalid credentials.
    Example: 1.01

  - `error.messages` (array, required)
    Array of error messages applied to the decline payment.

