curl --request GET \
--url https://api.trata.ai/v1/voice-models \
--header 'Authorization: Bearer <token>'
[
{
"voice": {
"gender": "Male",
"languageAccent": {
"language": "English",
"accent": "American"
},
"modelId": "<string>"
},
"previewUrl": "<string>",
"name": "<string>",
"voiceDescription": "<string>"
}
]
Get list of voices available for calls
curl --request GET \
--url https://api.trata.ai/v1/voice-models \
--header 'Authorization: Bearer <token>'
[
{
"voice": {
"gender": "Male",
"languageAccent": {
"language": "English",
"accent": "American"
},
"modelId": "<string>"
},
"previewUrl": "<string>",
"name": "<string>",
"voiceDescription": "<string>"
}
]
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful Response
The response is of type VoiceModel · object[]
.