Example Subscription type Object
{
"type": "subscription",
"id": "1",
"state": "live",
"consent_type": "opt_out",
"default_translation": {
"name": "Announcements",
"description": "Offers, product and feature announcements",
"locale": "en"
},
"translations": [
{
"name": "Ankündigungen",
"description": "Angebote, Produkt- und Funktionsankündigungen",
"locale": "de"
},
{
"name": "Announcements",
"description": "Offers, product and feature announcements",
"locale": "en"
}
]
}
A subscription type lets customers easily opt out of non-essential communications without missing what's important to them.
Subscription type Object
Key | Type | Description |
---|---|---|
type | String | The type of the object - subscription |
id | String | The unique identifier representing the subscription type. |
state | String | The state of the subscription type: live , draft , archived . |
default_translation | Object | A translation object with the localised version of the subscription type in the default language for the workspace. |
translations | Array | An array of translations objects with the localised version of the subscription type in each available locale within your translation settings. |
consent_type | String | Describes the type of consent, this could be either 'opt_out' or 'opt_in'. |
content_types | Array | The message types that this subscription supports - can contain 'email' or 'sms_message'. |