---
title: "Add Ticket Message"
method: POST
path: "/cabinet/tickets/{ticket_id}/messages"
tags: ["Cabinet Tickets"]
---

# Add Ticket Message

`POST /cabinet/tickets/{ticket_id}/messages`

## Request

- The document declares no server URL.
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/docs/cabinet/tickets/:ticket_id/messages/post.ts> (a function with typed inputs; its response is checked against the schema)

Add message to existing ticket.

## Path parameters

- `ticket_id` integer, required

## Request body

- TicketMessageCreateRequest: Request to add message to ticket.
  - `message` string, required: Message text
  - `media_type` string, nullable: Media type: photo, video, document
  - `media_file_id` string, nullable: Telegram file_id of uploaded media
  - `media_caption` string, nullable: Media caption

## Response `200`

Successful Response

- AppCabinetSchemasTicketsTicketMessageResponse: Ticket message data.
  - `id` integer, required
  - `message_text` string, required
  - `is_from_admin` boolean, required
  - `has_media` boolean
  - `media_type` string, nullable
  - `media_file_id` string, nullable
  - `media_caption` string, nullable
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-03** `2360876ff9c5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/changes/cabinet/tickets/:ticket_id/messages/post.md)

---

[API](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api.md) - [All operations](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/revisions/2360876ff9c5?raw)
