import requests
url = "https://api.diga.io/v1/voice/{voice_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"provider": "elevenlabs",
"provider_voice_id": "<string>",
"is_favourite": true,
"description": "<string>",
"preview_url": "<string>",
"gender": "<string>",
"language": "<string>",
"accent": "<string>",
"tags": {}
}Get a voice by its ID
import requests
url = "https://api.diga.io/v1/voice/{voice_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"provider": "elevenlabs",
"provider_voice_id": "<string>",
"is_favourite": true,
"description": "<string>",
"preview_url": "<string>",
"gender": "<string>",
"language": "<string>",
"accent": "<string>",
"tags": {}
}Documentation Index
Fetch the complete documentation index at: https://docs.diga.io/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
The unique identifier for the voice in Diga
The name of the voice
The voice provider
elevenlabs The voice ID in the provider's system
Whether the voice is a favourite for the current company
The description given to the voice
A URL to a preview audio file for the voice
The gender of the voice
The language of the voice
The accent of the voice
Voice tags (e.g. age, descriptive, use_case)