---
title: "List templates"
method: GET
path: "/templates"
tags: ["Templates"]
---

# List templates

`GET /templates`

## Request

- Base URL: `https://api.dynapictures.com`
- URL: `https://api.dynapictures.com/templates`
- Auth: HTTP bearer

Lists the templates with "Sync to Zapier" enabled, with their layer names.

## Query parameters

- `workspace_id` string

## Response `200`

The templates.

- Template[]: The templates.
  - `id` string, required: The ID of the template. Use it as `{uid}` in `POST /designs/{uid}`.
  - `formId` string: The ID of the template's form, used by the form widget.
  - `name` string, required: The name of the template.
  - `thumbnail` string, uri: Thumbnail URL, fitting a 300x300px square.
  - `dateCreated` string, date-time: When the template was created.
  - `dateUpdated` string, date-time: When the template was last changed.
  - `layers` TemplateLayer[]: The layers of the template.
    - `type` string: The layer type, e.g. `canvas`, `text` or `image`.
    - `name` string: The layer name to use in `params`.
    - `width` string: Layer width.
    - `height` string: Layer height.
    - `text` string, nullable: The current text of a text layer.

## Other responses

- `400`: The request is invalid. `message` says why.
- `401`: The API key is missing or wrong.

---

[API](https://skmtc.dev/dynapictures/apis/dynapictures-api.md) - [All operations](https://skmtc.dev/dynapictures/apis/dynapictures-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dynapictures/apis/dynapictures-api/revisions/a9820777cfb3?raw)
