Skip to main content
GET

Generate Voice Template Demo

Generate a demo audio file for a specific voice template. This endpoint creates a sample audio file that demonstrates how the voice template sounds, allowing you to test and evaluate voice templates before using them in your agents.

Endpoint

Path parameters

string
required
The unique identifier of the voice template. You can find this in the voice templates list.

Request headers

string
required
Bearer token for authentication. Format: Bearer talq_your_environment_token_here

Example requests

Response

Success Response (200 OK)

Response fields

string
required
A signed URL to the generated demo audio file in MP3 format. This URL is temporary and will expire.

Error responses

404 Not Found

401 Unauthorized

500 Server Error

Error codes

Important notes

Temporary URLs. The demo audio URL is temporary and will expire after a certain time period.
Demo content. The demo audio contains a sample text that showcases the voice template’s capabilities.
Generation time. Demo audio generation may take a few seconds to complete.
  • List Voice Templates: GET /api/v1/voice-templates
  • List Phone Numbers: GET /api/v1/phone-numbers