Templates

Get a template

get/v1/templates/{id}

Request

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

Path parameters

idstring uuid required

The id (UUID).

Query parameters

versionstring

A version number (default: the current one).

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.