# Create a new theme

**URL:** <https://community.auth0.com/t/create-a-new-theme/131597>\
**Category:** Get Help\
**Tags:** apis, application\
**Created:** [April 9, 2024, 1:54pm UTC](https://community.auth0.com/t/create-a-new-theme/131597 "2024-04-09T13:54:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ignacio.aba](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ignacio.aba/32/51328_2.png) [@ignacio.aba](https://community.auth0.com/u/ignacio.aba)\
**Post date:** [April 9, 2024, 1:54pm UTC](https://community.auth0.com/t/create-a-new-theme/131597/1 "2024-04-09T13:54:01Z")

</div>

Hello!

I’m trying to create a new theme for the universal login using the Management API.  
I want to use this theme in just one application.  
When sending the request to ‘api/v2/branding/themes’ I get the following response:

{  
“statusCode”: 409,  
“error”: “Conflict”,  
“message”: “There was an error creating branding settings: theme already exists”,  
“errorCode”: “theme\_already\_exists”  
}

Is it not possible to have more than one theme? Or any ideas what I’m missing?  
Thanks

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [April 9, 2024, 10:18pm UTC](https://community.auth0.com/t/create-a-new-theme/131597/3 "2024-04-09T22:18:19Z")

</div>

Hi @ignacio.aba,

Welcome to the Auth0 Community!

Could you please share an example of the request you made to the `/api/v2/branding/themes` endpoint?

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![ignacio.aba](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ignacio.aba/32/51328_2.png) [@ignacio.aba](https://community.auth0.com/u/ignacio.aba)\
**Post date:** [April 10, 2024, 12:03pm UTC](https://community.auth0.com/t/create-a-new-theme/131597/4 "2024-04-10T12:03:18Z")

</div>

Hey @rueben.tiow,  
this is the body:

```auto
{
    "colors": {
        "primary_button": "#1522AC",
        "primary_button_label": "#ffffff",
        "secondary_button_border": "#c9cace",
        "secondary_button_label": "#c9cace",
        "base_focus_color": "#05B0F5",
        "base_hover_color": "#000000",
        "links_focused_components": "#635dff",
        "header": "#f3f3f3",
        "body_text": "#f3f3f3",
        "widget_background": "#FFFFFF",
        "widget_border": "#c9cace",
        "input_labels_placeholders": "#65676e",
        "input_filled_text": "#c9cace",
        "input_border": "#c9cace",
        "input_background": "#2B3035",
        "icons": "#65676e",
        "error": "#c47894",
        "success": "#7fb49f",
        "captcha_widget_theme": "light"
    },
    "fonts": {
        "font_url": "",
        "reference_text_size": 16,
        "title": {
            "bold": false,
            "size": 150
        },
        "subtitle": {
            "bold": false,
            "size": 87.5
        },
        "body_text": {
            "bold": false,
            "size": 87.5
        },
        "buttons_text": {
            "bold": false,
            "size": 100
        },
        "input_labels": {
            "bold": false,
            "size": 100
        },
        "links": {
            "bold": true,
            "size": 87.5
        },
        "links_style": "normal"
    },
    "borders": {
        "button_border_weight": 1,
        "buttons_style": "rounded",
        "button_border_radius": 3,
        "input_border_weight": 1,
        "inputs_style": "rounded",
        "input_border_radius": 3,
        "widget_corner_radius": 5,
        "widget_border_weight": 0,
        "show_widget_shadow": true
    },
    "widget": {
        "logo_position": "center",
        "logo_url": "https://apps.marketnews.com/mni-black.svg",
        "logo_height": 52,
        "header_text_alignment": "center",
        "social_buttons_layout": "bottom"
    },
    "page_background": {
        "page_layout": "center",
        "background_color": "#FFFFFF",
        "background_image_url": ""
    },
    "displayName": "Website Theme"
}

```

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [April 12, 2024, 4:17pm UTC](https://community.auth0.com/t/create-a-new-theme/131597/5 "2024-04-12T16:17:19Z")

</div>

Hi @ignacio.aba,

Ah yes, in this situation, you will need to update your branding theme instead of creating a new one.

To do so, please call the Mangaement API’s [Update branding theme endpoint](https://auth0.com/docs/api/management/v2/branding/patch-branding-theme).

Lastly, you may find this related knowledge solution relevant and helpful:  
[https://community.auth0.com/t/custom-universal-login-themes-for-applications-on-the-one-tenant/129578](https://community.auth0.com/t/custom-universal-login-themes-for-applications-on-the-one-tenant/129578)

Cheers!  
Rueben

---

<div class="post-metadata">

**Author:** ![ignacio.aba](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ignacio.aba/32/51328_2.png) [@ignacio.aba](https://community.auth0.com/u/ignacio.aba)\
**Post date:** [April 20, 2024, 5:19pm UTC](https://community.auth0.com/t/create-a-new-theme/131597/6 "2024-04-20T17:19:54Z")

</div>

Got it! Thank you for your reply!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [May 4, 2024, 5:20pm UTC](https://community.auth0.com/t/create-a-new-theme/131597/7 "2024-05-04T17:20:15Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
