---
title: "Create Passtype"
method: POST
path: "/v2/passtypes"
tags: ["Pass Type IDs"]
---

# Create Passtype

`POST /v2/passtypes`

Creates a new pass type ID using either a certificate or a PKCS12 file.

- **user**: The authenticated user instance.
- **password**: Optional password for PKCS12 file decryption.
- **certificate**: Optional uploaded certificate file.
- **pkcs12**: Optional uploaded PKCS12 file.

### Returns
- **PassTypeRead**: The newly created pass type information or an error message.

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