Check out our upcoming events and meetups! View events →
Downloads the WAV audio sample for the voice design. Returns the latest version’s sample by default, 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 response = await client.voiceDesigns.downloadSample('id');
console.log(response);
const content = await response.blob();
console.log(content);"<string>"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.
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 response = await client.voiceDesigns.downloadSample('id');
console.log(response);
const content = await response.blob();
console.log(content);"<string>"