Skip to content

List template layers

Lists all layers of a template.
Locked layers will not be returned.

Parameters

id string REQUIRED
The template id of the template that you want to retrieve the layers.

Sample Request

Here’s a sample request to list all layers of a template:

ENDPOINT
GET /v1/template/:id/layers
REQUEST
fetch(`https://api.templated.io/v1/template/${id}/layers`, {
method: 'GET',
headers: {
'Authorization' : `Bearer ${API_KEY}`
}
})