---
title: "This API is to get Student Messages"
method: GET
path: "/api/StudentCommunicationData/GET_Student_Messages"
tags: ["StudentCommunicationData"]
---

# This API is to get Student Messages

`GET /api/StudentCommunicationData/GET_Student_Messages`

The following codes are returned

200  -  Success,

E300 - Invalid TokenID

## Query parameters

- `TokenID` string, required
- `BranchID` integer, required
- `UserID` integer, required

## Response `200`

OK

- StuMessages[]
  - `Date1` string, date-time
  - `MessageID` integer
  - `IsRead` boolean
  - `IsReply` integer
  - `ReplyOrForwardedMessageID` integer
  - `Subject` string
  - `Message` string
  - `From` string
  - `MessageFrom` string
  - `To` string
  - `FilePath` string
  - `FileName` string
  - `FromId` integer
  - `ToId` integer

## Other responses

- `400` — Bad Request
- `403` — Unauthorized
- `500` — Internal Server error

---

[API](https://skmtc.dev/myclassboard/apis/mcbschoolapi.md) · [All operations](https://skmtc.dev/myclassboard/apis/mcbschoolapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/myclassboard/mcbschoolapi/revisions/bc313f10ca9a/schema)
