List Available Assistant Voices
GET/v1/users/{userId}/assistant-voices
Retrieves the list of AI assistant voices available for the user's region.
Voice Selection
Available voices are determined by:
- Country Code: Voices localized for the user's phone number region
- Language Support: Voices supporting the user's preferred language
- Carrier Configuration: Voices enabled by the carrier's service agreement
Response Data
Each voice entry includes:
- Voice ID: Unique identifier for setting the user's preferred voice
- Display Name: Human-readable voice name (e.g., "Ember", "Lumen")
- Sample URL: Audio sample for preview (if available)
Integration
Use the returned voice IDs when updating user preferences via PUT /preferences with the assistantVoiceId field.
Path Parameters
The unique identifier of the user
Header Parameters
Product version. The standard "major.minor.patch" format is highly encouraged without any leading characters; "2.1.3" or "3.0.0" for example.
The identifier of a logged-in user. Same identifier that is used for /users/{user_id}
Responses
- 200
- 400
- 500
A list of available assistant voices for the user's country
Response Body
Array [
]
voicesobject[]required
List of available assistant voices
Unique identifier for the assistant voice
Display name of the assistant voice
Description of the assistant voice
Language or locale of the assistant voice (e.g., en-US)
Whether this voice is the default for the user's country
audioSampleobject
An expiring S3 URL to an audio sample of the assistant voice, valid until expiresAt.
Expiring S3 URL to the audio sample.
string<uri>ISO 8601 timestamp when the URL expires.
string<date-time>Example from Schema
{
"voices": [
{
"id": "string",
"name": "string",
"description": "string",
"language": "string",
"isDefault": true,
"audioSample": {
"url": "string",
"expiresAt": "2024-07-29T15:51:28.071Z"
}
}
]
}
Bad Request - User not found or invalid country code
Response Body
A unique error ID for tracking and support purposes. Include this ID when contacting support.
err_7f3b9c2a-1234-5678-9abc-def012345678HTTP status code mirrored in the response body for convenience.
400A developer-friendly error message with technical details for debugging.
Invalid phone number format. Expected E.164 format (e.g., +14155551234)A user-friendly error message safe to display in the UI. Localized based on the Accept-Language header when available.
The phone number you entered is not valid. Please check and try again.Example from Schema
{
"errorId": "err_7f3b9c2a-1234-5678-9abc-def012345678",
"status": 400,
"errorDescription": "Invalid phone number format. Expected E.164 format (e.g., +14155551234)",
"displayError": "The phone number you entered is not valid. Please check and try again."
}
Internal Server Error
Response Body
A unique error ID for tracking and support purposes. Include this ID when contacting support.
err_7f3b9c2a-1234-5678-9abc-def012345678HTTP status code mirrored in the response body for convenience.
400A developer-friendly error message with technical details for debugging.
Invalid phone number format. Expected E.164 format (e.g., +14155551234)A user-friendly error message safe to display in the UI. Localized based on the Accept-Language header when available.
The phone number you entered is not valid. Please check and try again.Example from Schema
{
"errorId": "err_7f3b9c2a-1234-5678-9abc-def012345678",
"status": 400,
"errorDescription": "Invalid phone number format. Expected E.164 format (e.g., +14155551234)",
"displayError": "The phone number you entered is not valid. Please check and try again."
}