A storage template allows you to reuse storage settings in your screenshot request instead of including the same storage and access information in every request.
Storage settings are encrypted at rest and at transit.
Manage storage templates on the storage accounts page as shown in the example below.
A storage template contains information such as:
The storage template can be used in the request query URL or in the JSON body of a POST request.
First, copy the Id of the storage account as shown above.
The example below shows how to take a real-time website screenshot and store the image in the storage account with the Id "storage_OdXnpH7S1" (replace the storage Id with your own storage Id).
// Line breaks added for readability
https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&storageid=storage_OdXnpH7S1
&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.
Storage providers such as S3, Azure and Webhooks support a metadata property.
When the metadata option is enabled, information as shown below will be included depending on the request configuration settings:
When the HTML option is enabled, the HTML markup (e.g. website.html) file will be included.