---
title: "Uploads a document into the specified folder."
method: POST
path: "/v2/document-folders/{folderId}/documents"
tags: ["ApiDocument"]
---

# Uploads a document into the specified folder.

`POST /v2/document-folders/{folderId}/documents`

## Path parameters

- `folderId` integer, required

## Request body

- ApiFileMedia
  - `fileName` string, nullable
  - `data` string, byte, nullable

## Response `200`

- ApiDocument
  - `id` integer
  - `name` string, nullable
  - `fileName` string, nullable
  - `fileSize` integer
  - `dateCreated` string, date-time
  - `dateModified` string, date-time

---

[API](https://skmtc.net/dotdigital/apis/apiconnector-com.md) · [All operations](https://skmtc.net/dotdigital/apis/apiconnector-com/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dotdigital/apiconnector-com/revisions/109c0537cf77/schema)
