Convert EPUB to PDF

post/epub-to-pdf

Request

  • Base URL: https://epublys.com/v1
  • URL: https://epublys.com/v1/epub-to-pdf
  • Auth: HTTP bearer

Request body

filestring required

Base64-encoded EPUB

namestring

Original filename — the output is named after its stem (e.g. "Book.epub" gives "Book (compressed).epub"); without it the output keeps a fixed name

pageSize'a4' | 'letter'
marginsinteger

Page margin in points; out-of-range values fall back to 60

fontFamily'serif' | 'sans'
fontSizeinteger
pageNumbersboolean

Response

Success — JSON envelope with the base64-encoded output file

successboolean
filestring

Base64-encoded output file

filenamestring
contentTypestring
messagestring
pro_tipstring

Present on free-tier responses only

Changes

No recorded changes to this operation across all 1 revision of this API.