---
title: "Create a new widget studio template"
method: POST
path: "/widget-studio-templates"
tags: ["WidgetStudioTemplate"]
---

# Create a new widget studio template

`POST /widget-studio-templates`

Create new studio template with given parameters

## Request body

- WidgetStudioTemplate
  - `id` integer — Unique Id of the given widget studio template.
  - `isFavorite` boolean — Indicates if this template has been marked as a favorite.
  - `siteId` integer, required — Site Id of the widget studio template.
  - `studioTemplate` string — Widget studio template data that is associated with this template.
  - `widgetId` integer — Widget that can be parsed and used as a studio template.

## Response `201`

Created

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `423` — Locked
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/kameleoon/apis/openapi-definition-for-automation-api.md) · [All operations](https://skmtc.net/kameleoon/apis/openapi-definition-for-automation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kameleoon/openapi-definition-for-automation-api/versions/09f2abcea0b5/schema)
