Creating An Image

Make an HTTP POST request to the IMAGE endpoint below.

curl --location --request POST 'https://www.htmltoimagepdf.com/api/v1/image/url/' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{ "url": "http://irishtimes.ie", "width" : 800, "height" : 800 }'

Parameters

Parameter Type Mandatory
url string yes
height int no
width int no
delay int no