GET
/
v1
/
account
JavaScript
import Lmnt from 'lmnt-node';

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

const account = await client.accounts.retrieve();

console.log(account.plan);
{
  "plan": {
    "character_limit": 123,
    "commercial_use_allowed": true,
    "instant_voice_limit": 123,
    "professional_voice_limit": 123,
    "type": "<string>"
  },
  "usage": {
    "characters": 123,
    "instant_voices": 123,
    "professional_voices": 123
  }
}

Authorizations

X-API-Key
string
header
required

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

Response

200
application/json

OK

The response is of type object.