---
title: "Add folder to favorites"
method: PUT
path: "/api/v1/folders/{folderId}/favorite"
tags: ["Folders"]
---

# Add folder to favorites

`PUT /api/v1/folders/{folderId}/favorite`

## Request

- Base URL: `https://omniapp.co` (the document declares no server; this is the origin it was published from)
- URL: `https://omniapp.co/api/v1/folders/{folderId}/favorite`
- Auth: HTTP bearer

Add a folder to a user's favorites. Idempotent: favoriting an already-favorited folder succeeds.

## Path parameters

- `folderId` string, uuid, required: Unique identifier for the folder

## Query parameters

- `userId` string, uuid: Target user ID (for org-scoped API keys)

## Response `204`

Favorite added successfully

## Other responses

- `400`: Invalid folderId or userId
- `401`: Authentication required
- `403`: Permission denied
- `404`: Folder or user not found

## Changes

- **2026-10-14** `65cd293a08a5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omniapp/apis/omni-api/changes/api/v1/folders/:folderId/favorite/put.md)

---

[API](https://skmtc.dev/omniapp/apis/omni-api.md) - [All operations](https://skmtc.dev/omniapp/apis/omni-api/llms.txt) - [OpenAPI document](https://skmtc.dev/omniapp/apis/omni-api/revisions/76b40ebc2292?raw)
