---
title: "Create a library folder"
method: POST
path: "/workspaces/{workspaceId}/library/folders"
tags: ["Library"]
---

# Create a library folder

`POST /workspaces/{workspaceId}/library/folders`

## Request

- Base URL: `https://app.flora.ai/api/v1`
- URL: `https://app.flora.ai/api/v1/workspaces/{workspaceId}/library/folders`
- Auth: HTTP bearer

Creates a folder in the authenticated user's FLORA library. Used by the Web Clipper to group images clipped from a page. Defaults to the credential's workspace when workspace_id is omitted. Mutating public API requests support an optional Idempotency-Key header for client retries; duplicate keys within two hours return idempotency_duplicate.

## Path parameters

- `workspaceId` string, required: Workspace identifier

## Request body

- object
  - `name` string: Library folder name. Defaults to a generated name when omitted; renameable later in the library.

## Response `201`

Library folder created.

- object
  - `folder_id` string, required: Library folder identifier
  - `name` string, required: Library folder name
  - `workspace_id` string, required: Workspace identifier

## Other responses

- `400`: 400
- `401`: 401
- `402`: 402
- `403`: 403
- `404`: 404
- `409`: 409
- `429`: 429
- `500`: 500
- `503`: 503

## Changes

- **2026-10-28** `a8351619f225`: 9 warning
  - added the new `not_configured` enum value to the `error/code` response property for the response status `400`
  - added the new `not_configured` enum value to the `error/code` response property for the response status `401`
  - added the new `not_configured` enum value to the `error/code` response property for the response status `402`
  - added the new `not_configured` enum value to the `error/code` response property for the response status `403`
  - …5 more
- **2026-10-16** `e54130373b10`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/florafauna-ai/apis/flora-ai-api/changes/workspaces/:workspaceId/library/folders/post.md)

---

[API](https://skmtc.dev/florafauna-ai/apis/flora-ai-api.md) - [All operations](https://skmtc.dev/florafauna-ai/apis/flora-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/florafauna-ai/apis/flora-ai-api/revisions/87cfe2c4ac29?raw)
