POST
/
users
/
{userId}
/
wallets
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/users/{userId}/wallets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "publicWalletAddress": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
  "chain": "ETH",
  "walletName": "An example name",
  "walletProvider": "browserExtension",
  "additionalWalletAddresses": [
    {
      "address": "<string>",
      "publicKey": "<string>",
      "type": "ordinals"
    }
  ]
}'
{
  "id": "95b11417-f18f-457f-8804-68e361f9164f",
  "name": "An example name",
  "chain": "ETH",
  "publicKey": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
  "provider": "browserExtension",
  "properties": {
    "turnkeySubOrganizationId": "95b11417-f18f-457f-8804-68e361f9164f",
    "turnkeyPrivateKeyId": "95b11417-f18f-457f-8804-68e361f9164f",
    "turnkeyHDWalletId": "95b11417-f18f-457f-8804-68e361f9164f",
    "isAuthenticatorAttached": true,
    "turnkeyUserId": "95b11417-f18f-457f-8804-68e361f9164f"
  }
}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

userId
string
required

UUID of the user

Body

application/json
publicWalletAddress
string
required

Valid blockchain wallet address, must be an alphanumeric string without any special characters

chain
enum<string>
required
Available options:
ETH,
EVM,
FLOW,
SOL,
ALGO,
STARK,
COSMOS,
BTC
walletName
string
required
walletProvider
enum<string>
required
Available options:
browserExtension,
custodialService,
walletConnect,
qrCode,
deepLink,
embeddedWallet,
smartContractWallet
additionalWalletAddresses
object[]

Response

201 - application/json
id
string
required

UUID of the user

name
string
required
chain
enum<string>
required
Available options:
ETH,
EVM,
FLOW,
SOL,
ALGO,
STARK,
COSMOS,
BTC
publicKey
string
required

Valid blockchain wallet address, must be an alphanumeric string without any special characters

provider
enum<string>
required
Available options:
browserExtension,
custodialService,
walletConnect,
qrCode,
deepLink,
embeddedWallet,
smartContractWallet
properties
object