Retrieve topic
One topic with what holds for a contact who never chose.
opensend topics get <id>Flags
<id>stringRequiredThe id of the item. Up to 64 characters.
Returns
The command prints the answer: as JSON when its output goes to a file or another program, and as a table or a list of fields in a terminal. When the API refuses, the error goes to the error stream and the command ends with a code that names the failure. Output and scripts lists the codes.
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.