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

# Get Ticket Stats

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

## Request

- Base URL: `https://api.sellauth.com`
- URL: `https://api.sellauth.com/v1/shops/{shopId}/tickets/stats`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sellauth/apis/sellauth-api/docs/v1/shops/:shopId/tickets/stats/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves ticket statistics for a shop.

## Response `200`

- object
  - `total` integer
  - `open` integer
  - `pending` integer
  - `closed` integer
  - `avg_resolution_seconds` string, nullable

## Changes

- **2026-11-02** `ff0d59c98d7a`: 1 breaking
  - the response property `avg_resolution_seconds` became nullable for the status `200`
- **2026-09-20** `b029c1ca97a8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sellauth/apis/sellauth-api/changes/v1/shops/:shopId/tickets/stats/get.md)

---

[API](https://skmtc.dev/sellauth/apis/sellauth-api.md) - [All operations](https://skmtc.dev/sellauth/apis/sellauth-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sellauth/apis/sellauth-api/revisions/ff0d59c98d7a?raw)
