Saltar al contenido principal
GET
/
v1
/
voice
/
{id}
Get Voice
import requests

url = "https://api.diga.io/v1/voice/{id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "description": "<string>",
  "preview_url": "<string>"
}

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de ruta

id
string<uuid>
requerido

Respuesta

Successful Response

id
string<uuid>
requerido

The unique identifier for the voice

name
string
requerido

The name of the voice

description
string | null

The description given to the voice

preview_url
string | null

A URL to a preview audio file for the voice