---
title: "Get a list of templates"
method: GET
path: "/templates"
tags: ["Templates"]
---

# Get a list of templates

`GET /templates`

Gets a list of templates

## Query parameters

- `exclude_spaces` boolean
- `integration_filter` object
  - `application` 'salesforce'
  - `object_type` 'opportunity' | 'account' | 'contact'
  - `record_type` string

## Response `200`

List of templates

- TemplateIndexResponse — List of template previews
  - `templates` object[], required — List of template previews
    - `created_at` string, date-time, required — The date and time when the template was created
    - `description` string, required — Description of the template
    - `id` string, uuid, required — Template ID
    - `language` string, required — Language
    - `location` object
      - `id` string — ID of location
      - `name` string
      - `type` 'none' | 'folder' | 'workspace' | 'category' — Where the template is located
    - `owned` boolean, required — Tells if the templates is owned by the requesting user
    - `owner_id` string, uuid, required — Template owner ID
    - `slug` string, nullable, required — Template slug
    - `title` string, nullable, required — Template title
    - `updated_at` string, date-time, required — The date and time of the last time the template was edited

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/contractbook/apis/contractbook-api.md) · [All operations](https://skmtc.net/contractbook/apis/contractbook-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/contractbook/contractbook-api/revisions/ae9d64e51a99/schema)
