Skip to main content

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​


    userId stringrequired

    The unique identifier of the user

Header Parameters​


    x-hiya-product-version string

    Product version. The standard "major.minor.patch" format is highly encouraged without any leading characters; "2.1.3" or "3.0.0" for example.


    x-hiya-account-user-id stringrequired

    The identifier of a logged-in user. Same identifier that is used for /users/{user_id}

Responses​

A list of available assistant voices for the user's country

Response Body

application/json

    voicesobject[]required

    List of available assistant voices

  • Array [


  • idstringrequired

    Unique identifier for the assistant voice


    namestringrequired

    Display name of the assistant voice


    descriptionstringrequired

    Description of the assistant voice


    languagestring

    Language or locale of the assistant voice (e.g., en-US)


    isDefaultboolean

    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.


    urlstringrequired

    Expiring S3 URL to the audio sample.

    Format: string<uri>

    expiresAtstringrequired

    ISO 8601 timestamp when the URL expires.

    Format: 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"
}
}
]
}