# GET /chat-widgets/:widget_id/sessions

**Resource:** [CHAT_WIDGETS](./chat-widgets.md)  
**MCP tool:** `list_chat_widget_sessions`  
**Scopes:** `chat-widgets:read`  
**Write operation:** no

List the chats a widget has had, newest first. Filter with level (urgent, priority, standard) or trigger_failed=true. Chats can hold a visitor first name and mobile number: treat them as personal data.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `widget_id` | path | string | yes | The chat widget id. |
| `level` | query | string | no |  |
| `trigger_failed` | query | string | no |  |
| `sort` | query | string | no |  |
| `limit` | query | number | no |  |
| `after` | query | string | no |  |

## Request example

```bash
curl   "https://api.trustpager.com/functions/v1/api/v1/chat-widgets/:widget_id/sessions"   -H "Authorization: Bearer YOUR_API_KEY"
```

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