Skip to main content
PUT
Save the organization's ElevenLabs API key

Authorizations

Authorization
string
header
required

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

Body

application/json
apiKey
string
required

An ElevenLabs API key with Text to Speech access. Never returned.

Required string length: 1 - 256

Response

The key was saved. Returns the new status.

enabled
boolean
required

Whether this organization can save a key and import voices with useOrganizationKey.

saved
boolean
required

Whether a key is saved.

hint
string | null
required

The saved key's last four characters.

voiceCount
integer
required

Voices that speak with the key.

lastValidatedAt
string<date-time> | null
required

When Anam last checked the key with ElevenLabs.

lastUsedAt
string<date-time> | null
required

When a session last started with the key, recorded at most hourly.