---
title: "Get Message"
method: GET
path: "/api/v1/messages/{message_id}"
tags: ["api", "api", "messages"]
---

# Get Message

`GET /api/v1/messages/{message_id}`

## Request

- Base URL: `https://www.faroz.uz` (the document declares no server; this is the origin it was published from)
- URL: `https://www.faroz.uz/api/v1/messages/{message_id}`
- Auth: HTTP bearer

## Path parameters

- `message_id` string, required

## Response `200`

Successful Response

- Message
  - `id` string, required
  - `user_id` integer, required
  - `user_name` string
  - `user_avatar` string, nullable
  - `subject` string, required
  - `category` string
  - `complaint_type` string, nullable
  - `status` string
  - `course_id` string, nullable
  - `replies` MessageReply[]
    - `id` string, required
    - `sender_id` string
    - `sender_name` string
    - `is_admin` boolean
    - `text` string
    - `created_at` string
  - `created_at` string, required
  - `resolved_at` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/faroz/apis/edu-app-api.md) · [All operations](https://skmtc.dev/faroz/apis/edu-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/faroz/apis/edu-app-api/revisions/414a551ba773?raw)
