createDocFromBase64Async

Create a document via a base64 PDF Asynchronously

Overview

Parameters:

Return:

To create this document we will need:

  • set your apiToken;

  • build your signers;

  • build the document;

  • call the method;

How to use:

Save your apiToken:

const apiToken: string = "YOUR TOKEN";

Set your base64:

const base64: string = "JVBERi0xLjYKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTG..."

Build your signers with the Signer class:

Build your document with the DocFromPdfBase64 class:

Finally, call the createDocFromPdfBase64 method to get the DocResponse or an error message:

Example:

Last updated

Was this helpful?