Get templates

Returns an array of templates in your workspace

This call returns an array of existing templates created in your workspace. Here is an overview of the properties returned for each template:

id The template id
name The name of the template
description The template description. A description is optional when creating a template.
owner This object includes the id of the template creator, their full name, and any information the user has entered in their user profile, including their title, company, website, and location. If the user has uploaded a profile image, the avatar property provides an AWS link to the image.
accountId The id of the workspace where the template was created
created The Unix timestamp of the date and time when the template was created
modified The Unix timestamp of the date and time when the template was last edited
shareWithAccount This boolean indicates whether a template is accessible to other workspace users. In the MediaSilo UI, this value corresponds to the toggle “Share template with other workspace users.”

An administrator has access to all templates in a workspace, including templates that the creators did not share with the workspace.
thumbnail An AWS link to the template’s thumbnail image. In the MediaSilo UI, a template’s thumbnail image is displayed in the Template Library.
pageType This property indicates a template’s type: “portal” or “none.” “Portal” is the type used to create microsites; templates of type “none” are used to create slide decks.
template This is an escaped string that details a template’s composition, including the size and position of each element it contains.
parentId If the template has a parent template, then the parent’s id is provided here. If the template is a parent template, then it cannot have a parent and the value of parentId is null.
isParentTemplate This boolean indicates if a template is a parent template.
lastModifiedByParent The Unix timestamp of the date and time when a parent template was used to create this template. If this template is a parent template, then the value is null.
parentLastModified The Unix timestamp of the date and time when the parent template was last edited. If the template is a parent template, then the value is 0.

A 200 code is returned when templates are found in your workspace. If a template has not been created in your workspace yet, then a 200 code is returned with an empty response body.

Language
Authorization
URL
Click Try It! to start a request and see the response here!