Render a template’s example
Renders the template with one of its saved examples and returns the PDF bytes — the editor's preview button.
example names the example to use; without it the first one is rendered. A template with no examples at all still previews — it renders with empty data {}, which is what a fresh template's static content needs.
A template with no files or no main answers 422 config_incomplete; a name that matches no saved example answers 404 example_not_found.
Learn more: Compose
POST
https://api.cloudraker.com/v1/compose/configs/{idOrSlug}/previewTry it
Authorization
Path parameters
Request body JSON required
Returns
200
The rendered PDF.