Download image
To generate a downloadable image of a template make a post
request to /sites/{site:id}/templates/{template:id}/download
with a body containing the template's fields.
Be aware that this request might take anywhere between 2 or 8 seconds to respond.
Request body:
{
"fields": {
"previewlinks:title": "Hello API",
"previewlinks:subtitle": "This is an example."
}
}
Response:
{
"data": {
"url": "https:\/\/assets.previewlinks.io\/images\/703571d5f0288a16888e7257d72585529c9c3b1b62ec9790acaa35e45ea02067.png"
}
}