# GET /chat/rooms/:room_id/messages

**Resource:** [Chat](./chat.md)  
**MCP tool:** `list_chat_messages`  
**Scopes:** `chat:read`  
**Write operation:** no

List messages in a chat room, newest first, paginated. Soft-deleted messages are excluded.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `room_id` | path | string | yes |  |
| `limit` | query | number | no | Max messages (1-100, default 25). |
| `after` | query | string | no | Pagination cursor. |

## Request example

```bash
curl   "https://api.trustpager.com/functions/v1/api/v1/chat/rooms/:room_id/messages"   -H "Authorization: Bearer YOUR_API_KEY"
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`