---
title: "A room's transcript, **oldest first** -- a conversation is replayed in the order it happened"
method: GET
path: "/chat/rooms/{roomId}/messages"
tags: ["Chat"]
---

# A room's transcript, \*\*oldest first\*\* -- a conversation is replayed in the order it happened

`GET /chat/rooms/{roomId}/messages`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/chat/rooms/{roomId}/messages`
- Auth: HTTP bearer

## Path parameters

- `roomId` string, uuid, required

## Query parameters

- `limit` integer
- `cursor` string

## Response `200`

OK

- object
  - `data` AssistantRoomMessage[], required
    - `id` string, uuid, required
    - `role` 'user' | 'assistant', required
    - `content` string, required
    - `createdAt` string, date-time, required
  - `pagination` object, required
    - `nextCursor` string, nullable, required
    - `hasNext` boolean, required
    - `limit` integer, required
    - `totalCount` integer
  - `meta` object, required
    - `requestId` string, required

## Other responses

- `404`: No such room, or it belongs to somebody else

---

[API](https://skmtc.dev/whatareyoudo/apis/whatcha-api.md) · [All operations](https://skmtc.dev/whatareyoudo/apis/whatcha-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whatareyoudo/apis/whatcha-api/revisions/48dd8a54abea?raw)
