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

# Create a new widget studio

`POST /widget-studio`

Create new widget studio with given parameters

## Request body

- WidgetStudio — Represents the Widget Studio entity containing metadata and configurations.
  - `dateCreated` string, date-time — Date the widget studio object was created.
  - `dateModified` string, date-time — Date the widget studio object was last modified.
  - `elements` string[] — List of element types used in the widget studio.
  - `eventActions` string[] — List of event actions that can be triggered within the widget studio.
  - `eventConditions` string[] — List of event conditions that determine widget studio behavior.
  - `fonts` WidgetFont1[] — List of custom fonts used within the widget studio.
    - `fontFamily` string
    - `fontSrc` string
    - `fontWeights` string[]
    - `id` string
    - `importSrc` string
  - `isLegacy` boolean — Indicate if the widget is part of a legacy system
  - `screens` Screen[] — List of screens that are part of this widget studio configuration.
    - `id` string
    - `name` string
    - `templateName` string
  - `translation` Translation — Translation settings for the widget studio.
    - `defaultLanguageId` string
    - `enabled` boolean
    - `languages` Language[]
      - `IID` string
      - `code` string
      - `name` string
  - `version` number, double — Version of the widget, precision = 5, scale = 2.
  - `widgetEditorTemplate` string — Serialized JSON representation of the widget configuration used in the editor.
  - `widgetId` integer — Id of the widget.

## 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/revisions/09f2abcea0b5/schema)
