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
}
Registers a session key for an embedded wallet
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
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the environment
36
"95b11417-f18f-457f-8804-68e361f9164f"
Register session key body
The body is of type object
.
Register session key response
The response is of type object
.