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

# Создать

`POST /api-v2/string-stickers`

## 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`
- Auth: HTTP bearer

## Request body

- CreateStringStickerDto
  - `name` string, required: Имя стикера
  - `icon` '' | 'star' | 'heart' | 'check' | 'cloud' | 'filter' | 'alarm' | 'bolt' | 'bookmark' | 'box' | 'bulb' | 'prio' | 'code' | 'ruble' | 'dollar' | 'euro' | 'eye' | 'flag' | 'flame' | 'history' | 'info' | 'key' | 'anchor' | 'message' | 'movie' | 'mnote' | 'pencil' | 'picture' | 'pin' | 'clockwise' | 'clockwiseDot' | 'rectangle' | 'shield' | 'stack' | 'string' | 'timeStop' | 'design' | 'user' | 'plus' | 'gear' | 'sort' | 'calendar': Иконка стикера
  - `states` StringStickerStateNoIdDto[]: Состояния стикера.
    - `deleted` boolean: Если true, значит объект удален
    - `name` string, required: Имя состояния стикера
    - `color` string: Цвет состояния стикера

## Response `201`

Стикер создан

- WithIdDto
  - `id` string, required: ID объекта

---

[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)
