Getting Started

HTMLTOIMAGEPDF is an API for creating images and PDFs from HTML. You will need an API token to use the API. AFter that, you can automate image creation and PDF creation.


Getting an API key

Login to your dashboard here: https://www.htmltoimagepdf.com/login. Get your API key at https://htmltoimagepdf.com/account.

Authentication

We use token authentication for our API endpoints. After accessing your API token from your dashboard, pass the token as a header in the request, preceded by the word Bearer.

Headers

Header Value
Authorization Bearer YOUR_API_KEY
Content-Type application/json