The paper of a preview with your own edits of the sample data (UX D2)
The same paper, with data: the print data you edited (GET /v1/print_data/schema). Preview only: it is never stored and never used to validate. Takes JSON or an HTML form post (data holding the JSON), so a page can post it straight into the iframe.
POST
https://api.invox.page/paper/{credential}Path parameters
Request body JSON required
Returns
200
The HTML of the paper.
400
validation_failed: The request is not valid · malformed_request: The request body is not valid JSON
JSON
404
preview_link_invalid: This preview link is not valid · template_not_found: The template does not exist in this organization · asset_not_found: The image does not exist in the library
JSON
422
template_syntax_error: The template has a syntax error · template_limit_exceeded: The template went over a limit while rendering · font_not_in_catalog: The template uses a font that is not in the catalog
JSON
429
rate_limited: Too many requests
JSON
500
internal_error: The service failed
JSON
503
service_unavailable: The service cannot answer right now · render_unavailable: The document could not be rendered right now
JSON