---
title: "Create a support ticket"
method: POST
path: "/api/v1/support/tickets"
tags: ["Support"]
---

# Create a support ticket

`POST /api/v1/support/tickets`

Creates a support ticket with an initial message.

## Headers

- `Idempotency-Key` string

## Request body

- object — Support submission containing a ticket subject.
  - `body` string, required — Non-empty support message text.
  - `subject` string, required — Non-empty support ticket subject.

## Response `200`

Original ticket replayed after a safe retry

- object
  - `publicId` string, required
  - `attachments` SupportAttachmentReceipt[], required
    - `publicId` string, required
    - `status` 'pending' | 'ready' | 'failed', required

## Other responses

- `201` — Ticket created
- `400` — Invalid input
- `401` — Unauthenticated
- `409` — Idempotency-Key was reused with different content.
- `429` — Xquik tier rate limit exceeded. The response includes a `Retry-After` header with the number of seconds to wait before retrying.
- `default` — Unexpected error.

## Changes

- **2026-08-20** `352bea67aca5` — 4 breaking, 5 warning, 1 info
  - added `#/components/schemas/SupportMessageSubmission, #/components/schemas/SupportTicketSubjectSubmission` to the request body `allOf` list (media type: application/json)
  - added `#/components/schemas/SupportMultipartSubmission, #/components/schemas/SupportTicketSubjectSubmission` to the request body `allOf` list (media type: multipart/form-data)
  - removed `subschema #1, subschema #2` from the request body `anyOf` list (media type: multipart/form-data)
  - the request's body type/format changed from `object`/`` to ``/`` (media type: application/json)
  - …6 more
- **2026-08-12** `5d4938bb7de3` — 90 warning
  - added the new `closed` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `429`
  - added the new `closed` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #2: StructuredError]/code` response property for the response status `429`
  - added the new `closed` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `400`
  - added the new `closed` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `401`
  - …86 more
- …earlier changes not shown

[Full history](https://skmtc.dev/xquik-dev/apis/xquik-api-2/changes/api/v1/support/tickets/post.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-service-production.skmtc.workers.dev/v1/apis/xquik-dev/xquik-api-2/revisions/834c16fa45e8/schema)
