Subscription Configuration

{
    "contactMethods": {
        "email": {
            "name": "Email"
        },
        "mail": {
            "name": "Mail"
        },
        "phone": {
            "name": "Phone"
        },
        "sms": {
            "name": "SMS"
        }
    },
    "controls": [
        {
            "code": "global_control",
            "description": "Unsubscribe from all communications",
            "name": "Unsubscribe From All"
        }
    ],
    "identities": {
        "auth_token": {},
        "email": {}
    },
    "language": "en",
    "organization": {
        "code": "axonic"
    },
    "property": {
        "code": "axonic",
        "name": "Axonic Web",
        "platform": "WEB"
    },
    "topics": [
        {
            "code": "account_updates",
            "contactMethods": [
                "email",
                "sms",
                "phone",
                "mail"
            ],
            "description": "Be alerted if there are any changes to your account",
            "legalBasis": "consent_optin",
            "name": "Account Updates"
        },
        {
            "code": "events_and_happenings",
            "contactMethods": [
                "email",
                "sms",
                "phone",
                "mail"
            ],
            "description": "Stay up to date on important events happening in your area",
            "legalBasis": "consent_optout",
            "name": "Events and Happenings"
        },
        {
            "code": "latest_news",
            "contactMethods": [
                "email"
            ],
            "description": "Stay up to date with all of the latest news",
            "legalBasis": "consent_optout",
            "name": "Latest News"
        },
        {
            "code": "offers",
            "contactMethods": [
                "email",
                "sms"
            ],
            "description": "Receive information on your available offers",
            "legalBasis": "consent_optin",
            "name": "Offers"
        },
        {
            "code": "property_market_updates",
            "contactMethods": [
                "email",
                "mail"
            ],
            "description": "Market data, recent sales, auction results and updates on properties you like.",
            "legalBasis": "consent_optin",
            "name": "Property Market Updates"
        },
        {
            "code": "property_news_and_guides",
            "contactMethods": [
                "email"
            ],
            "description": "The latest property news, guides and inspiration.",
            "legalBasis": "consent_optin",
            "name": "Property News and Guides"
        },
        {
            "code": "property_updates",
            "contactMethods": [
                "email"
            ],
            "description": "Notifications about properties you've shown interest in.",
            "legalBasis": "consent_optin",
            "name": "Property updates"
        }
    ]
}