Topics
Create a topic
A topic contacts can opt in to or out of. Its `default_subscription` is the state of every contact that has not chosen, and never changes.
POST
A topic contacts can opt in to or out of. Its default_subscription is the state of every contact that has not chosen, and never changes.
bearerheader
AuthorizationBearer <token>application/json- body
default_subscription*stringThe state of a contact that has not chosen: opt_in or opt_out. It never changes.
description?|At most 200 characters.
doi_from?|An exx extension: the confirmation's sender, an address at a verified domain of the
project; required with doi_required.
doi_required?|An exx extension: an opt-in waits for the contact's confirmation (double opt-in).
name*stringAt most 50 characters.
visibility?|public (shown on the preference page) or private (the default).
Success
application/json- response
The answer to a create or an update.
id*stringFormat
uuidobject*stringcurl -X POST 'https://api.exx.sh/topics' \ -H 'Content-Type: application/json' \ -d '{ "default_subscription": "string", "name": "string"}'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "object": "string"}