---
title: "Upload ZIP source for import"
method: POST
path: "/import/upload-source"
tags: ["Document AI — Import & Migration"]
---

# Upload ZIP source for import

`POST /import/upload-source`

## Request

- Base URL: `https://api.paperoffice.ai/latest`
- URL: `https://api.paperoffice.ai/latest/import/upload-source`
- Auth: HTTP bearer

Upload a ZIP archive for bulk import (local_upload ZIP or historical ELO export).

## Response `200`

Success

- object: Upload source ZIP staged
  - `status` 'success' | 'error'
  - `data` object
    - `temp_file_id` string: Opaque handle for import-create source_config.temp_file_id
    - `file_name` string
    - `file_size` integer
    - `source_type` string
    - `next_step` object

## Other responses

- `4XX`: Error
- `5XX`: Error

---

[API](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api.md) · [All operations](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api/revisions/c6a6228a4509?raw)
