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

Required string length: 36

Body

application/json
identifier
string
required

Identifier for the user. Must be either an email, phone number, user id, external user id, or username from a supported social provider

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

The chains to create the wallet for

Available options:
EVM,
SOL
chain
enum<string>
Available options:
EVM,
SOL
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