Update topic
Changes the name, the description or who sees a topic. What holds for a contact who never chose cannot be changed.
topics_updateArguments
idstringRequiredThe id of the item. Up to 64 characters.
namestringA new name. Up to 120 characters.
descriptionstringA new description. Up to 300 characters.
visibilitystringpublicorprivate.One of
publicprivate
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 shows how to connect a client.
object"topic"Always
topic.idstringThe id of the topic.
namestringThe name of the topic, as readers see it.
descriptionstringWhat the topic is about, as readers see it. Empty when not set.
defaultSubscriptionstringWhat holds for a contact who never chose:
opt_in, they get it, oropt_out, they do not.One of
opt_inopt_outvisibilitystringpublicwhen every reader sees the topic on the page where they manage their mail,privatewhen only those who chose it do.One of
publicprivatesubscriptionstring | nullWhat the contact you listed the topics for gets:
opt_inoropt_out.nullwhen you named no contact.One of
opt_inopt_outcreatedAtstringWhen the topic was made.