In most cases, you will want to call this API via server side code, but the following code will show an example below of how to interact with this API via client side javascript with jQuery. Convert HTML to PDF with Client Side Javascript / jQuery. The first step is to acquire an API key from portal.api2pdf.com. Once you grab your API key, you