Skip to content

List all themes

Request

OAuth 2.0 scope:
  • okta.brands.read

Lists all the themes in your brand.

Important: Currently each org supports only one theme, therefore this contains a single object only.

Path
brandIdstringrequired

The ID of the brand

curl -i -X GET \
  'https://subdomain.okta.com/api/v1/brands/{brandId}/themes'

Responses

Successfully returned the list of themes

Bodyapplication/json
Array [
backgroundImagestringread-only
emailTemplateTouchPointVariantstring(EmailTemplateTouchPointVariant)

Variant for email templates. You can publish a theme for email templates with different combinations of assets. Variants are preset combinations of those assets.

Default:"OKTA_DEFAULT"
Enum ValueDescription
FULL_THEME

Uses the Okta logo and Okta colors in email templates

OKTA_DEFAULT

Uses the logo from the theme. Uses primaryColorHex as the background color for buttons.

endUserDashboardTouchPointVariantstring(EndUserDashboardTouchPointVariant)

Variant for the Okta End-User Dashboard. You can publish a theme for end-user dashboard with different combinations of assets. Variants are preset combinations of those assets.

Default:"OKTA_DEFAULT"
Enum ValueDescription
FULL_THEME

Uses the logo and favicon from the theme. Uses primaryColorHex for the logo and the side navigation bar background color.

LOGO_ON_FULL_WHITE_BACKGROUND

Uses the logo and favicon from the theme. Uses white background color for the logo and the side navigation bar background color.

OKTA_DEFAULT

Uses the Okta logo and favicon. Uses a white background color for the logo and the side navigation bar background color.

WHITE_LOGO_BACKGROUND

Uses the logo and favicon from the theme, with a white background color for the logo. Uses primaryColorHex for the side navigation bar background color.

errorPageTouchPointVariantstring(ErrorPageTouchPointVariant)

Variant for the error page. You can publish a theme for error page with different combinations of assets. Variants are preset combinations of those assets.

Default:"OKTA_DEFAULT"
Enum ValueDescription
BACKGROUND_IMAGE

Uses the logo, favicon, and background image from the theme

BACKGROUND_SECONDARY_COLOR

Uses the logo and favicon from the theme. Uses secondaryColorHex as the background color for the error page.

OKTA_DEFAULT

Uses the Okta logo, favicon, and background color

faviconstringread-only
idstringread-only
loadingPageTouchPointVariantstring(LoadingPageTouchPointVariant)

Variant for the Okta loading page. You can publish a theme for Okta loading page with different combinations of assets. Variants are preset combinations of those assets.

Default:"OKTA_DEFAULT"
Enum ValueDescription
NONE

Uses no loading page animation during the redirect

OKTA_DEFAULT

Uses the default Okta loading page animation during the redirect

primaryColorContrastHexstring

Primary color contrast hex code

primaryColorHexstring

Primary color hex code

secondaryColorContrastHexstring

Secondary color contrast hex code

secondaryColorHexstring

Secondary color hex code

signInPageTouchPointVariantstring(SignInPageTouchPointVariant)

Variant for the Okta sign-in page. You can publish a theme for sign-in page with different combinations of assets. Variants are preset combinations of those assets.

Note: For a non-OKTA_DEFAULT variant, primaryColorHex is used for button background color and primaryColorContrastHex is used to optimize the opacity for button text.

Enum ValueDescription
BACKGROUND_IMAGE

Uses the logo, favicon, and background image from the theme

BACKGROUND_SECONDARY_COLOR

Uses the logo and favicon from the theme. Uses secondaryColorHex as the background color for the Okta sign-in page.

OKTA_DEFAULT

Uses the Okta logo and favicon with no background image. Uses the Okta colors on the Okta sign-in page.

]
Response
[ { "id": "thdul904tTZ6kWVhP0g3", "logo": "https://{yourOktaDomain}/assets/img/logos/okta-logo.47066819ac7db5c13f4c431b2687cef6.png", "favicon": "https://{yourOktaDomain}/favicon.ico", "backgroundImage": null, "primaryColorHex": "#1662dd", "primaryColorContrastHex": "#000000", "secondaryColorHex": "#ebebed", "secondaryColorContrastHex": "#000000", "signInPageTouchPointVariant": "OKTA_DEFAULT", "endUserDashboardTouchPointVariant": "OKTA_DEFAULT", "errorPageTouchPointVariant": "OKTA_DEFAULT", "emailTemplateTouchPointVariant": "OKTA_DEFAULT", "loadingPageTouchPointVariant": "OKTA_DEFAULT" } ]