POST
/
sdk
/
{environmentId}
/
waas
/
privateKey
/
import
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/waas/privateKey/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "chain": "ETH",
  "clientKeygenIds": [
    "<string>"
  ],
  "thresholdSignatureScheme": "TWO_OF_TWO"
}'
{
  "roomId": "<string>",
  "serverKeygenIds": [
    "<string>"
  ],
  "newServerKeygenIds": [
    "<string>"
  ],
  "walletId": "95b11417-f18f-457f-8804-68e361f9164f"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

Body

application/json
Import Private Key Request
chain
enum<string>
required
Available options:
ETH,
EVM,
FLOW,
SOL,
ALGO,
STARK,
COSMOS,
BTC,
ECLIPSE
clientKeygenIds
string[]
required

A base58 string with a max length of 100 characters

thresholdSignatureScheme
enum<string>
required
Available options:
TWO_OF_TWO,
TWO_OF_THREE,
THREE_OF_FIVE

Response

200
application/json
Successfully created a room for wallet private key import ceremony
roomId
string
required
serverKeygenIds
string[]
required

A base58 string with a max length of 100 characters

newServerKeygenIds
string[]

A base58 string with a max length of 100 characters

walletId
string
Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"