---
title: "Get tickets"
method: GET
path: "/stores/{storeId}/tickets"
tags: ["Ticket"]
---

# Get tickets

`GET /stores/{storeId}/tickets`

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

## Path parameters

- `storeId` string, uuid, required

## Query parameters

- `subject` string
- `status` 0 | 1 | 2 | 3 | 4 — The different states of the ticket
- `customerEmail` string
- `dateFrom` string, date-time
- `dateTo` string, date-time
- `Filters` string
- `Sorts` string
- `Page` integer
- `PageSize` integer

## Response `200`

The object was successfully returned.

- DisplayTicketPaginatedResponse — Represents a paginated response returned from API endpoints, which contains the paginated data and metadata about the pagination.
  - `success` boolean, required — Indicates whether the operation was successful
  - `pages` integer, required — The total number of pages available in the paginated response.
  - `data` DisplayTicket[], required — Represents the collection of items within a paginated response
    - `id` string, uuid, required — The unique identifier of the entity
    - `dateCreated` string, date-time, required — The date the entity was created
    - `subject` string, required — The subject of the ticket
    - `emailAddress` string, required — The email address of the customer who opened the ticket
    - `status` 0 | 1 | 2 | 3 | 4, required — The different states of the ticket
    - `storeId` string, uuid, required — The store that the customer is having problems with
    - `customerId` string, uuid, required — The ID of the customer who opened the ticket
    - `messageCount` integer, required — The amount of messages in the ticket
    - `lastMessage` string, required — The last message sent in the ticket

## Other responses

- `401` — You are not authorized, check your API key and try again.
- `403` — You are not authorized to access this endpoint, you may be missing an API key scope or be requesting a privileged endpoint.
- `404` — One of the objects referenced by the ID given in the URL or form was not found, check the ID and try again.

---

[API](https://skmtc.net/komerza/apis/komerza-api.md) · [All operations](https://skmtc.net/komerza/apis/komerza-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/komerza/komerza-api/revisions/060e78bc7f80/schema)
