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

# List rewards

> List all rewards for the shop.

List all rewards for the shop. Excludes soft-deleted rewards.

## Query parameters

| Parameter           | Type    | Description                                                                                                      |
| ------------------- | ------- | ---------------------------------------------------------------------------------------------------------------- |
| `filter[is_active]` | string  | Filter by active status: `true` or `false`                                                                       |
| `sort`              | string  | Sort field. Prefix with `-` for descending. Options: `created_at`, `name`, `points_cost`. Default: `-created_at` |
| `page[number]`      | integer | Page number (default: `1`)                                                                                       |
| `page[size]`        | integer | Results per page (default: `20`, max: `100`)                                                                     |

## Response

```json theme={null}
{
  "data": [
    {
      "type": "reward",
      "id": "reward_abc",
      "attributes": {
        "name": "£5 off your next order",
        "description": null,
        "discount_type": "fixed_amount",
        "reward_type": "discount",
        "points_cost": 500,
        "discount_amount": 5.00,
        "minimum_spend": 20.00,
        "is_active": true,
        "max_redemptions": null,
        "expiry_days": 30,
        "created_at": "2024-01-01T00:00:00.000Z",
        "updated_at": "2024-01-01T00:00:00.000Z"
      }
    }
  ],
  "meta": {
    "total": 3,
    "page": 1,
    "per_page": 20,
    "total_pages": 1
  }
}
```
