---
title: "Create PIN"
method: POST
path: "/v1/user/pin"
tags: ["user-security"]
deprecated: true
---

# Create PIN

`POST /v1/user/pin`

> **Deprecated.**

Create PIN for a user as a form of authentication.

Can be used to [verify pin](/api-reference/sca-pin/ottpinverify) when accessing a strongly protected endpoint via [One Time Token Framework](/api-reference/sca-ott).

The request and response are encrypted using the JOSE framework. Please refer to the [JOSE JWE guide](/guides/developer/auth-and-security/jose-jwe) to understand how encryption and decryption work.

## Headers

- `Accept` string, required
- `Accept-Encoding` string, required
- `Content-Encoding` string, required
- `X-tw-jose-method` string, required
- `X-External-Correlation-Id` string, uuid

## Response `204`

PIN is created successfully.

## Other responses

- `409` — PIN has already been created.
- `429` — Rate limit exceeded. Retry after the number of seconds specified in the `Retry-After` header.

---

[API](https://skmtc.net/wise/apis/platform-api.md) · [All operations](https://skmtc.net/wise/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wise/platform-api/revisions/4907a1d269ab/schema)
