Don't waste your day reinventing the wheel, be converting in 3 minutes from now
We've just added a Java example! Please check it out here
We've just added an Android example! Please check it out here
Don't find what you are looking for? Check out examples of C, Clojure, Go, HTTP, Kotlin, Node.js, Objective-C, OCaml, Powershell, Python, R, RapidQL, Shell and Swift
All the optional parameters can be used in the different code examples.
For PDF conversion taking more than 30 seconds or input/output files more than 6 Mb, you need to use the batch/asynchronous parameters. Examples: C#, PHP
Batch
true to send it through batch process. API will return a PdfToken that you could use for your next api call.
PdfToken
Token to retrieve the pdf file that was passed in batch process. You will get a PdfLink as a return.
Webhook
Instead of polling if the pdf file is already ready, you can send a webhook url where we could post once the file is ready.
PdfDownloadExpirySeconds
Number of seconds before the PdfLink expires. Default and minimum is 300 seconds, max is 900 seconds.
Don't waste your day reinventing the wheel, be converting in 3 minutes from now