---
title: "Upload Documents Batch"
method: POST
path: "/api/businesses/{business_id}/documents/batch"
tags: ["Businesses"]
---

# Upload Documents Batch

`POST /api/businesses/{business_id}/documents/batch`

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

Upload multiple documents at once.

Returns upload summary with counts of successful and failed uploads.
Advisors are notified via the processing digest email after documents are processed.

## Path parameters

- `business_id` string, required

## Query parameters

- `source` 'client' | 'internal', required: Document sources allowed from user-facing endpoints (no system).

## Request body `multipart/form-data`

- BodyUploadDocumentsBatchApiBusinessesBusinessIdDocumentsBatchPost
  - `files` string[], required

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