---
title: "Get Tickets"
method: GET
path: "/v1/shops/{shopId}/tickets"
tags: ["Tickets"]
---

# Get Tickets

`GET /v1/shops/{shopId}/tickets`

Retrieves the tickets.

## Request body

- object
  - `page` integer — Page number.
  - `perPage` integer — Items per page, 1-100. Must be at least 1. Must not be greater than 100.
  - `orderColumn` 'id' | 'subject' | 'created_at' | 'closed_at'
  - `orderDirection` 'asc' | 'desc'
  - `id` string — Filter by ticket ID.
  - `statuses` string[]
  - `customer_email` string — Filter by customer email.
  - `created_at_start` string — Must be a valid date.
  - `created_at_end` string — Must be a valid date. Must be a date after <code>created_at_start</code>.
  - `closed_at_start` string — Must be a valid date.
  - `closed_at_end` string — Must be a valid date. Must be a date after <code>closed_at_start</code>.
  - `archived` string — Only archived tickets.

## Response `200`

- object
  - `current_page` integer
  - `data` object[]
    - `id` string
    - `shop_id` integer
    - `shop_customer_id` integer
    - `invoice_id` string
    - `subject` string
    - `status` string
    - `closed_at` string
    - `archived_at` string
    - `created_at` string
    - `updated_at` string
    - `customer` object
      - `id` integer
      - `shop_id` integer
      - `email` string
    - `last_message` string
    - `invoice` string
  - `first_page_url` string
  - `from` integer
  - `last_page` integer
  - `last_page_url` string
  - `links` object[]
    - `url` string
    - `label` string
    - `active` boolean
  - `next_page_url` string
  - `path` string
  - `per_page` integer
  - `prev_page_url` string
  - `to` integer
  - `total` integer

---

[API](https://skmtc.dev/sellauth/apis/sellauth-api.md) · [All operations](https://skmtc.dev/sellauth/apis/sellauth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sellauth/sellauth-api/revisions/945e6d749d68/schema)
