---
title: "Apply Folder Suggestions"
method: POST
path: "/api/businesses/{business_id}/documents/apply-folder-suggestions"
tags: ["Businesses"]
---

# Apply Folder Suggestions

`POST /api/businesses/{business_id}/documents/apply-folder-suggestions`

## Request

- Base URL: `https://api.flagpost.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flagpost.ai/api/businesses/{business_id}/documents/apply-folder-suggestions`
- Auth: HTTP bearer

Move Staging files into the folders AI suggested.

## Path parameters

- `business_id` string, required

## Request body

- ApplyFolderSuggestionsRequest
  - `document_ids` string[], required
  - `dismiss` boolean

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/flagpost/apis/flagpost-api.md) - [All operations](https://skmtc.dev/flagpost/apis/flagpost-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flagpost/apis/flagpost-api/revisions/0308cef485ca?raw)
