# POST /exports/templates/:template_id/views

**Resource:** [Export Templates](./export-templates.md)  
**MCP tool:** `create_export_template_view`  
**Scopes:** `exports:write`  
**Write operation:** yes

Create a view on an export template. A view holds its own filters and sort, so one template can carry several saved cuts of the same data.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `template_id` | path | string | yes |  |
| `name` | body | string | yes | View name, shown in the view picker. |
| `description` | body | string | no | Optional note about what this view shows. |
| `filters` | body | array | no | Filters for this view. A view holds its own filters, so one template can carry several saved cuts of the same data. |
| `sort` | body | array | no | Sort order for this view. Only root scalar columns sort at query time. |
| `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/exports/templates/:template_id/views"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"name":"..."}'
```

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