---
title: "Create Document from File Upload"
method: POST
path: "/public/v1/documents?upload"
tags: ["Documents"]
---

# Create Document from File Upload

`POST /public/v1/documents?upload`

## Create from an upload
> See the [Create from PDF](https://developers.pandadoc.com/docs/create-document-from-file) tutorial for the usage specifics and sample PDF files.

**Note**: A file you upload is not stored in your PandaDoc account, so you have to upload it with every request.

## Query parameters

- `editor_ver` string
- `use_form_field_properties` string

## Response `201`

OK

- DocumentCreateResponse
  - `id` string
  - `name` string
  - `status` 'document.draft' | 'document.sent' | 'document.completed' | 'document.uploaded' | 'document.error' | 'document.viewed' | 'document.waiting_approval' | 'document.approved' | 'document.rejected' | 'document.waiting_pay' | 'document.paid' | 'document.voided' | 'document.declined' | 'document.external_review' | 'document.scheduled'
  - `date_created` string
  - `date_modified` string
  - `expiration_date` string, nullable
  - `version` string, nullable
  - `uuid` string
  - `links` object[]
    - `rel` string
    - `href` string
    - `type` string
  - `info_message` string

## Other responses

- `400` — Bad Request
- `401` — Authentication error
- `429` — Too Many Requests

---

[API](https://skmtc.net/pandadoc/apis/pandadoc-public-api.md) · [All operations](https://skmtc.net/pandadoc/apis/pandadoc-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pandadoc/pandadoc-public-api/revisions/0c2b70be3fb0/schema)
