Settings

Get the email theme setting

GET/settings/email-theme

Returns the theme every platform email uses and whether it was inherited. The theme is the platform organisation's own; when it has none, its parent organisation's theme applies, else delio. Use GET /email-themes for the available themes.

Responses

200

The email theme setting.

EmailThemeSettings
{
  "data": {
    "theme": "delio",
    "inherited": true
  }
}
401

Authentication failed. error.code is one of invalid_token, expired, revoked.

Error
403

Authorization failed. error.code is one of org_disabled, ip_blocked, missing_scope, scope_disabled, user_disabled.

Error
429

Rate limit exceeded (error.code = rate_limited).

Error

Examples

curl https://your-org-domain/kong/core/api/v2/settings/email-theme\
  -H "Authorization: Bearer $HELM_API_KEY"\
  -H "Content-Type: application/json"