Skip to main content

List voices

Retrieves all available voices from the voice library.
string
required
voices
string
required
list
object
Any filter or pagination parameters supported by the voice library are forwarded as-is.

Response

Returns voice library data forwarded directly from the upstream voice service.

List shared voices

Retrieves voices from the shared voice library.
string
required
voices
string
required
list-shared
object
Any filter or pagination parameters supported by the voice library are forwarded as-is.

Response

Returns shared voice library data forwarded directly from the upstream voice service.

Search voices

Searches the voice library by one or more search terms.
string
required
voices
string
required
search
object
required

Response

Returns matching voice data forwarded directly from the upstream voice service.

List favorite voices

Retrieves all voices that the authenticated user has added to their favorites.
string
required
voices
string
required
favorites

Response

VoiceFavorite[]
Array of favorited voice records.
number
Total number of favorited voices.

Add favorite voice

Adds a voice to the authenticated user’s favorites. If the voice is already favorited, returns the existing record without creating a duplicate.
string
required
voices
string
required
add-favorite
string
required
The voice ID to add to favorites.
object

Response (status 201)

VoiceFavorite
The newly created favorite record. See the VoiceFavorite object for field details.
If the voice is already favorited, the response returns:
boolean
true when the voice was already in favorites.
string
The voice ID that was already favorited.

Remove favorite voice

Removes a voice from the authenticated user’s favorites.
string
required
voices
string
required
remove-favorite
string
required
The voice ID to remove from favorites.

Response

boolean
true if the voice was successfully removed from favorites.
string
The voice ID that was removed.

Track voice usage

Records that a voice was used. This is a fire-and-forget operation; errors are logged server-side but do not cause the request to fail.
string
required
voices
string
required
track-usage
string
required
The voice ID to track usage for.
object
Authentication is optional. Anonymous usage is tracked when no token is provided.
Track-usage is a fire-and-forget operation. The endpoint always returns { success: true } even if the underlying database write fails. Errors are logged server-side but are never surfaced to the caller, so it is safe to call without awaiting or error-handling.

Response

boolean
Always returns true, regardless of whether the tracking write succeeded internally.