Skip to main content
POST
/
v1beta
/
documents
/
{document_id}
/
entry_page
TypeScript
import { Factify } from "@factify/sdk";

const factify = new Factify({
  bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
});

async function run() {
  const result = await factify.entryPages.generate({
    documentId: "<id>",
  });

  console.log(result);
}

run();
{
  "download_url": "https://storage.factify.com/entry-pages/abc123.pdf?token=xyz"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer , where is your auth token.

Path Parameters

document_id
string
required

Document ID. Pattern: doc_[0-9a-hjkmnp-tv-z]{26}

Response

Success

GenerateEntryPageResponse contains the download URL for the entry page.

download_url
string<uri>
required

Temporary download URL for the entry page PDF.

Example:

"https://storage.factify.com/entry-pages/abc123.pdf?token=xyz"