Saltar al contenido principal
GET
/
v1
/
voice
/
{voice_id}
Get Voice
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.

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parámetros de ruta

voice_id
string<uuid>
requerido

Respuesta

Successful Response

id
string<uuid>
requerido

The unique identifier for the voice in Diga

name
string
requerido

The name of the voice

provider
enum<string>
requerido

The voice provider

Opciones disponibles:
elevenlabs
provider_voice_id
string
requerido

The voice ID in the provider's system

is_favourite
boolean
requerido

Whether the voice is a favourite for the current company

description
string | null

The description given to the voice

preview_url
string | null

A URL to a preview audio file for the voice

gender
string | null

The gender of the voice

language
string | null

The language of the voice

accent
string | null

The accent of the voice

tags
Tags · object

Voice tags (e.g. age, descriptive, use_case)