---
title: "GET /messages/{messageID}"
method: GET
path: "/messages/{messageID}"
tags: ["message"]
---

# GET /messages/{messageID}

`GET /messages/{messageID}`

指定したメッセージを取得します。

## Response `200`

正常に取得できました。

- Message
  - `messageId` string, uuid — メッセージUUID
  - `userId` string, uuid — 投稿者UUID
  - `parentChannelId` string — 投稿先チャンネルUUID
  - `content` string — メッセージ本体
  - `createdAt` string, date-time — メッセージ投稿日時
  - `updatedAt` string, date-time — メッセージ更新日時
  - `pin` boolean — ピン留めされているかどうか
  - `reported` boolean — 自分が通報しているかどうか
  - `stampList` MessageStamp[] — メッセージスタンプ配列
    - `userId` string, uuid — ユーザーUUID
    - `stampId` string, uuid — スタンプUUID
    - `count` integer — 押された個数
    - `createdAt` string, date-time — 最初に押した日時
    - `updatedAt` string, date-time — 最後に押した日時

## Other responses

- `404` — 取得できませんでした。指定されたメッセージは存在しません。

## Changes

- **2019-07-24** `66a69a1387ed` — 1 info
  - api operation id `getMessage` was added
- **2019-07-05** `6956f2622a20` — 5 info
  - the endpoint scheme security `traqOAuth2` was added to the API
  - endpoint reactivated
  - added the non-success response with the status `404`
  - removed the non-success response with the status `410`
  - …1 more

[Change history](https://skmtc.dev/traptitech/apis/traq-api/changes/messages/:messageID/get.md)

---

[API](https://skmtc.dev/traptitech/apis/traq-api.md) · [All operations](https://skmtc.dev/traptitech/apis/traq-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/traptitech/traq-api/revisions/801af87793dd/schema)
