Screenshot API Request Templates

A request template allows you to reuse web request settings in your screenshot request instead of including the same information such as the quality, viewport and more in every request.

This feature not only saves time, but also ensures consistency across your screenshot requests.

Request template settings are encrypted at rest and during transit, providing enhanced security for your API requests.

How to add a request template

Manage request templates on the templates page as shown in the example below.

Screenshot Request Templates

How to use a template in a request (real-time GET request)

The template can be used in the request query URL or in the JSON body of a POST request.

First, copy the Id of the template as shown above.

The example below shows how to take a real-time website screenshot using the template with the Id "template_kx2qOAhRf" (replace the template Id with your own template Id).

// Line breaks added for readability https://api.addscreenshots.com/screenshots
?apikey=
YOUR_API_KEY
&templateid=template_kx2qOAhRf
&url=https://www.youtube.com

Your API key can be found on the API Keys page. Need an API Key? Sign up to get started.
For internal applications, replace YOUR_API_KEY with your own unique API Key.
For public facing websites or hotlinks, generate a signed URL.