---
title: "Private key export"
method: POST
path: "wallet.private_key_export"
---

# Private key export

`POST wallet.private_key_export` (webhook)

Fired when a user exports the private key of their embedded wallet.

## Payload

- PrivateKeyExportWebhookPayload — Payload for the wallet.private_key_export webhook event.
  - `export_source` 'display' | 'client' — The export type. 'display' is for showing the key to the user in the UI, 'client' is for exporting to the client application.
  - `type` 'wallet.private_key_export', required — The type of webhook event.
  - `user_id` string, required — The ID of the user who exported the key.
  - `wallet_address` string, required — The address of the wallet.
  - `wallet_id` string, required — The ID of the wallet.

## Acknowledgement `200`

Return a 200 status to indicate that the webhook was received successfully.

---

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