API Reference
Retrieve Template Elements
Fetches all elements of a specific design template by its ID for the authenticated user.
GET
/
templates
/
{templateId}
/
elements
Note: This operation does not consume any account credits, but rate limits apply.
Retrieve Elements of a Template
This endpoint fetches all elements of a specific design template by its ID for the authenticated user.
Request
- Endpoint:
GET /templates/{templateId}/elements
- 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 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 properties