---
title: "Get document templates list"
method: GET
path: "/crm/v1/documents/templates"
tags: ["documents"]
---

# Get document templates list

`GET /crm/v1/documents/templates`

## Request

- Base URL: `https://{domain}.uspacy.ua`
- URL: `https://{domain}.uspacy.ua/crm/v1/documents/templates`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/uspacy/apis/crm-service-2/docs/crm/v1/documents/templates/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a paginated list of document templates (invoices, contracts, etc.).

## Query parameters

- `page` integer
- `list` integer

## Response `200`

Successful response

- object
  - `data` DocumentTemplate[]
    - `name` string
    - `is_active` boolean
    - `code` string
    - `id` number
    - `disabled` boolean
    - `file` object
      - `name` string
      - `size` string
      - `extension` string
      - `download_link` string
    - `binding_entities` object[]
      - `entity_id` number
      - `funnels` number[]
    - `access` object
      - `departments` integer[]
      - `users` integer[]
    - `numerator_id` integer
    - `created_at` string
    - `updated_at` string
    - `created_by` integer: User who created
    - `updated_by` integer: User who updated
  - `meta` Meta
    - `currentPage` integer
    - `from` integer
    - `lastPage` integer
    - `links` object[]
      - `url` string
      - `label` string
      - `active` boolean
    - `path` string
    - `perPage` integer
    - `to` integer
    - `total` integer

## Other responses

- `401`: Access token is missing or invalid

---

[API](https://skmtc.dev/uspacy/apis/crm-service-2.md) - [All operations](https://skmtc.dev/uspacy/apis/crm-service-2/llms.txt) - [OpenAPI document](https://skmtc.dev/uspacy/apis/crm-service-2/revisions/f80578d43845?raw)
