Play a voice preview (v1)
curl --request GET \
--url https://api.pineyard.ai/v1/voices/{id}/preview \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pineyard.ai/v1/voices/{id}/preview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/v1/voices/{id}/preview"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)"<string>"Agents
Play a voice preview (v1)
Streams a short MP3 sample of a voice your workspace may use. URL-encode the id.
GET
/
v1
/
voices
/
{id}
/
preview
Play a voice preview (v1)
curl --request GET \
--url https://api.pineyard.ai/v1/voices/{id}/preview \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pineyard.ai/v1/voices/{id}/preview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/v1/voices/{id}/preview"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)"<string>"Required scope:
agents.view
Scopes apply to scoped API keys. Keys issued without scopes can call every
/v1 endpoint.
