# List topics

`topics_list`

The topics of the workspace, newest first. Name a contact to see what that contact gets.

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.
- `contact` (string): The id of a contact, or their address. Each topic then says in `subscription` whether that contact gets it. 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` ("topic"): Always `topic`.
- `data[].id` (string): The id of the topic.
- `data[].name` (string): The name of the topic, as readers see it.
- `data[].description` (string): What the topic is about, as readers see it. Empty when not set.
- `data[].defaultSubscription` (string): What holds for a contact who never chose: `opt_in`, they get it, or `opt_out`, they do not. One of: `opt_in`, `opt_out`.
- `data[].visibility` (string): `public` when every reader sees the topic on the page where they manage their mail, `private` when only those who chose it do. One of: `public`, `private`.
- `data[].subscription` (string | null): What the contact you listed the topics for gets: `opt_in` or `opt_out`. `null` when you named no contact. One of: `opt_in`, `opt_out`.
- `data[].createdAt` (string): When the topic 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": "topics_list",
  "arguments": {}
}
```

Answer, under structuredContent:

```json
{
  "object": "list",
  "data": [
    {
      "object": "topic",
      "id": "top_01",
      "name": "Release notes",
      "description": "What changed, as it ships.",
      "defaultSubscription": "opt_in",
      "visibility": "public",
      "subscription": null,
      "createdAt": "2026-11-27T09:30:00.000Z"
    }
  ],
  "total": 1,
  "hasMore": false
}
```
