---
title: "POST /api/tenants/themes"
method: POST
path: "/api/tenants/themes"
tags: ["Themes"]
---

# POST /api/tenants/themes

`POST /api/tenants/themes`

## Request

- Base URL: `https://api.wearelearning.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wearelearning.io/api/tenants/themes`
- Auth: OAuth 2
  - Implicit: `https://login.wearelearning.io/authorize?audience=https://api.wearelearning.io`

## Request body

- CreateThemeDto
  - `id` string, uuid, required: A valid GUID
  - `name` string, required
  - `content` ContentComponentDto, required
    - `background` BackgroundTokensDto, required
      - `fill` ColorTokenDto, required
        - `value` string, required
    - `text` TextTokensDto, required
      - `headerFont` FontTokenDto, required
        - `googleFontFamily` string, nullable
        - `tenantFontId` string, nullable
        - `source` 'Google' | 'TenantUpload', required
        - `url` string, nullable
      - `headerColor` ColorTokenDto, required
        - `value` string, required
      - `paragraphFont` FontTokenDto, required
        - `googleFontFamily` string, nullable
        - `tenantFontId` string, nullable
        - `source` 'Google' | 'TenantUpload', required
        - `url` string, nullable
      - `paragraphColor` ColorTokenDto, required
        - `value` string, required
    - `buttons` ButtonTokensDto, required
      - `backgroundColor` ColorTokenDto, required
        - `value` string, required
      - `textColor` ColorTokenDto, required
        - `value` string, required
      - `font` FontTokenDto, required
        - `googleFontFamily` string, nullable
        - `tenantFontId` string, nullable
        - `source` 'Google' | 'TenantUpload', required
        - `url` string, nullable
    - `border` BorderTokensDto, required
      - `radius` RadiusTokenDto, required
        - `value` string, required
  - `responses` ResponsesComponentDto, required
    - `background` BackgroundWithStrokeTokensDto, required
      - `fill` ColorTokenDto, required
        - `value` string, required
      - `stroke` ColorTokenDto, required
        - `value` string, required
    - `text` SimpleTextTokensDto, required
      - `font` FontTokenDto, required
        - `googleFontFamily` string, nullable
        - `tenantFontId` string, nullable
        - `source` 'Google' | 'TenantUpload', required
        - `url` string, nullable
      - `color` ColorTokenDto, required
        - `value` string, required

## Response `200`

OK

- string

---

[API](https://skmtc.dev/wearelearning/apis/we-are-learning-api.md) - [All operations](https://skmtc.dev/wearelearning/apis/we-are-learning-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wearelearning/apis/we-are-learning-api/revisions/e2ca5265db77?raw)
