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

# Get Tickets

> Gets the tickets in the store.
Requires the `stores.tickets.view` permission.

## Filterable Fields

This endpoint supports filtering and sorting. See the [Filtering & Sorting Guide](/api-reference/filtering) for syntax details.

| Field           | Type     | Description                                                                      |
| --------------- | -------- | -------------------------------------------------------------------------------- |
| `subject`       | string   | Search ticket subject (case-insensitive contains)                                |
| `status`        | integer  | Filter by ticket status. See [Ticket Status](/api-reference/enums#ticket-status) |
| `customerEmail` | string   | Filter by customer email (case-insensitive contains)                             |
| `dateFrom`      | datetime | Filter tickets created on or after this date                                     |
| `dateTo`        | datetime | Filter tickets created on or before this date                                    |

**Example:**

```bash theme={null}
# Open tickets from last 7 days
GET /stores/{storeId}/tickets?filters=status==0,dateFrom>=2025-11-20

# Tickets by customer email
GET /stores/{storeId}/tickets?filters=customerEmail@=*user@example.com
```


## API Specification

The full API specification for this endpoint is available in the [documentation index](https://docs.komerza.com/llms.txt).
