Skip to content

Preview a saved template

POST
/v1/templates/{id}/preview
curl --request POST \
--url https://shareout.site/v1/templates/example/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "data": {} }'
id
required
string
Media type application/json
object
data
object
Example generated
{
"data": {}
}

Rendered preview

Media type application/json
object
subject
string
html
string
text
string
Example generated
{
"subject": "example",
"html": "example",
"text": "example"
}