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

# List templates

`GET /templates`

## Request

- Base URL: `https://api.rendley.com/v1`
- URL: `https://api.rendley.com/v1/templates`
- Auth: none declared

Without workspace_id: the published Rendley templates, paginated, with optional search and category filtering. With workspace_id (signed in): the user templates saved in that workspace, newest first; source_project_id is set while that project exists. There, query/category_id are ignored.

## Query parameters

- `workspace_id` string
- `source_project_id` string
- `page` string
- `limit` string
- `query` string
- `category_id` string

## Response `200`

OK

- object
  - `data` TypesTemplate[]: Success data
    - `created_at` string
    - `created_by` string
    - `fields` TypesTemplateField[]
      - `group` string: The clip, or the canvas, the field belongs to.
      - `key` string: Name in POST /projects `fields`; the path when the author set no key.
      - `label` string
      - `length` integer: Item count of a list field; a value must have the same.
      - `linked` integer: How many more places the same value fills: fields sharing a key are linked.
      - `media_kind` 'image' | 'video' | 'gif' | 'audio'
      - `path` string
      - `type` 'text' | 'number' | 'color' | 'boolean' | 'list' | 'media'
      - `value` unknown
    - `fit_duration` number
    - `height` integer
    - `id` string
    - `is_premium` boolean
    - `name` string
    - `preview_video_url` string
    - `source_project_id` string: The project a user template was saved from, while that project exists.
    - `template_json` string
    - `thumbnail_url` string
    - `updated_at` string
    - `width` integer
    - `workspace_id` string
  - `error` HttpResponseAPIError
    - `code` string
    - `fields` HttpResponseFieldError[]
      - `field` string
      - `message` string
    - `message` string
  - `meta` unknown

## Other responses

- `401`: Unauthorized

---

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