POST
/
v1
/
voices
/
{id}
/
publish
curl --request POST \
  --url https://api.bland.ai/v1/voices/{id}/publish \
  --header 'authorization: <authorization>'
{
  "status": "success",
  "message": "Voice published successfully",
  "voice": {
    "id": "fad27b44-667b-4ad7-a9e3-aba1ca69446b",
    "name": "Public - My Example",
    "tags": ["Exciting", "happy"],
    "ratings": 5,
    "description": "Exciting and upbeat voice."
  }
}

Headers

authorization
string
required

Your API key for authentication.

Path Parameters

voiceId
string
required

The ID of the voice to generate the audio sample for, or it’s name (like “maya”).

Response

status
string

The status of the request

message
string

Information regarding the status of your request.

voice
object

Object containing data of the voice.

voice.id
string

Id of the voice.

voice.name
string

Name of the voice

voice.tags
string

Tags for the voice.