Get TTS Voice by SID
This request returns data for a TTS voice, targeted by secure ID.
get | /tts/voices/{voice_sid} |
Sample
A sample GET request to get a TTS voice, targeted by secure ID:
curl -X GET \
'https://api.carrierx.com/core/v2/tts/voices/Polly.Joanna' \
-H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'
Response
200
status code with a serialized copy of the TTS Voice object:
{
"languages": {
"en-US": 0
},
"voice_sid": "Polly.Joanna"
}
This request is enabled for Field Filtering.
Required Scopes
To get information about a TTS Voice object, the partner must have one of the following scopes enabled:
tts.manage
tts.read
Path Arguments
Parameter | Data Type | Description |
---|---|---|
voice_sid required | string | The TTS voice secure ID. |