---
title: "Create new theme"
method: POST
path: "/mobileTheme"
tags: ["MobileTheme"]
---

# Create new theme

`POST /mobileTheme`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/mobileTheme`
- Auth: OAuth 2
  - Authorization code: `https://sb2login.servicechannel.com/oauth/authorize`
  - Token URL: `https://sb2login.servicechannel.com/oauth/token`
- TypeScript: <https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/docs/mobileTheme/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- ServiceChannelServicesWebApiModelsRequestMobileThemesNewThemeRequest: Model for request to create new theme
  - `BackgroundColor` string: String representation of hex argb color for Background (Example: #00FF9A01)
  - `MainColor` string: String representation of hex argb color for Main (Example: #00FF9A01)
  - `Name` string: Theme name

## Response `201`

Returns Id of new created theme

- integer

## Other responses

- `403`: No required permission

---

[API](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3.md) - [All operations](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/llms.txt) - [OpenAPI document](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/revisions/d490d6596809?raw)
