Skip to navigation

Download one of a template’s source files

View as Markdown

Returns the bytes of a file in this template’s bundle — the .typ source an editor loads, or an asset it previews.

Only files in THIS template’s bundle are reachable; any other id answers 404.

Learn more: Compose

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idOrSlugstringRequired>=1 character
fileIdstringRequired>=1 character

Response

The file bytes.

Errors

404
Not Found Error
429
Too Many Requests Error