rooms_messages
GET /rooms/:roomID/messages — List messages in a room
List messages in a room you are a member of. Read-only — no write side effects, no unread-state mutation, no reactions/posts/edits. Cursor-paginated newest-first.
Access: strict — the caller must be a subscribed member of the room (same seen doc check used by the web inbox). For browsable public channels, any DCer can read. Private rooms, DMs (dm), group DMs (group), event rooms, and city/country/mastermind rooms hard-block non-members with 403. Hidden/deleted/sunk messages are excluded.
Pagination: pass ?before=<nextCursor> from a previous response to fetch the next (older) page. Default page size 50, max 50.
See also: For specific content in this room (did anyone mention X?), POST /search/messages with q= and roomID= searches body text directly — far faster than paginating with ?before. This endpoint is the right call when you want a chronological window (last N messages, conversation reconstruction); search is the right call when you want a topic.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (1-50) | |
| before | No | Cursor from a previous response's `nextCursor` (encodes the previous page's oldest message timestamp). Pass to fetch the next older page. | |
| roomID | Yes | Room ID. Discover from `GET /rooms` (your subscribed list), `GET /inbox/unread`, `trip.roomID` on `GET /trips/:tripID`, or event chat-room IDs on `GET /events/:eventID`. |