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
stringThe unique UUID for the template.name
stringThe name of the template.description
stringA brief description of the template.width
integerThe width of the template in pixels.height
integerThe height of the template in pixels.thumbnail
stringURL of the template’s thumbnail image.layersCount
integerThe number of layers (not locked) of the template.user
User objectThe user who created or owns the template.folderId
stringThe 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"
}
}