PUT
/
v1
/
ai
/
voice
/
{id}
Update voice
curl --request PUT \
  --url https://api.lmnt.com/v1/ai/voice/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "description": "<string>",
  "gender": "<string>",
  "name": "<string>",
  "starred": true
}'
{
  "voice": {
    "description": "<string>",
    "gender": "<string>",
    "id": "<string>",
    "name": "<string>",
    "owner": "system",
    "starred": true,
    "state": "<string>",
    "type": "instant",
    "preview_url": "<string>"
  }
}

Authorizations

X-API-Key
string
header
required

Your API key; get it from your LMNT account page.

Path Parameters

id
string
required

The id of the voice, which can be retrieved by a call to List voices.

Body

application/json

Response

200
application/json

OK

The response is of type object.