# POST /chat/rooms/:room_id/members

**Resource:** [Chat](./chat.md)  
**MCP tool:** `add_chat_room_member`  
**Scopes:** `chat:write`  
**Write operation:** yes

Add a workspace user to a chat room. In Phase 0 the user must belong to this workspace; cross-workspace adds (which need a consent handshake) come later.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `room_id` | path | string | yes |  |
| `user_id` | body | string | yes | UUID of the workspace user to add. |
| `member_role` | body | string | no | owner or member (default member). |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/chat/rooms/:room_id/members"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"user_id":"...","member_role":"..."}'
```

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