Create a Document from a URL

When you already have an existing data store for your files or prefer not to store them with PSPDFKit Server, you can create a document from a URL.

When operating on a document from a URL, PSPDFKit Server will fetch the file using the provided URL and cache it in the node file system.

Your Server sends a document’s URL to PSPDFKit Server and receives a document ID back.

  1. Your service sends a document’s URL to PSPDFKit Server, which makes a request to the URL to retrieve the document.

  2. The document service returns the document, and PSPDFKit Server saves it and its metadata in the asset storage and PostgreSQL.

  3. Your service receives the document ID back, which it can use to reference the document later.