EmailCategory
Unique identifier of the category. Pass this value to the update endpoint.
Name of the category, as shown in the console.
What the notifications in this category tell you.
Whether the category is required. You cannot opt out of a required category.
Sort order used to display the category in the console.
Icon used by the console. Returns null for child notifications.
Whether you currently receive the notifications in this category.
childs object[]
Individual notifications grouped under this category. Empty when the category has no children.
Identifier for the email category. Returned for child notifications only.
Unique identifier of the category. Pass this value to the update endpoint.
Name of the category, as shown in the console.
What the notifications in this category tell you.
Whether the category is required. You cannot opt out of a required category.
Sort order used to display the category in the console.
Icon used by the console. Returns null for child notifications.
Whether you currently receive the notifications in this category.
{
"slug": "string",
"display_name": "string",
"description": "string",
"required": true,
"position": 0,
"icon": "string",
"opted_in": true,
"childs": [
{
"email_category_id": 0,
"slug": "string",
"display_name": "string",
"description": "string",
"required": true,
"position": 0,
"icon": "string",
"opted_in": true
}
]
}