---
title: "Get an influencer"
description: "One influencer, with the voice they use."
url: "https://docs.layo.co/reference/influencers/get"
---

> 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.

# Get an influencer

`GET https://layo.co/v1/influencers/{influencer}`

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

One influencer, with the voice they use.

## Request

### curl

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

### TypeScript

```ts
const response = await fetch("https://layo.co/v1/influencers/INFLUENCER_ID", {
  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/influencers/INFLUENCER_ID",
    headers={"Authorization": f"Bearer {os.environ['LAYO_API_KEY']}"},
)
data = response.json()
```

## Path parameters

- `influencer` (`string<uuid>`, required): The influencer's id.

## Response

- `id` (`string<uuid>`, required)
- `name` (`string`, required)
- `description` (`string`, required)
- `createdAt` (`string | null`, required)
- `updatedAt` (`string`, required)
- `unfinishedSetup` (`boolean`, required)
- `pageUrl` (`string<uri>`, required): Layo's page for it, where the person can see it once signed in. It keeps working: give people this link, never a file's `url`.
- `avatar` (`Media | null`, required): Their look, as an image.
  - `id` (`string<uuid>`, required)
  - `mimeType` (`enum<string>`, required, one of `image/jpeg`, `image/png`, `image/webp`, `video/mp4`, `audio/wav`)
  - `byteSize` (`integer`, required, `x > 0`)
  - `width` (`integer`, `x > 0`)
  - `height` (`integer`, `x > 0`)
  - `durationMs` (`integer | null`, required, `x > 0`): A video's or audio file's length in milliseconds. Null for an image, and for a video made before Layo kept video lengths.
  - `url` (`string<uri>`, required): A signed link for showing or playing the file. It stops working after `expiresIn` seconds; ask again for a fresh one. To give a person a link, give them `pageUrl`.
  - `expiresIn` (`integer`, `x > 0`): Seconds the link lasts.
  - `downloadUrl` (`string<uri> | null`, required): A link that saves the file as layo-<id>.<ext> instead of showing it. It lasts five minutes: ask again for a fresh one. Null where a download isn't offered.
  - `previewUrl` (`string<uri> | null`, required): An image's small WebP copy (720 px on its short side), for showing it: much quicker than `url`. Null for a video, or until the copy is made. It lasts at least half an hour.
- `voice` (`Voice | null`, required): The voice in use, if they have one.
  - `id` (`string<uuid>`, required)
  - `presetId` (`string | null`, required)
  - `durationMs` (`integer | null`, required, `x > 0`)
  - `state` (`enum<string>`, required, one of `making`, `ready`, `failed`)
  - `source` (`enum<string>`, required, one of `cloned`, `preset`, `designed`)

## 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.
- `not_found` (404): Nothing with that id 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
{
  "id": "c41b8e2f-9d07-4a63-8e15-0b7f2c9d6a54",
  "pageUrl": "https://layo.co/influencers/c41b8e2f-9d07-4a63-8e15-0b7f2c9d6a54",
  "name": "Mila",
  "description": "A trail runner in her late twenties with short copper hair.",
  "createdAt": "2026-11-02T09:14:00.000Z",
  "updatedAt": "2026-11-02T09:20:31.000Z",
  "unfinishedSetup": false,
  "avatar": {
    "id": "3f1c2a9e-8b4d-4e21-9a7c-5d6e7f809a1b",
    "mimeType": "image/png",
    "byteSize": 4718592,
    "durationMs": null,
    "width": 1536,
    "height": 2752,
    "url": "https://storage.example.com/look.png?X-Amz-Expires=3600&X-Amz-Signature=5c0e9a",
    "expiresIn": 3600,
    "previewUrl": "https://storage.example.com/look-thumb.webp?X-Amz-Expires=3600&X-Amz-Signature=5c0e9a",
    "downloadUrl": "https://storage.example.com/layo-a1b2c3d4.png?X-Amz-Expires=3600&X-Amz-Signature=5c0e9a"
  },
  "voice": {
    "id": "5b8d1e3f-6a2c-4c97-8f40-d3e9a1b7c625",
    "presetId": "warm-alto",
    "durationMs": null,
    "state": "ready",
    "source": "preset"
  }
}
```

### 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."
  }
}
```

### 404 `not_found`

```json
{
  "error": {
    "code": "not_found",
    "message": "Nothing with that id 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
