# List audiences

`audiences_list`

The audiences of the workspace with how many contacts each holds.

Needs the scope: `audiences:read`

## Arguments

- `q` (string): Text to search for. Only items that contain it are returned. Up to 40 characters.
- `limit` (integer): How many items to return, from 1 to 100. Without it you get 25.
- `offset` (integer): How many items to skip. Use it with `limit` to read the next page. Default: `0`.
- `after` (string): The id of the last item you have. The answer starts with the item that follows it, which reads a long list without skipping or repeating when it changes meanwhile. Up to 64 characters.
- `before` (string): The id of the first item you have. The answer ends with the item just before it. Give this or `after`, not both. Up to 64 characters.
- `range` (string): The period to look at: `today`, `week`, `month`, `year`, `all` or `custom`. Without it there is no limit in time. One of: `today`, `week`, `month`, `year`, `all`, `custom`.
- `from` (string): The first day of a `custom` period, as a date such as `2026-11-01`.
- `to` (string): The last day of a `custom` period, as a date such as `2026-11-30`.
- `contact` (string): Only the audiences this contact is in, by the id of the contact or their address. Up to 120 characters.

## Returns

The answer comes back under `structuredContent`, with the same JSON as text in `content`. A call the API refuses comes back with `isError` set, and the code and the message under `structuredContent.error`. [MCP](https://opensend.sh/docs/mcp) shows how to connect a client.

- `object` ("list"): Always `list`.
- `data` (object[]): The items on this page.
- `data[].object` ("audience"): Always `audience`.
- `data[].id` (string): The id of the audience.
- `data[].name` (string): The name of the audience.
- `data[].contacts` (integer): How many contacts are in it.
- `data[].subscribed` (integer): How many of them are subscribed.
- `data[].unsubscribed` (integer): How many of them have unsubscribed.
- `data[].createdAt` (string): When the audience was made.
- `total` (integer): How many items match in all, on every page together.
- `hasMore` (boolean): Whether more items follow this page.

## Example

MCP:

```json
{
  "name": "audiences_list",
  "arguments": {}
}
```

Answer, under structuredContent:

```json
{
  "object": "list",
  "data": [
    {
      "object": "audience",
      "id": "aud_03",
      "name": "Beta testers",
      "contacts": 248,
      "subscribed": 244,
      "unsubscribed": 4,
      "createdAt": "2026-11-22T09:30:00.000Z"
    },
    {
      "object": "audience",
      "id": "aud_02",
      "name": "Product updates",
      "contacts": 3912,
      "subscribed": 3845,
      "unsubscribed": 67,
      "createdAt": "2026-11-04T09:30:00.000Z"
    },
    {
      "object": "audience",
      "id": "aud_01",
      "name": "Newsletter",
      "contacts": 12482,
      "subscribed": 12105,
      "unsubscribed": 377,
      "createdAt": "2026-08-18T09:30:00.000Z"
    }
  ],
  "total": 3,
  "hasMore": false
}
```
