---
title: "Get all templates on a workspace"
method: GET
path: "/v1/workspaces/{workspaceId}/templates"
tags: ["Template (Deprecated)"]
deprecated: true
---

# Get all templates on a workspace

`GET /v1/workspaces/{workspaceId}/templates`

> **Deprecated.**

## Path parameters

- `workspaceId` string, required — Represents a workspace identifier across the system.

## Query parameters

- `name` string — If provided, you'll get a filtered list of templates that contain the provided string in their name.
- `cleansed` boolean — If set to true will filter out inactive template projects and tasks.
- `hydrated` boolean — If set to true will return hydrated template projects and tasks.
- `page` integer
- `page-size` integer

## Response `200`

OK

- TemplateDto[]
  - `id` string — Represents a template identifier across the system.
  - `name` string — Represents a template name.
  - `userId` string — Represents a user identifier across the system.
  - `workspaceId` string — Represents a workspace identifier across the system.

---

[API](https://skmtc.dev/clockify/apis/clockify-api.md) · [All operations](https://skmtc.dev/clockify/apis/clockify-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/clockify/clockify-api/revisions/f04acb2fc448/schema)
