POST
/
sdk
/
{environmentId}
/
users
/
embeddedWallets
/
sessionKey
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/users/embeddedWallets/sessionKey \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "publicKey": "An example name",
  "prevSessionKeySignature": "An example name"
}'
{
  "publicKey": "<string>",
  "expiresAt": 123
}

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

Body

application/json
Register session key body
publicKey
string
required
prevSessionKeySignature
string

Response

200
application/json
Register session key response
publicKey
string
required
expiresAt
number
required