POST
/
environments
/
{environmentId}
/
users
/
bulk

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

Query Parameters

upsert
boolean

Update user data if user already exists

Body

application/json · object[]
id
string
Required string length: 36
alias
string
Maximum length: 255
firstName
string
Maximum length: 255
lastName
string
Maximum length: 255
jobTitle
string
Maximum length: 255
phoneNumber
string
Maximum length: 255
metadata
object
mfaBackupCodeAcknowledgement
enum<string> | null
Available options:
pending,
complete
tShirtSize
string
Maximum length: 255
team
string
Maximum length: 255
policiesConsent
boolean
country
string | null

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

Maximum length: 255
username
string | null

Alphanumeric with slugs and underscores username

Maximum length: 255
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.

Maximum length: 255
wallets
object[]
oauthAccounts
object[]

Response

201 - application/json
created
object[]
updated
object[]
failed
object[]
total
integer