---
title: "Get message"
method: GET
path: "/s2s/messages/{messageId}"
tags: ["S2S Messages"]
---

# Get message

`GET /s2s/messages/{messageId}`

Fetch a single message.

## Path parameters

- `messageId` string, required

## Response `200`

Ok

- S2SMessage
  - `id` string, required
  - `conversationId` string, required
  - `text` string
  - `author` S2SAuthor, required
    - `type` 'contact' | 'agent' | 'bot' | 'system', required
    - `id` string
    - `name` string
    - `avatar` string
  - `attachments` S2SAttachment[], required
    - `url` string, required
    - `name` string
    - `contentType` string
  - `replyToMessageId` string
  - `rating` string
  - `unread` boolean, required
  - `createdAt` string, date-time, required

---

[API](https://skmtc.net/gleap/apis/gleap-server.md) · [All operations](https://skmtc.net/gleap/apis/gleap-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleap/gleap-server/revisions/17bf8913206e/schema)
