List voices
curl --request GET \
--url https://api.pineyard.ai/voices \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pineyard.ai/voices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/voices"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "<string>",
"name": "<string>",
"language": "<string>",
"gender": "<string>",
"description": "<string>",
"tier": "<string>",
"previewUrl": "<string>"
}
]Voices
List voices
Voices available to your workspace. Use a voice’s id as voice when creating or updating an agent.
GET
/
voices
List voices
curl --request GET \
--url https://api.pineyard.ai/voices \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pineyard.ai/voices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/voices"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "<string>",
"name": "<string>",
"language": "<string>",
"gender": "<string>",
"description": "<string>",
"tier": "<string>",
"previewUrl": "<string>"
}
]
