# POST /voice-agents/:agent_id/apply-template

**Resource:** [Agents](./voice-agents.md)  
**MCP tool:** `apply_voice_agent_template`  
**Scopes:** `voice-agents:write`  
**Write operation:** yes

Stamp a profile/source template onto a target voice agent.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `agent_id` | path | string | yes |  |
| `template_id` | body | string | no |  |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/voice-agents/:agent_id/apply-template"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"template_id":"..."}'
```

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