---
title: "Assign theme to subscibers and/or providers"
method: POST
path: "/mobileTheme/assign"
tags: ["MobileTheme"]
---

# Assign theme to subscibers and/or providers

`POST /mobileTheme/assign`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/mobileTheme/assign`
- 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/assign/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- ServiceChannelServicesWebApiModelsRequestMobileThemesAssignThemeRequest: Model for request to assign theme to subscriber(s) and/or provider(s)
  - `ThemeId` integer, required: Theme Id
  - `SubscriberIds` integer[]: Array of subscriber's IDs to assign theme
  - `ProviderIds` integer[]: Array of provider's IDs to assign theme

## Response `200`

Indicates that the request was successful.

- SystemObject

## Other responses

- `400`: Invalid request data
- `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)
