Skip to main content

Get TTS Voices

This request returns a list of TTS voices.

get /tts/voices

Sample

A sample GET request to get a list of TTS voices matching the criteria in the request URL:

curl -X GET \
'https://api.carrierx.com/core/v2/tts/voices' \
-H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'

Response

200 status code with a list of TTS Voice objects:

{
"count": 2,
"has_more": false,
"items": [
{
"languages": {
"en-US": 0
},
"voice_sid": "man"
},
{
"languages": {
"en-US": 0
},
"voice_sid": "woman"
}
],
"limit": 10,
"offset": 0,
"pagination": {},
"total": 2
}

This request is enabled for Pagination, Result Filtering, and Field Filtering.

Required Scopes

To get information about TTS Voice objects, the partner must have one of the following scopes enabled:

  • tts.manage
  • tts.read