Check out our upcoming events and meetups! View events →
Returns a paginated list of voice designs belonging to the authenticated account.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const voiceDesignListResponse of client.voiceDesigns.list()) {
console.log(voiceDesignListResponse.id);
}{
"data": [
{
"record_type": "voice_design",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"provider": "telnyx",
"provider_supported_models": [
"<string>"
]
}
],
"meta": {
"page_number": 1,
"page_size": 20,
"total_results": 42,
"total_pages": 3
}
}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.
Page number for pagination (1-based).
x >= 1Number of results per page.
1 <= x <= 250Case-insensitive substring filter on the name field.
Sort order. Prefix with - for descending. Defaults to -created_at.
name, -name, created_at, -created_at A paginated list of voice designs.
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
});
// Automatically fetches more pages as needed.
for await (const voiceDesignListResponse of client.voiceDesigns.list()) {
console.log(voiceDesignListResponse.id);
}{
"data": [
{
"record_type": "voice_design",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"provider": "telnyx",
"provider_supported_models": [
"<string>"
]
}
],
"meta": {
"page_number": 1,
"page_size": 20,
"total_results": 42,
"total_pages": 3
}
}