# POST /voices/:voice_id/provider-mapping

**Resource:** [Voices](./voices.md)  
**MCP tool:** `set_voice_provider_mapping`  
**Scopes:** `voices:write`  
**Write operation:** yes

Map a workspace voice to a provider voice id so agent creation uses the right voice.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `voice_id` | path | string | yes |  |
| `retell_voice_id` | body | string | yes |  |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/voices/:voice_id/provider-mapping"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"retell_voice_id":"..."}'
```

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