POST
/
environments
/
{environmentId}
/
embeddedWallets

Authorizations

Authorization
string
headerrequired

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

Path Parameters

environmentId
string
required

ID of the environment

Body

application/json
identifier
string
required

Identifier for the user. Must be either an email, phone number, or user id

type
enum<string>
required
Available options:
email,
id,
externalUserId,
phoneNumber,
socialUsername
chains
enum<string>[]

The chains to create the wallet for

Available options:
ETH,
EVM,
FLOW,
SOL,
ALGO,
STARK,
COSMOS,
BTC
chain
enum<string>
Available options:
ETH,
EVM,
FLOW,
SOL,
ALGO,
STARK,
COSMOS,
BTC
smsCountryCode
object
socialProvider
enum<string>
Available options:
emailOnly,
magicLink,
apple,
bitbucket,
coinbasesocial,
discord,
facebook,
farcaster,
github,
gitlab,
google,
instagram,
linkedin,
microsoft,
twitch,
twitter,
blocto,
banxa,
dynamic,
alchemy,
zerodev,
telegram,
turnkey,
coinbaseWaas,
sms

Response

200 - application/json
user
object