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

# Create a support ticket

`POST /tickets`

Creates a support ticket owned by the API key owner. Requires the tickets.write scope and the writes feature. Supports the Idempotency-Key header.

## Request body

- CreateTicketRequestBody — Creates a self-filed support ticket owned by the API key owner.
  - `subject` string, required — Ticket subject (max 150 chars).
  - `description` string, required — Initial message / description (max 2000 chars).
  - `category` 'account' | 'technical_bug' | 'feature_request' | 'billing' | 'other', required — Support category. Entity-bound and staff-only categories are rejected.
  - `images` string[] — Optional storage IDs (from /uploads/image-url) to attach (max 10).

## Response `200`

The ticket was created.

- CreateTicketResponse
  - `success` true, required
  - `ticketId` string, required — Created ticket ID.
  - `ticketNumber` integer, required — Human-facing sequential ticket number.
  - `timestamp` string, required — Response generation time (ISO 8601).

## Other responses

- `400` — Bad request (invalid body, cursor, limit, or date).
- `401` — Missing or invalid API key.
- `403` — API key lacks the required permission.
- `409` — Conflict.
- `429` — Rate limited.
- `500` — Internal server error.

---

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