---
title: "Create Pass From Template With Values Images By Name"
method: POST
path: "/v2/templates/names/{name}/pass"
tags: ["Pass Templates > Pass Generation"]
---

# Create Pass From Template With Values Images By Name

`POST /v2/templates/names/{name}/pass`

### Create Pass from Template with Values and Images by Name

Creates a pass from a template with provided values and images, identified by the template name.

**Parameters:**
- `request` (Request): The incoming request.
- `name` (str): The name of the pass template.
- `user` (User): The currently authenticated user.
- `background_tasks` (BackgroundTasks): Background tasks for asynchronous execution.

**Returns:**
- `dict`: A dictionary containing the created pass information.

## Path parameters

- `name` string, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/loyalty/apis/loyaltydog.md) · [All operations](https://skmtc.net/loyalty/apis/loyaltydog/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loyalty/loyaltydog/versions/42b7b22af2b6/schema)
