PUT
/
v1
/
ai
/
voice
/
{id}
JavaScript
import Lmnt from 'lmnt-node';

const client = new Lmnt({
  apiKey: 'My API Key',
});

const voice = await client.voices.update('123');

console.log(voice.voice);
{
  "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.