---
title: "Get ticket with all messages"
method: GET
path: "/api/v1/support/tickets/{id}"
tags: ["Support"]
---

# Get ticket with all messages

`GET /api/v1/support/tickets/{id}`

Returns one support ticket with its message history.

## Path parameters

- `id` string, required

## Response `200`

Ticket detail

- object
  - `publicId` string, required
  - `subject` string, required
  - `status` 'open' | 'in_progress' | 'resolved' | 'closed', required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `messages` object[], required
    - `body` string, required
    - `sender` 'user' | 'support' | 'system', required
    - `createdAt` string, date-time, required
    - `attachments` SupportAttachment[], required
      - `publicId` string, required
      - `filename` string, required
      - `contentType` 'image/jpeg' | 'image/png' | 'image/gif' | 'image/webp' | 'video/mp4' | 'video/quicktime' | 'video/webm', required — Validated media type.
      - `kind` 'image' | 'video', required — Attachment media class.
      - `sizeBytes` integer, required
      - `status` 'pending' | 'ready' | 'failed', required — Storage processing state.
      - `url` string, required

## Other responses

- `401` — Unauthenticated
- `404` — Not found
- `429` — Xquik tier rate limit exceeded. Wait `Retry-After` seconds before retrying.
- `default` — Unexpected error.

## Changes

- **2026-09-27** `c33250258fdf` — 16 warning
  - added the new `draw_too_large` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `429`
  - added the new `draw_too_large` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #2: StructuredError]/code` response property for the response status `429`
  - added the new `draw_too_large` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `401`
  - added the new `draw_too_large` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `404`
  - …12 more
- **2026-09-26** `9ae77b3e4fdc` — 8 warning
  - added the new `bookmark_folders_unavailable` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `429`
  - added the new `bookmark_folders_unavailable` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #2: StructuredError]/code` response property for the response status `429`
  - added the new `bookmark_folders_unavailable` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `401`
  - added the new `bookmark_folders_unavailable` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `404`
  - …4 more
- …earlier changes not shown

[Full history](https://skmtc.dev/xquik-dev/apis/xquik-api-2/changes/api/v1/support/tickets/:id/get.md)

---

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