---
title: "Move document"
method: POST
path: "/documents/document-move"
tags: ["Document AI — DMS"]
---

# Move document

`POST /documents/document-move`

## Request

- Base URL: `https://api.paperoffice.ai/latest`
- URL: `https://api.paperoffice.ai/latest/documents/document-move`
- Auth: HTTP bearer

Move a document to another folder within the same workspace or to a permitted target workspace.

## Response `200`

Success

- object: Move a document to another workspace
  - `status` 'success' | 'error', required: Operation result status
  - `message` string: Human-readable status message
  - `locale` string: Verwendete Locale
  - `document` object: Details of the moved document
    - `pofid` string: POFID of the document
    - `file_name` string: File name
    - `old_workspace_id` integer: Original workspace ID
    - `new_workspace_id` integer: New workspace ID
    - `new_workspace_name` string: New workspace name
  - `processing_time` string: Request processing time (e.g. "123.45ms")

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