Create Document from File Upload

Upload a PDF, DocX, or an RTF to create a document.

Supercharge your app with our PandaDoc Embedded Editor
Open Recipe

See the Create from PDF tutorial for the usage specifics and sample PDF files.

Create from an upload or a URL

You have two options to create a document from file:

  1. Upload a local file. For this, use the multipart/form-data request type.
  2. Send a public URL in the document creation request like this:
curl --request POST '' \
--header 'Content-Type: application/json' \
--data-raw '{
   "name": "My minimal document",
   "url": "",
   "recipients": [
       "email":"[email protected]",
       "role": "user"
   "parse_form_fields": false

See the Create from public PDF guide for info about roles and fields, as well as PDF examples.

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