---
title: "List all policy templates"
method: GET
path: "/sdg/v1/policyTemplates"
tags: ["Sensitive Data Governance"]
---

# List all policy templates

`GET /sdg/v1/policyTemplates`

## Request

- Base URL: `https://apis.druva.com/insync`
- URL: `https://apis.druva.com/insync/sdg/v1/policyTemplates`
- Auth: API key in header `Authorization`

Get the list of all SDG policy templates.

## Response `200`

OK

- PolicyTemplateListResponse
  - `policyTemplates` PolicyTemplate[]: List of policy templates.
    - `id` integer: The unique ID of the policy template.
    - `name` string: The name of the policy template.
    - `createdBy` integer: The unique ID of the administrator who created the policy template.
    - `description` string: The description of the policy template.
    - `includedMimetypes` string[]: The list of MIME type categories in the SDG policy template.
    - `region` string: The region associated with the SDG policy template.
    - `isCustom` boolean: Flag that determines whether SDG policy template is custom or not.
    - `lastUpdated` string, date-time: The date and time when the policy template was last updated.
    - `attachedDatatype` integer[]: The unique IDs of the attached sensitive data types in the policy template.

## Other responses

- `400`: Bad Request
- `403`: Access denied: Insufficient permissions. User requires specific access rights and minimum permissions. Details: https://help.druva.com/en/articles/15069296

---

[API](https://skmtc.dev/druva/apis/insync-cloud.md) - [All operations](https://skmtc.dev/druva/apis/insync-cloud/llms.txt) - [OpenAPI document](https://skmtc.dev/druva/apis/insync-cloud/revisions/a0ce6d05033c?raw)
