CodePen - Create document from PDF upload
This is a code pen that shows how a PDF can be uploaded via the browser and sent.
Steps to create and send a document
We outline the core steps to create and send a document in on our API reference page. The core steps are as follows
- Call Create document
- Wait/check for document status to become document.draft
- Call Send endpoint
Access token required!
Your API token is like your username & password combined don't share it! In the below code pen it is recommended to insert it as an input instead of hard coding it in the javascript.
CodePen
This code should be used as an example only. There is no error handling or data validation.
See the Pen Create and Send PandaDoc with PDF upload by Scott Bilodeau (@scottbilodeau) on CodePen.
PDF -> PandaDoc Conversion
Please note we have 2 ways of converting PDF's into PandaDoc documents. The formats can be reviewed at the below links. The example does
Static File
Similar to the code pen this file can be saved and run from a web browser.