---
title: "Add message to ticket"
method: POST
path: "/tickets/{id}"
---

# Add message to ticket

`POST /tickets/{id}`

Adds a message to a support ticket

## Path parameters

- `id` string, uuid, required

## Request body

- CreateTicketMessageRequest
  - `message` string, required — The message content.

## Response `200`

OK

- TicketMessage
  - `author` User, required — Public user information.
    - `id` string, uuid, required — The ID of a user.
    - `name` string, required — The user's display name.
    - `avatarUrl` string, required — The URL to the user's avatar.
    - `githubId` integer, nullable — The user's GitHub ID.
    - `createdAt` string, date-time, required — The date and time when the user profile was created.
    - `updatedAt` string, date-time, required — The date and time when the user profile was last updated.
  - `message` string, required — The message content.
  - `updatedAt` string, date-time, required — The date and time when the message was last updated.
  - `createdAt` string, date-time, required — The date and time when the message was created.

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `404` — Ticket not found

---

[API](https://skmtc.net/jsr-io/apis/jsr-api.md) · [All operations](https://skmtc.net/jsr-io/apis/jsr-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jsr-io/jsr-api/versions/3d37ac9b68f7/schema)
