---
title: "POST /v2/auth/privy"
method: POST
path: "/v2/auth/privy"
---

# POST /v2/auth/privy

`POST /v2/auth/privy`

Verify an access token using Privy's library and authenticate the user

## Request body

- object
  - `accessToken` string, required — The Privy access token to verify
  - `walletAddress` string, required — The wallet address from the user

## Response `200`

OK

- AuthResult
  - `walletAddress` string, nullable, required
  - `accessToken` string, required

## Other responses

- `400` — Invalid input received. Bad request.
- `404` — The item you are making request for does not exist.
- `500` — Unable to fullfil request due to internal server error.

## Changes

- **2024-11-12** `1b2f108863f9` — 1 breaking, 1 warning
  - added the new required request property `walletAddress`
  - removed the request property `identityToken`
- **2024-10-22** `4280f4cf96f8` — 1 breaking
  - added the new required request property `identityToken`
- **2024-10-15** `e310f9ad389c` — 1 info
  - endpoint added
- **2023-11-03** `b77bfb068867` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/unlock-protocol/apis/unlock-locksmith/changes/v2/auth/privy/post.md)

---

[API](https://skmtc.dev/unlock-protocol/apis/unlock-locksmith.md) · [All operations](https://skmtc.dev/unlock-protocol/apis/unlock-locksmith/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/unlock-protocol/unlock-locksmith/revisions/e003b998de45/schema)
