# Retrieve a Report

This request enables you to retrieve details of a report based on their `id`, which needs to be provided in the request path.

**GET** `/reports/{report_id}`

Base URL: `https://api-sandbox.whitelabel.com/v1`

Retrieve a Report

## Authorization

- public-api-key (apiKey in header)
- private-secret-key (apiKey in header)

## Header parameters

- `X-Organization-Code` (string, required)
  Organization code associated to the request.

## Path parameters

- `report_id` (string, required)
  The unique identifier of the report.

## Responses

### 200

200

- `id` (string)
- `type` (string)
- `start_date` (string)
- `end_date` (string)
- `merchant_reference_id` (string)
- `created_at` (string)
- `updated_at` (string)
- `expires_at` (string)
- `status` (string)

Example:

```json
{
  "id": "5104911d-5df9-229e-8468-bd41abea1",
  "type": "TRANSACTIONS",
  "start_date": "2022-05-09T20:46:54.786342Z",
  "end_date": "2022-05-09T20:46:54.786342Z",
  "merchant_reference_id": "Merchant_report_1234",
  "created_at": "2022-05-16T20:46:54.786342Z",
  "updated_at": "2022-05-16T20:46:54.786342Z",
  "expires_at": "2022-05-16T20:46:54.786342Z",
  "status": "SUCCEEDED"
}
```

### 400

400

- `code` (string)
- `messages` (string[])

Example:

```json
{
  "code": "INVALID_REQUEST",
  "messages": [
    "Invalid request"
  ]
}
```

### 401

401

### 403

403

- `code` (string)
- `messages` (string[])

Example:

```json
{
  "code": "AUTHORIZATION_REQUIRED",
  "messages": [
    "The merchant has no authorization to use this API."
  ]
}
```