---
title: "Gets a list of chat messages"
method: GET
path: "/chat"
tags: ["Internal", "Chat"]
---

# Gets a list of chat messages

`GET /chat`

## Query parameters

- `accessToken` string, required

## Response `200`

List of chat messages

- union[]
  - union
    - UserMessage
      - `timestamp` string
      - `type` string
      - `id` string
      - `user` User
        - `createdAt` string
        - `disabledAt` string
        - `nameChangedAt` string
        - `id` string
        - `displayName` string
        - `previousNames` string[]
        - `scopes` string[]
        - `authProviders` string[] — Friendly names of the external auth methods this user signed in with (e.g. IndieAuth, Fediverse, or a plugin slug). Absent for anonymous users.
        - `displayColor` integer
        - `isBot` boolean
        - `authenticated` boolean
      - `hiddenAt` string
      - `clientId` integer
      - `body` string
    - SystemMessage
      - `timestamp` string
      - `type` string
      - `id` string
      - `body` string
    - ActionMessage
      - `timestamp` string
      - `type` string
      - `id` string
      - `body` string
    - FederatedAction
      - `timestamp` string
      - `type` string
      - `id` string
      - `body` string
      - `image` string
      - `link` string
      - `title` string

## Other responses

- `401` — Unauthorized
- `501` — Not Implemented

---

[API](https://skmtc.net/owncast/apis/owncast-apis.md) · [All operations](https://skmtc.net/owncast/apis/owncast-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/owncast/owncast-apis/versions/dc1c42f7f8f6/schema)
