# Update topic

`topics_update`

Changes the name, the description or who sees a topic. What holds for a contact who never chose cannot be changed.

Needs the scope: `audiences:write`

## Arguments

- `id` (string, required): The id of the item. Up to 64 characters.
- `name` (string): A new name. Up to 120 characters.
- `description` (string): A new description. Up to 300 characters.
- `visibility` (string): `public` or `private`. One of: `public`, `private`.

## 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` ("topic"): Always `topic`.
- `id` (string): The id of the topic.
- `name` (string): The name of the topic, as readers see it.
- `description` (string): What the topic is about, as readers see it. Empty when not set.
- `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`.
- `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`.
- `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`.
- `createdAt` (string): When the topic was made.

## Example

MCP:

```json
{
  "name": "topics_update",
  "arguments": {
    "id": "top_01",
    "name": "Changelog"
  }
}
```

Answer, under structuredContent:

```json
{
  "object": "topic",
  "id": "top_01",
  "name": "Changelog",
  "description": "What changed, as it ships.",
  "defaultSubscription": "opt_in",
  "visibility": "public",
  "subscription": null,
  "createdAt": "2026-11-27T09:30:00.000Z"
}
```
