---
title: "List voice presets"
description: "Layo's preset voices, the same for everyone, each with a preview clip."
url: "https://docs.layo.co/reference/voices/presets"
---

> For agents: every page is listed at https://docs.layo.co/llms.txt. Search the docs over MCP at https://docs.layo.co/mcp, no sign-in needed.

# List voice presets

`GET https://layo.co/v1/voice-presets`

Needs the `read` scope. No charge. MCP tool: `list_voice_presets`.

Layo's preset voices, the same for everyone, each with a preview clip.

## Request

### curl

```bash
curl https://layo.co/v1/voice-presets \
  -H "Authorization: Bearer $LAYO_API_KEY"
```

### TypeScript

```ts
const response = await fetch("https://layo.co/v1/voice-presets", {
  headers: { Authorization: `Bearer ${process.env.LAYO_API_KEY}` },
});
const data = await response.json();
```

### Python

```python
import os
import requests

response = requests.get(
    "https://layo.co/v1/voice-presets",
    headers={"Authorization": f"Bearer {os.environ['LAYO_API_KEY']}"},
)
data = response.json()
```

## Query parameters

- `influencer` (`string<uuid>`): The influencer the voice is for, if any: the answer then links to its Voice page in Layo.

## Response

- `items` (`VoicePreset[]`, required)
  - `id` (`string`, required, `1 <= length`)
  - `name` (`string`, required)
  - `description` (`string`, required)
  - `presentation` (`enum<string>`, required, one of `feminine`, `masculine`)
  - `tags` (`string[]`, required)
  - `previewUrl` (`string<uri>`, required)
  - `durationMs` (`integer`, required, `x > 0`)
- `pageUrl` (`string<uri>`): With `influencer`: that influencer's Voice page in Layo, opened recording, where the person can record their own voice (or design one). Give the person this link for those; they can't be done in a chat.

## Errors

- `invalid_input` (400): Something in this request wasn't valid. Check it and try again.
- `invalid_api_key` (401): This key isn't valid. Make a new one at layo.co/api-keys.
- `insufficient_scope` (403): This key can't do that. Use a key with the scope this endpoint needs.
- `forbidden` (403): You don't have access to that in this workspace.
- `rate_limited` (429): Too many requests. Wait a moment and try again.
- `unavailable` (503): Layo had a problem. Try again shortly.

## Examples

### 200

```json
{
  "items": [
    {
      "id": "warm-alto",
      "name": "Warm alto",
      "description": "Low, calm and friendly.",
      "presentation": "feminine",
      "tags": [
        "calm",
        "warm"
      ],
      "previewUrl": "https://storage.example.com/presets/warm-alto.mp3",
      "durationMs": 6200
    }
  ],
  "pageUrl": "https://layo.co/influencers/c41b8e2f-9d07-4a63-8e15-0b7f2c9d6a54/voice?record=1"
}
```

### 400 `invalid_input`

```json
{
  "error": {
    "code": "invalid_input",
    "message": "Something in this request wasn't valid. Check it and try again."
  }
}
```

### 401 `invalid_api_key`

```json
{
  "error": {
    "code": "invalid_api_key",
    "message": "This key isn't valid. Make a new one at layo.co/api-keys."
  }
}
```

### 403 `insufficient_scope`

```json
{
  "error": {
    "code": "insufficient_scope",
    "message": "This key can't do that. Use a key with the scope this endpoint needs."
  }
}
```

### 403 `forbidden`

```json
{
  "error": {
    "code": "forbidden",
    "message": "You don't have access to that in this workspace."
  }
}
```

### 429 `rate_limited`

```json
{
  "error": {
    "code": "rate_limited",
    "message": "Too many requests. Wait a moment and try again."
  }
}
```

### 503 `unavailable`

```json
{
  "error": {
    "code": "unavailable",
    "message": "Layo had a problem. Try again shortly."
  }
}
```

The whole API as OpenAPI: https://docs.layo.co/openapi.json
