---
title: "List influencers"
description: "The influencers in the key's workspace, newest first."
url: "https://docs.layo.co/reference/influencers/list"
---

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

`GET https://layo.co/v1/influencers`

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

The influencers in the key's workspace, newest first.

## Request

### curl

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

### TypeScript

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

## Query parameters

- `cursor` (`string`): `nextCursor` from the last page. Leave it out for the first.
- `limit` (`integer`, default `25`, `1 <= x <= 100`): How many to return.

## Response

- `items` (`Influencer[]`, required)
  - `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.
- `nextCursor` (`string | null`, required): Pass it as `cursor` for the next page. Null on the last one.

## 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": "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"
      }
    }
  ],
  "nextCursor": "eyJpZCI6IjdkMmU0YjEwIn0"
}
```

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