---
title: "Get a policy template."
method: GET
path: "/api/policies/templates/{templateName}"
tags: ["Policies"]
---

# Get a policy template.

`GET /api/policies/templates/{templateName}`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/policies/templates/{templateName}`
- Auth: HTTP bearer

Returns a starting point for a new policy: native policy JSON that Philter accepts for the running policy schema version, to edit and save with POST /api/policies. The template named default is the policy every new user's default policy is created from. A template is not a policy and cannot be used to redact until it is saved as one. Requires the `policies:read` scope.

## Path parameters

- `templateName` string, required

## Headers

- `Authorization` string, required

## Response `200`

The template's native policy JSON.

- object

## Other responses

- `400`: Bad Request
- `401`: The Authorization header is absent or the API key is not recognized.
- `403`: Insufficient scope, disabled API, or access denied.
- `404`: There is no template with the given name.
- `406`: No representation matches Accept.
- `413`: Content Too Large
- `415`: Unsupported Media Type
- `500`: Internal Server Error
- `503`: Service Unavailable

## Changes

- **2026-10-10** `c4f85daa9208`: 14 info
  - added the optional property `field` to the response with the `400` status
  - added the optional property `field` to the response with the `401` status
  - added the optional property `field` to the response with the `404` status
  - added the optional property `field` to the response with the `413` status
  - …10 more
- **2026-10-10** `83c006f9cb7b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/philterd/apis/philter-api/changes/api/policies/templates/:templateName/get.md)

---

[API](https://skmtc.dev/philterd/apis/philter-api.md) - [All operations](https://skmtc.dev/philterd/apis/philter-api/llms.txt) - [OpenAPI document](https://skmtc.dev/philterd/apis/philter-api/revisions/aa3d7ad1aab4?raw)
