---
updatedAt: 2025-11-12T22:38:39.000Z
agentTools:
  projectIndex: https://support.docsumo.com/llms.txt
---

# Move Documents

Move one or more documents from a source folder to a destination folder.

Note: To move documents to or from the root 'My Documents' directory, use an empty string ("") for the source\_folder\_id or dest\_folder\_id respectively.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "docsumo-web-apps",
    "version": "1.4"
  },
  "servers": [
    {
      "url": "https://app.docsumo.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/v2/eevee/apikey/move/": {
      "post": {
        "summary": "Move Documents",
        "description": "Move one or more documents from a source folder to a destination folder.",
        "operationId": "move-documents-between-folders",
        "parameters": [
          {
            "name": "apikey",
            "in": "header",
            "description": "Your personal API key for authentication. You can find it on your Docsumo settings page.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "source_folder_id",
                  "dest_folder_id",
                  "doc_ids"
                ],
                "properties": {
                  "source_folder_id": {
                    "type": "string",
                    "description": "The ID of the folder where the documents are currently located."
                  },
                  "dest_folder_id": {
                    "type": "string",
                    "description": "The ID of the folder to which the documents will be moved."
                  },
                  "doc_ids": {
                    "type": "array",
                    "description": "A list of document IDs to move.",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"error\": \"\",\n  \"error_code\": \"\",\n  \"message\": \"Successfully moved the doc.\",\n  \"status\": \"success\",\n  \"status_code\": 200\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": ""
                    },
                    "error_code": {
                      "type": "string",
                      "example": ""
                    },
                    "message": {
                      "type": "string",
                      "example": "Successfully moved the doc."
                    },
                    "status": {
                      "type": "string",
                      "example": "success"
                    },
                    "status_code": {
                      "type": "integer",
                      "example": 200,
                      "default": 0
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"error\": \"INVALID_REQUEST\",\n  \"message\": \"The document you are trying to move doesn't exist in the source folder.\",\n  \"status\": \"fail\",\n  \"status_code\": 400\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": "INVALID_REQUEST"
                    },
                    "message": {
                      "type": "string",
                      "example": "The document you are trying to move doesn't exist in the source folder."
                    },
                    "status": {
                      "type": "string",
                      "example": "fail"
                    },
                    "status_code": {
                      "type": "integer",
                      "example": 400,
                      "default": 0
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```