v1

latestOpenAPI 3.0.02026-07-13109.8 KB
PDF Generation

Compile New Document PDF

Compile a PDF document from a specific template

post/templates/{template-token}/compile

Query parameters

doc-url-expires-ininteger
Example:3600

The doc-url-expires-in is a numerical parameter which takes integers and describes after how many seconds the provided URL is available to download the document.

latex-compiler'pdflatex' | 'lualatex'

The latex-compiler parameter can take the following values: pdflatex lualatex

latex-runs integer

The latex-runs is a numerical parameter and can take values of 1, 2 and 3.

main-file-namestring
Example:inputFile.tex

The main-file-name is a string parameter which identifies the main file to compile.

doc-file-namestring
Example:brilliantDocument

The doc-file-name is a string parameter which determines the name of the file. Note that the extension of the file is not required.

Headers

Content-Typestring required
Example:application/json

Should be set to "application/json"

Request body

object required

Response

Document Status URL Created

object required
All 1 operations