# ElevenLabs Integration via LowCodeAPI

**Last Updated**: February 11, 2026

## Overview
Text-to-speech and voice cloning platform with natural-sounding AI voices

**Categories:**
- {'id': 'text-to-speech', 'name': 'Text to Speech AI'}

## Base Endpoint
https://api.lowcodeapi.com/elevenlabs

**Important**: Always include the provider name in the URL path after `api.lowcodeapi.com/`

## Authentication
**Type:** TOKEN

**Official Documentation:** https://elevenlabs.io/docs/api-reference/introduction

## URL Format (Important)

LowCodeAPI supports two URL formats. **Always try the New Format first**, then fall back to Old Format if needed.

### New Format (Priority)
- Path parameters stay in the URL path
- Do NOT include path parameters as query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/{id}?api_token=XXX`

### Old Format (Fallback)
- Path parameters become query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/id?id={id}&api_token=XXX`

### Decision Flow for AI Agents
1. Always use **New Format** first - keep path parameters in the URL path
2. If you get a 404 or error, try **Old Format** with sanitized path
3. Log which format worked for future requests to this provider

## API Categories

## Common Endpoints

### Creates Audionative Enabled Project.

**Method:** POST
**LowCodeAPI Path:** /v1/audio-native

**New Format URL:**
https://api.lowcodeapi.com/elevenlabs/v1/audio-native?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/elevenlabs/v1/audio-native?api_token=YOUR_API_TOKEN

**Request Body:**

| Field | Type | Description |
|-------|------|-------------|
| author | string |  |
| auto_convert | boolean |  |
| background_color | string |  |
| file | string |  |
| image | string |  |
| model_id | string |  |
| name | string |  |
| sessionization | number |  |
| small | boolean |  |
| text_color | string |  |
| title | string |  |
| voice_id | string |  |

**Example Request (New Format):**

```bash
curl -X POST 'https://api.lowcodeapi.com/elevenlabs/v1/audio-native?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://elevenlabs.io/docs/api-reference/creates-audionative-enabled-project

### Dub A Video Or An Audio File

**Method:** POST
**LowCodeAPI Path:** /v1/dubbing

**New Format URL:**
https://api.lowcodeapi.com/elevenlabs/v1/dubbing?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/elevenlabs/v1/dubbing?api_token=YOUR_API_TOKEN

**Request Body:**

| Field | Type | Description |
|-------|------|-------------|
| background_audio_file | boolean |  |
| csv_file | string |  |
| dubbing_studio | boolean |  |
| end_time | number |  |
| file | string |  |
| foreground_audio_file | string |  |
| highest_resolution | boolean |  |
| mode | string |  |
| name | string |  |
| num_speakers | number |  |
| source_lang | number |  |
| source_url | string |  |
| start_time | number |  |
| target_lang | string |  |
| watermark | boolean |  |

**Example Request (New Format):**

```bash
curl -X POST 'https://api.lowcodeapi.com/elevenlabs/v1/dubbing?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://elevenlabs.io/docs/api-reference/create-dub

### Get Dubbing Project Metadata

**Method:** GET
**LowCodeAPI Path:** /v1/dubbing/{dubbing_id}

**New Format URL:**
https://api.lowcodeapi.com/elevenlabs/v1/dubbing/{dubbing_id}?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/elevenlabs/v1/dubbing/dubbing_id?dubbing_id={dubbing_id}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| dubbing_id | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/elevenlabs/v1/dubbing/{dubbing_id}?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://elevenlabs.io/docs/api-reference/get-dubbing-metadata

### Delete Dubbing Project

**Method:** DELETE
**LowCodeAPI Path:** /v1/dubbing/{dubbing_id}

**New Format URL:**
https://api.lowcodeapi.com/elevenlabs/v1/dubbing/{dubbing_id}?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/elevenlabs/v1/dubbing/dubbing_id?dubbing_id={dubbing_id}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| dubbing_id | string |  |

**Example Request (New Format):**

```bash
curl -X DELETE 'https://api.lowcodeapi.com/elevenlabs/v1/dubbing/{dubbing_id}?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://elevenlabs.io/docs/api-reference/delete-dub

### Get Dubbed File

**Method:** GET
**LowCodeAPI Path:** /v1/dubbing/{dubbing_id}/audio/{language_code}

**New Format URL:**
https://api.lowcodeapi.com/elevenlabs/v1/dubbing/{dubbing_id}/audio/{language_code}?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/elevenlabs/v1/dubbing/dubbing_id/audio/language_code?dubbing_id={dubbing_id}&language_code={language_code}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| dubbing_id | string |  |
| language_code | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/elevenlabs/v1/dubbing/{dubbing_id}/audio/{language_code}?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://elevenlabs.io/docs/api-reference/get-dubbed-file

### Get Generated Items

**Method:** GET
**LowCodeAPI Path:** /v1/history

**New Format URL:**
https://api.lowcodeapi.com/elevenlabs/v1/history?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/elevenlabs/v1/history?api_token=YOUR_API_TOKEN

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| page_size | number |  |
| start_after_history_item_id | string |  |
| voice_id | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/elevenlabs/v1/history?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://elevenlabs.io/docs/api-reference/get-generated-items

### Get History Item By Id

**Method:** GET
**LowCodeAPI Path:** /v1/history/{history_item_id}

**New Format URL:**
https://api.lowcodeapi.com/elevenlabs/v1/history/{history_item_id}?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/elevenlabs/v1/history/history_item_id?history_item_id={history_item_id}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| history_item_id | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/elevenlabs/v1/history/{history_item_id}?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://elevenlabs.io/docs/api-reference/get-history-item-by-id

### Delete History Item

**Method:** DELETE
**LowCodeAPI Path:** /v1/history/{history_item_id}

**New Format URL:**
https://api.lowcodeapi.com/elevenlabs/v1/history/{history_item_id}?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/elevenlabs/v1/history/history_item_id?history_item_id={history_item_id}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| history_item_id | string |  |

**Example Request (New Format):**

```bash
curl -X DELETE 'https://api.lowcodeapi.com/elevenlabs/v1/history/{history_item_id}?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://elevenlabs.io/docs/api-reference/delete-history-item

### Get Audio From History Item

**Method:** GET
**LowCodeAPI Path:** /v1/history/{history_item_id}/audio

**New Format URL:**
https://api.lowcodeapi.com/elevenlabs/v1/history/{history_item_id}/audio?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/elevenlabs/v1/history/history_item_id/audio?history_item_id={history_item_id}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| history_item_id | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/elevenlabs/v1/history/{history_item_id}/audio?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://elevenlabs.io/docs/api-reference/get-audio-from-history-item

### Get Models

**Method:** GET
**LowCodeAPI Path:** /v1/models

**New Format URL:**
https://api.lowcodeapi.com/elevenlabs/v1/models?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/elevenlabs/v1/models?api_token=YOUR_API_TOKEN

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/elevenlabs/v1/models?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://elevenlabs.io/docs/api-reference/get-models


## Usage Examples

### Example 1: Basic Chat Completion

Creating a simple text completion or chat message:

```bash
# Create a chat completion - no path parameters needed
curl -X POST "https://api.lowcodeapi.com/elevenlabs/v1/chat/completions?api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "your-model-name",
    "messages": [
      {"role": "user", "content": "Hello, how can you help me?"}
    ]
  }'

# Response includes generated content
```

### Example 2: Text Generation with Path Parameters

Generating text with specific model settings:

```bash
# Generate content using a specific model
curl -X POST "https://api.lowcodeapi.com/elevenlabs/v1/models/generate?api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Write a short poem about technology",
    "max_tokens": 100
  }'

# Or if the provider uses model in the path:
curl -X POST "https://api.lowcodeapi.com/elevenlabs/v1/models/{MODEL_ID}:generateContent?api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [{"parts": [{"text": "Write a short story"}]}]
  }'
```

### Example 3: List Available Models

```bash
# Get list of available models
curl -X GET "https://api.lowcodeapi.com/elevenlabs/v1/models?api_token=YOUR_API_TOKEN"
```

## Error Handling

LowCodeAPI returns standard HTTP status codes. Common errors:

| Status Code | Description |
|-------------|-------------|
| 200 | Success - Request completed successfully |
| 400 | Bad Request - Invalid parameters or request body |
| 401 | Unauthorized - Invalid or missing API token |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Endpoint or resource doesn't exist |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Server Error - Provider API error |

All error responses include error details:

```json
{
  "data": {
    "error": {
      "message": "Error description",
      "code": "ERROR_CODE"
    }
  }
}
```

## Complete Endpoint Reference

| Endpoint | Method | Category |
|----------|--------|----------|
| Creates Audionative Enabled Project. | POST | Audio-native |
| Dub A Video Or An Audio File | POST | Dubbing |
| Get Dubbing Project Metadata | GET | Dubbing |
| Delete Dubbing Project | DELETE | Dubbing |
| Get Dubbed File | GET | Dubbing |
| Get Generated Items | GET | History |
| Get History Item By Id | GET | History |
| Delete History Item | DELETE | History |
| Get Audio From History Item | GET | History |
| Get Models | GET | Models |
| Get Projects | GET | Projects |
| Download History Items | POST | History |
| Get Projects By Id | GET | Projects |
| Delete Project | DELETE | Projects |
| Get Project Snapshots | GET | Projects |
| Convert Project | POST | Projects |
| Add Project | POST | Projects |
| Get Chapters | GET | Projects |
| Stream Project Audio | POST | Projects |
| Get Chapters By Id | GET | Projects |
| Delete Chapters | DELETE | Projects |
| Convert Chapters | POST | Projects |
| Get Chapter Snapshorts | GET | Projects |
| Stream Chapter Audio | POST | Projects |
| Add from file | POST | Pronunciation Dictionaries |
| Update Pronunciation Dictionaries | POST | Projects |
| Get dictionaries | GET | Pronunciation Dictionaries |
| Get dictionaries by id | GET | Pronunciation Dictionaries |
| Speech To Speech | POST | Speech to Speech |
| Delete Sample | DELETE | Samples |
| Download version by id | GET | Pronunciation Dictionaries |
| Get Audio From Sample | GET | Samples |
| Sound Generation | POST | Sound Effects |
| Add rules | POST | Pronunciation Dictionaries |
| Remove Rules | POST | Pronunciation Dictionaries |
| Streaming | POST | Speech to Speech |
| Text To Speech | POST | Text To Speech |
| Text To Speech With Timestamps | POST | Text To Speech |
| Streaming | POST | Text To Speech |
| Get User Info | GET | User |
| Get User Subscription Info | GET | User |
| Text To Speech Streaming With Timestamps | POST | Text To Speech |
| Generate A Random Voice | POST | Voice Generation |
| Voice Generation Parameters | GET | Voice Generation |
| Get voices | GET | Voice Library |
| Add Sharing Voice | POST | Voice Library |
| Get Voice Settings | GET | Voices |
| Get Default Voice Settings. | GET | Voices |
| Get Voices | GET | Voices |
| Get Voice | GET | Voices |
| Delete Voice | DELETE | Voices |
| Add Voice | POST | Voices |
| Delete Existing Invitation | DELETE | Workspace |
| Edit Voice Settings | POST | Voices |
| Invite User | POST | Workspace |
| Update Member | POST | Workspace |
| Edit Voice | POST | Voices |
| Get Workspace Members | GET | Workspace |
| Text To Dialogue | POST | Text To Speech |
| Text To Voice Design | POST | Voice Generation |
| Update Pronunciation Dictionary | PATCH | Pronunciation Dictionaries |

## API Definition Endpoints

You can fetch the complete API specification for this provider:

**New Format (OpenAPI spec):**
```bash
curl 'https://backend.lowcodeapi.com/elevenlabs/openapi'
```

**Old Format (API definition):**
```bash
curl 'https://backend.lowcodeapi.com/elevenlabs/definition'
```

## Response Format

All responses are wrapped in a `data` key:

```json
{
  "data": {
    // Actual response from provider (object or array)
  }
}
```