---
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.

---

[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)
