Documents
Create Document from File Upload
Create from an upload
See the Create from PDF 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.
post/public/v1/documents?upload
Query parameters
editor_verstring
Set this parameter as ev1 if you want to create a document from PDF with Classic Editor when both editors are enabled for the workspace.
use_form_field_propertiesstring
Set this parameter as yes or 1 or true (only when upload pdf with form fields) if you want to respect form fields properties, like required.
Response
OK
Example response
{
"id": "cKbJ7uay3cEGtsKuGPwYGX",
"name": "API Sample Document from PandaDoc Template",
"status": "document.draft",
"date_created": "2021-10-08T11:06:32.337395Z",
"date_modified": "2021-10-08T11:06:32.337395Z",
"expiration_date": "2021-10-08T11:06:32.337395Z",
"version": "EV2",
"uuid": "cKbJ7uay3cEGtsKuGPwYGX",
"links": [
{
"rel": "status",
"href": "https://api.pandadoc.com/public/v1/documents/jzjCfYgKQYm2u9ctwN6io4",
"type": "GET"
}
],
"info_message": "You need to poll the Document Status method until the status will be changed to document.draft"
}