# POST /document-templates/:template_id/acl

**Resource:** [Document Templates](./document-templates.md)  
**MCP tool:** `add_document_template_acl_entry`  
**Scopes:** `documents:write`  
**Write operation:** yes

Give a workspace member or a role access to a document or signing template. Takes effect when the template's visibility is "restricted" (set it with update_document_template). Envelopes sent from the template afterwards get the same list.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `template_id` | path | string | yes | REQUIRED. The template id. |
| `principal_type` | body | string | yes | "user" for one workspace member, "role" for everyone with a role. |
| `principal_id` | body | string | yes | For "user": the member's user id. For "role": the role name exactly as shown in Settings, Roles. |
| `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/document-templates/:template_id/acl"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"principal_type":"...","principal_id":"...","require_approval":"..."}'
```

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