---
title: "Get all Templates"
method: GET
path: "/management/v2/payroll-export-templates"
tags: ["Payroll Export Template"]
---

# Get all Templates

`GET /management/v2/payroll-export-templates`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/management/v2/payroll-export-templates`
- Auth: API key in header `OAuth`

Get all Templates.

## Query parameters

- `filters` string[]
- `op` string
- `cursor` string
- `limit` integer

## Response `200`

A successful response.

- PayrollExportTemplatesListResponse
  - `success` boolean
  - `data` V2modelPayrollExportTemplates[]
    - `id` integer
    - `label` string
    - `data` string
    - `type` 'TYPE_UNKNOWN' | 'DEPUTY_TEMPLATE' | 'CUSTOMER_TEMPLATE'
    - `scriptId` integer
    - `createdById` integer
    - `createdAt` string, date-time
    - `modifiedAt` string, date-time
  - `nextCursor` string

---

[API](https://skmtc.dev/deputy/apis/deputy-v2-api.md) - [All operations](https://skmtc.dev/deputy/apis/deputy-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deputy/apis/deputy-v2-api/revisions/78f0278f4608?raw)
