API Reference
Retrieve Template Elements and Their Basic Properties
Fetches basic properties of elements for a specific design template by its ID for the authenticated user.
GET
/
templates
/
{templateId}
/
elements
/
basic
Note: This operation does not consume any account credits, but rate limits apply.
This endpoint fetches basic properties of elements for a specific design template by its ID for the authenticated user.
What are basic properties? These are the most important properties in an element:
- Image elements:
src
- Text elements:
text
- Path elements:
fill
Request
- Endpoint:
GET /templates/{templateId}/elements/basic
- Authorization: Bearer token required
Path Parameters
templateId
(string, required): The ID of the design template.
Response
A successful response will return a map of element names to their basic properties.
Example Response
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
templateId
string
requiredThe ID of the design template
Response
200 - application/json
elements
object
A map of element names to their basic properties