---
title: "Get Pass Template Distribution Restrictions"
method: GET
path: "/v2/templates/{templateId}/restrictions"
tags: ["Pass Templates > Distribution Restrictions"]
---

# Get Pass Template Distribution Restrictions

`GET /v2/templates/{templateId}/restrictions`

## Request

- Base URL: `https://api.loyalty.dog`
- URL: `https://api.loyalty.dog/v2/templates/{templateId}/restrictions`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/loyalty/apis/loyaltydog/docs/v2/templates/:templateId/restrictions/get.ts> (a function with typed inputs; its response is checked against the schema)

### Get Pass Template Distribution Restrictions

Returns the distribution restrictions of the pass template.

**Parameters:**
- `template` (Template): The pass template.

**Returns:**
- `dict`: The distribution restrictions of the pass template.

## Path parameters

- `templateId` union, required
  - string
  - string

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/loyalty/apis/loyaltydog.md) - [All operations](https://skmtc.dev/loyalty/apis/loyaltydog/llms.txt) - [OpenAPI document](https://skmtc.dev/loyalty/apis/loyaltydog/revisions/5803242b0551?raw)
