---
title: "Export private Key of a waas account"
method: POST
path: "/sdk/{environmentId}/waas/{walletId}/privateKey/export"
tags: ["SDK"]
---

# Export private Key of a waas account

`POST /sdk/{environmentId}/waas/{walletId}/privateKey/export`

## Path parameters

- `environmentId` string, required
- `walletId` string, required

## Request body

- ExportWaasWalletPrivateKeyRequest
  - `exportId` string, required
  - `addressType` string

## Response `200`

Successfully created a room for wallet private key export ceremony

- OpenRoomResponseWithServerKeygenIds
  - `roomId` string, required
  - `serverKeygenIds` NonEmptyBase58StringWith100MaxLength[], required
  - `newServerKeygenIds` NonEmptyBase58StringWith100MaxLength[]
  - `walletId` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.net/dynamic/apis/dashboard-api.md) · [All operations](https://skmtc.net/dynamic/apis/dashboard-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dynamic/dashboard-api/versions/aac826315d90/schema)
