---
title: "Reply to one of the API key owner's tickets"
method: POST
path: "/tickets/{ticketId}/messages"
tags: ["Support"]
---

# Reply to one of the API key owner's tickets

`POST /tickets/{ticketId}/messages`

Adds a reply message to one of the API key owner's tickets. Closed tickets are rejected. Requires the tickets.write scope and the writes feature. Supports the Idempotency-Key header.

## Path parameters

- `ticketId` string, required — Ticket ID.

## Request body

- AddTicketMessageRequestBody — Adds a reply message to one of the API key owner's tickets.
  - `content` string, required — Reply message body (max 2000 chars).
  - `images` string[] — Optional storage IDs (from /uploads/image-url) to attach (max 10).

## Response `200`

The reply was added.

- AddTicketMessageResponse
  - `success` true, required
  - `messageId` string, required — Created message ID.
  - `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.
- `404` — Resource not found.
- `409` — Conflict.
- `429` — Rate limited.
- `500` — Internal server error.

## Changes

- **2026-06-10** `82f2480cdb83` — 2 info
  - api tag `Support` added
  - api tag `Tickets` removed
- **2026-06-08** `33b01a4694a7` — 1 info
  - endpoint added
- **2026-06-04** `f22bd61fd595` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/teambattles/apis/teambattles-api/changes/tickets/:ticketId/messages/post.md)

---

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