AI
ElevenLabs
target_app: "elevenlabs" · endpoint /v1/messaging/execute · Bring your own credentials
Setup
Copy your API key from elevenlabs.io/app/settings/api-keys.
Credentials needed on your Connections page
Actions
text_to_speech
Convert text to spoken audio using a specific voice.
Request body:
{
"user_id": "...",
"action": "text_to_speech",
"payload": { "voiceId": "21m00Tcm4TlvDq8ikWAM", "text": "Hello world" },
"target_app": "elevenlabs"
}provider_response.result shape:
{ "audio_base64": "...", "content_type": "audio/mpeg" }list_voices
List every voice available on your account.
Request body:
{
"user_id": "...",
"action": "list_voices",
"payload": {},
"target_app": "elevenlabs"
}provider_response.result shape:
{ "voices": [{"voice_id":"...","name":"..."}] }Anticipated errors & fixes
401 "invalid_api_key"
Cause: Key is wrong or revoked.
Fix: Copy a fresh key from your ElevenLabs account settings.
400 "voice not found"
Cause: voiceId is wrong or belongs to a different account.
Fix: Call list_voices first to get valid IDs for your account.
429 "You have reached your character limit"
Cause: You've hit your ElevenLabs plan's monthly character quota — separate from eConnect's limits.
Fix: Wait for your ElevenLabs billing cycle reset, or upgrade your ElevenLabs plan.
401 "Unauthorized: Invalid API key."
Cause: Your eConnect Authorization header is missing, malformed, or the key was regenerated/revoked.
Fix: Copy your api_key fresh from the eConnect dashboard and confirm the header reads exactly "Authorization: Bearer <key>".
429 "Too many requests"
Cause: You've exceeded your plan's per-minute rate limit.
Fix: Wait a minute and retry, or upgrade your plan for a higher per-minute limit.
429 "Monthly API limit exceeded"
Cause: You've used your plan's full monthly request allowance.
Fix: Wait for your next billing cycle reset, or upgrade to a plan with a higher monthly limit.