Templates

Create a template (live keys)

post/v1/templates

Request

  • Base URL: https://api.castpdf.com
  • URL: https://api.castpdf.com/v1/templates
  • Auth: HTTP bearer

Request body

namestring required
htmlstring required
cssstring
sample_dataobject

Response

OK

idstring uuid
namestring
current_versioninteger
pinned_versioninteger nullable
updated_atstring date-time
thumbnail_urlstring uri

Signed PNG of the current version first page (480 px wide, rendered with its sample data); made on first request, the url changes with each version.

versioninteger
htmlstring
cssstring nullable
sample_dataobject nullable
settingsobject

Changes

No recorded changes to this operation across all 1 revision of this API.