create_preference_topic
Create a subscription preference topic inside a section. The topic id is generated and returned. Fails with 404 if the section does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name for the preference topic | |
| section_id | Yes | Id of the preference section to create the topic in | |
| topic_data | No | Arbitrary metadata associated with the topic | |
| default_status | Yes | Default subscription status applied when a recipient has not set their own | |
| routing_options | No | Default channels delivered for this topic. Defaults to empty if omitted. | |
| allowed_preferences | No | Preference controls a recipient may customize for this topic | |
| include_unsubscribe_header | No | Whether to include a list-unsubscribe header on emails for this topic |