---
title: "List templates"
method: GET
path: "/api/workspaces/templates"
tags: ["Templates"]
deprecated: true
---

# List templates

`GET /api/workspaces/templates`

## Request

- Base URL: `https://app.airfocus.com`
- URL: `https://app.airfocus.com/api/workspaces/templates`
- Auth: HTTP bearer

> **Deprecated.**

Returns all workspace-templates available to the current team.<br/>Requirements:<br/>- auth-client scopes: "workspace:read"

## Query parameters

- `actAsAdmin` boolean
- `offset` integer
- `limit` integer

## Response `200`

- TemplatePageWithEmbed
  - `_embedded` TemplateSearchEmbed, required
    - `categories` TemplateCategory[], required
      - `name` string, required
      - `slug` string, required
      - `templateIds` string[], required
  - `items` Template[], required
    - `abstract` string, required
    - `apps` TemplateApp[], required
      - `description` string
      - `name` string, required
      - `typeId` string, required
    - `description` string, required
    - `featured` boolean, required
    - `id` string, required
    - `imageUrl` string
    - `name` string, required
    - `views` TemplateView[], required
      - `description` string
      - `iconName` string
      - `imageUrl` string, required
      - `name` string, required
    - `viewsSectionTitle` string, required
    - `workspacesCount` integer, required
  - `totalItems` integer, required

## Other responses

- `401`: If missing authentication token.
- `403`: If authenticated client does not have the required access scopes.

---

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