---
title: "Insert Theme"
method: POST
path: "/Theme"
tags: ["Theme"]
---

# Insert Theme

`POST /Theme`

**Requires permission:** *IT*

Insert a new theme

## Query parameters

- `page` integer, required
- `pageSize` integer, required
- `includes` string[], nullable
- `sort` string, nullable
- `filter` string, nullable

## Request body

- PostThemeRequest
  - `theme` DynamicTheme
    - `id` integer
    - `themeCode` string, required
    - `primaryColour` string, required
    - `onPrimaryColour` string, required
    - `secondaryColour` string, required
    - `onSecondaryColour` string, required
    - `tertiaryColour` string, required
    - `onTertiaryColour` string, required
    - `startDate` string, date-time, nullable
    - `endDate` string, date-time, nullable

## Response `204`

Success - Inserted Theme

## Other responses

- `400` — An Error Occurred - Could not insert theme
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/tonbridge/apis/tonbridge-app-api.md) · [All operations](https://skmtc.net/tonbridge/apis/tonbridge-app-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tonbridge/tonbridge-app-api/versions/fab57bf5558a/schema)
