Skip to content

Eleven Labs Integration Refuses Valid API Key ("Invalid API Key") #147687

Description

@jdkang

The problem

The official Eleven Labs HA integration won't accept my API keys. Tried doing some google/forum searching, but didn't find anything recent (past few months).

Problem persists through Core and even OS reboots.

Image

I have generated multiple keys and tested them in python, e.g.

#! /bin/python3
from elevenlabs import save, play
from elevenlabs.client import ElevenLabs

api_key = "sk_xxxxxxxxxxxxxxxxxxxxxxxxxxxx"

client = ElevenLabs(api_key=api_key)
audio = client.text_to_speech.convert(
    text="your api key works",
    voice_id="JBFqnCBsd6RMkjVDRZzb",
    model_id="eleven_multilingual_v2",
    output_format="mp3_44100_128",
)

save(audio, "output.mp3")

This appears to be the URL it's posting the key to:
http://homeassistant.local:8123/api/config/config_entries/flow/01JYSBKXVR7JCGJ6GK0511R0AV

with a PAYLOAD like this:

{"api_key":"sk_xxxxxxxxxx"}

which does return a 200 OK (i.e. ostensibly not a client/server issue)

HAOS info

Installation method Home Assistant OS
Core 2025.6.3
Supervisor 2025.06.2
Operating System 15.2
Frontend 20250531.4

What version of Home Assistant Core has the issue?

core-2025.6.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ElevenLabs

Link to integration documentation on our website

https://www.home-assistant.io/integrations/elevenlabs/

Diagnostics information

No response

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions