---
title: "List Messages"
method: GET
path: "/api/realtime/messages"
tags: ["Messages"]
---

# List Messages

`GET /api/realtime/messages`

Retrieve message history with optional filters

## Query parameters

- `channelId` string, uuid
- `eventName` string
- `limit` integer
- `offset` integer

## Response `200`

List of messages

- Message[]
  - `id` string, uuid, required — Unique identifier for the message
  - `eventName` string, required — Name of the event
  - `channelId` string, uuid, nullable — ID of the channel this message belongs to
  - `channelName` string, required — Resolved channel name (instance of the pattern)
  - `payload` object, required — Message payload data
  - `senderType` 'system' | 'user', required — Type of sender that published the message
  - `senderId` string, uuid, nullable — ID of the user who sent the message (null for system messages)
  - `wsAudienceCount` integer, required — Number of WebSocket clients who received the message
  - `whAudienceCount` integer, required — Number of webhooks that should receive the message
  - `whDeliveredCount` integer, required — Number of webhooks that successfully received the message
  - `createdAt` string, date-time, required — Timestamp when the message was created

## Other responses

- `400` — Invalid input

---

[API](https://skmtc.net/insforge/apis/insforge-authentication-api.md) · [All operations](https://skmtc.net/insforge/apis/insforge-authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/insforge/insforge-authentication-api/revisions/a935bb49f932/schema)
