---
title: "GET /users/{emailAddress}/privatekey"
method: GET
path: "/users/{emailAddress}/privatekey"
---

# GET /users/{emailAddress}/privatekey

`GET /users/{emailAddress}/privatekey`

Given a user's email address, retrieves their private key. In the case of failure a rejected promise is returned to the caller.

## Path parameters

- `emailAddress` string, required

## Response `200`

Successful operation

- object
  - `passwordEncryptedPrivateKey` string

## Other responses

- `400` — unresolved $ref
- `500` — Unable to fullfil request due to internal server error.

## Changes

- **2024-06-27** `88a17f0848b5` — 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/users/:emailAddress/privatekey/get.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/b2e862fac269/schema)
