Skip to content

The template object

These attributes define the properties of a template.
The template object is used to store template data, including dimensions, user information, and category details.

Attributes

id string
The unique UUID for the template.

name string
The name of the template.

description string
A brief description of the template.

width integer
The width of the template in pixels.

height integer
The height of the template in pixels.

thumbnail string
URL of the template’s thumbnail image.

layersCount integer
The number of layers (not locked) of the template.

user User object
The user who created or owns the template.

folderId string
The folder ID of folder the template belongs to.

Sample Object

Here’s a sample object of a template:

{
"id": "306c724a-d138-486a-a601-0b2a9ced52be",
"name": "Twitter Bubble Square Template",
"description": "This is a sample template for demonstration.",
"width": 1024,
"height": 1024,
"thumbnail": "https://templated-assets.s3.us-east-1.amazonaws.com/public/thumbnail/306c724a-d138-486a-a601-0b2a9ced52be.webp",
"user": {
"id": "872s0atn-l4o5-09g9-gth2-oy7f79df6tuw",
"name": "Mark Doe"
}
}