---
title: "Создать"
method: POST
path: "/api-v2/string-stickers/{stickerId}/states"
tags: ["Состояния стикера с набором состояний"]
---

# Создать

`POST /api-v2/string-stickers/{stickerId}/states`

## Request

- Base URL: `https://api-docs.yougile.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.yougile.com/api-v2/string-stickers/{stickerId}/states`
- Auth: HTTP bearer

## Path parameters

- `stickerId` string, required

## Request body

- CreateStringStickerStateDto
  - `name` string, required: Имя состояния стикера
  - `color` string: Цвет состояния стикера

## Response `201`

Состояние стикера успешно создано.

- WithStickerStateIdDto
  - `id` string, required: ID состояния стикера

## Other responses

- `404`

---

[API](https://skmtc.dev/yougile/apis/yougile-rest-api-v2-0.md) - [All operations](https://skmtc.dev/yougile/apis/yougile-rest-api-v2-0/llms.txt) - [OpenAPI document](https://skmtc.dev/yougile/apis/yougile-rest-api-v2-0/revisions/9452cba35716?raw)
