Preference Topics

Get Topic in Section

Returns one subscription topic with its default status, routing options, allowed preferences, and unsubscribe header setting.

get/preferences/sections/{section_id}/topics/{topic_id}

Path parameters

section_idstring required

Id of the workspace preference.

topic_idstring required

Id of the subscription preference topic.

Response

idstring required

The preference topic id.

namestring required

Human-readable name.

descriptionstring nullable

Optional description shown under the topic on the hosted preferences page.

default_status'OPTED_OUT' | 'OPTED_IN' | 'REQUIRED' required
routing_optionsChannelClassification[] required

Default channels delivered for this topic. May be empty.

allowed_preferencesAllowedPreference[] required

Preference controls a recipient may customize. May be empty.

include_unsubscribe_headerboolean required

Whether a list-unsubscribe header is included on emails for this topic.

topic_dataobject required

Arbitrary metadata associated with the topic.

createdstring required

ISO-8601 timestamp of when the topic was created.

creatorstring nullable

Id of the creator.

updatedstring required

ISO-8601 timestamp of the last update.

updaterstring nullable

Id of the last updater.

Changes

Changed in 4 of the 55 revisions of this API.7

    • api tag Preference Topics added

      api-tag-added

    • api tag Workspace Preferences removed

      api-tag-removed

    • added the optional property description to the response with the 200 status

      response-optional-property-added

    • api operation id preferenceSections_topics_retrieve removed and replaced with workspacePreferences_topics_retrieve

      api-operation-id-removed

    • api tag Workspace Preferences added

      api-tag-added

    • api tag Preference Sections removed

      api-tag-removed

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added