---
title: "Get a Template with given ID"
method: GET
path: "/management/v2/payroll-export-templates/{id}"
tags: ["Payroll Export Template"]
---

# Get a Template with given ID

`GET /management/v2/payroll-export-templates/{id}`

## Request

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

Get a Template with given ID.

## Path parameters

- `id` string, required

## Response `200`

A successful response.

- PayrollExportTemplatesGetResponse
  - `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

---

[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)
