---
title: "Create Favorite"
method: POST
path: "/v0/project/favorites"
tags: ["Projects"]
---

# Create Favorite

`POST /v0/project/favorites`

Creates a new favorite project for the user.

Each favorite must include a project name, icon, and position.

## Request body

- FavoriteProjectIn — Request model for creating a favorite project.
  - `project_name` string, required — The name of the project to favorite
  - `position` integer, required — Position of the project in the favorites list

## Response `201`

Favorite created successfully

- FavoriteProjectOut — Response model for favorite project data.
  - `project_name` string, required — The name of the project to favorite
  - `position` integer, required — Position of the project in the favorites list
  - `id` integer, required — Unique identifier for the favorite project

## Other responses

- `400` — Invalid request or duplicate favorite
- `404` — Project not found
- `422` — Validation Error

---

[API](https://skmtc.net/unify/apis/unifyai-http-api-reference.md) · [All operations](https://skmtc.net/unify/apis/unifyai-http-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unify/unifyai-http-api-reference/versions/900377f918b6/schema)
