API to get default tenant preference for all categories.
Pass as Bearer <API_KEY>. Get API Key from SuprSend dashboard Developers -> API Keys section.
unique identifier of the tenant you want to get default preferences for
Locale code (e.g., es, fr, de, ja, es-AR) to fetch preference translations in user's locale. When provided, the API looks for category and section names and descriptions in the respective locale file.
If a translation is missing for the requested locale, the system automatically falls back in this order: locale-region (e.g., es-AR) → locale (e.g., es) → en (English - always available).
200
preference category name
unique preference category slug. You can get it by clicking on category name on SuprSend dashboard -> preference page
description of the notification category
root category this sub-category belongs to
"transactional"
default preference of the category set while updating the category.
cant_unsubscribe, opt_in, opt_out default mandatory channels set while updating the category in case default preference is can't unsubscribe
default opt-in channels set to have selective opt-in channels instead of all channels while updating the category.
opt-in channels overridden for this tenant.
set it false to hide a category from user's preference page
preference setting overridden for this tenant.
opt_in, opt_out channels which are opted-out across all categories for this tenant.
email, sms, whatsapp, androidpush, inbox, iospush, slack, webpush, ms_teams