Download one of the brand's own templates
GET
/api/v1/brand/office/templates/{id}
const url = 'http://localhost:3000/api/v1/brand/office/templates/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3000/api/v1/brand/office/templates/example \ --header 'Authorization: Bearer <token>'The file wearing the release: the theme’s twelve colors and its heading and text families in every theme part, and each image that is a library asset replaced by that asset’s current version (drawn in the image’s format when the new one’s differs). Layouts, placeholders, text and effects stay as the designer made them. One release is one file byte for byte: send its ETag back for a 304.
Scope: read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
The template’s asset id, as the list gives it
Query Parameters
Section titled “Query Parameters”brand
string
A brand’s slug; the default brand without it
version
string
A release’s number; live, the release readers see, without it
Responses
Section titled “Responses”The template (binary)
default
Section titled “default”An error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{ "error": { "code": "example", "message": "example", "detail": "example" }}