Check out our upcoming events and meetups! View events →
Returns the latest version of a voice design, or a specific version when ?version=N is provided. The id parameter accepts either a UUID or the design name.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const voiceDesign = await client.voiceDesigns.retrieve('id');
console.log(voiceDesign.data);{
"data": {
"record_type": "voice_design",
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "friendly-narrator",
"version": 1,
"text": "Hello, welcome.",
"prompt": "Speak in a warm tone",
"voice_sample_size": 48000,
"version_created_at": "2024-01-01T00:00:00Z",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z",
"provider": "Telnyx",
"provider_supported_models": [
"Qwen3TTS"
],
"provider_voice_id": "550e8400-e29b-41d4-a716-446655440000"
}
}Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
The voice design UUID or name.
Specific version number to retrieve. Defaults to the latest version.
x >= 1The requested voice design.
Response envelope for a single voice design with full version detail.
A voice design object with full version detail.
Show child attributes
Was this page helpful?
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const voiceDesign = await client.voiceDesigns.retrieve('id');
console.log(voiceDesign.data);{
"data": {
"record_type": "voice_design",
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "friendly-narrator",
"version": 1,
"text": "Hello, welcome.",
"prompt": "Speak in a warm tone",
"voice_sample_size": 48000,
"version_created_at": "2024-01-01T00:00:00Z",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z",
"provider": "Telnyx",
"provider_supported_models": [
"Qwen3TTS"
],
"provider_voice_id": "550e8400-e29b-41d4-a716-446655440000"
}
}