POST
/
environments
/
{environmentId}
/
users

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
id
string
alias
string
firstName
string
lastName
string
jobTitle
string
phoneNumber
string
metadata
object
mfaBackupCodeAcknowledgement
enum<string> | null
Available options:
pending,
complete
tShirtSize
string
team
string
policiesConsent
boolean
country
string | null

Standard ISO 3166-1 alpha-2 two-letter country code

username
string | null

Alphanumeric with slugs and underscores username

btcWallet
string | null

BTC wallet address

kdaWallet
string | null

KDA wallet address

ltcWallet
string | null

LTC wallet address

ckbWallet
string | null

CKB wallet address

kasWallet
string | null

KAS wallet address

dogeWallet
string | null

DOGE wallet address

emailNotification
boolean
discordNotification
boolean
newsletterNotification
boolean
emailVerifiedAt
string

When provided, the user email will be marked as verified in our system and the user will be allowed to sign in with that email. When social is enabled and the social provider has a verified email, we will automatically associate that social with the existing user.

email
string

If email is trusted and verified, please provide a emailVerifiedAt timestamp. This will ensure that a user signing in with this email can access the correctly-created user account.

wallets
object[]
oauthAccounts
object[]

Response

201 - application/json
user
object