Download a template file
Streams the template’s file bytes as an attachment. Pass ?version= to download a retained earlier version instead of the current one.
Authentication
AuthorizationBearer
WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.
Path parameters
id
Query parameters
version
A retained version to download instead of the current one (defaults to current).
Response
The template file bytes.
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error