POST
/
environments
/
{environmentId}
/
users
Authorization
Path
Body
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/environments/{environmentId}/users \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "alias": "<string>",
  "btcWallet": "3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5",
  "ckbWallet": "ckt1q9876543210abcdefghijklmnopqrstuvwxyz",
  "country": "US",
  "discordNotification": true,
  "dogeWallet": "DPcy35vmuk8GXcfu1vgFFEeij3BuYYJQKB",
  "email": "hello-world@foobar.com",
  "emailNotification": true,
  "firstName": "<string>",
  "jobTitle": "<string>",
  "kasWallet": "kaspa:qrelgny7sr3vahq69yykxx36m65gvmhryxrlwngfzgu8xkdslum2yxjp3ap8m",
  "kdaWallet": "k:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
  "lastName": "<string>",
  "ltcWallet": "LUttH43tQ4x4qniCKr1Rqo8ESeXFPdv9ax",
  "metadata": {},
  "newsletterNotification": true,
  "phoneNumber": "<string>",
  "policiesConsent": true,
  "tShirtSize": "<string>",
  "team": "<string>",
  "username": "johndoe"
}'
{
  "user": {
    "alias": "<string>",
    "btcWallet": "<string>",
    "ckbWallet": "<string>",
    "country": "US",
    "discordNotification": true,
    "dogeWallet": "<string>",
    "email": "jsmith@example.com",
    "emailNotification": true,
    "firstName": "<string>",
    "firstVisit": "2023-11-07T05:31:56Z",
    "id": "95b11417-f18f-457f-8804-68e361f9164f",
    "jobTitle": "<string>",
    "kasWallet": "<string>",
    "kdaWallet": "<string>",
    "lastName": "<string>",
    "lastVisit": "2023-11-07T05:31:56Z",
    "ltcWallet": "<string>",
    "metadata": {},
    "newUser": true,
    "newsletterNotification": true,
    "phoneNumber": "<string>",
    "policiesConsent": true,
    "projectEnvironmentId": "95b11417-f18f-457f-8804-68e361f9164f",
    "tShirtSize": "<string>",
    "team": "<string>",
    "username": "<string>",
    "verifiedCredentials": [],
    "chain": "ETH",
    "chainalysisChecks": [],
    "createdAt": "2023-11-07T05:31:56Z",
    "oauthAccounts": [],
    "sessions": [],
    "updatedAt": "2023-11-07T05:31:56Z",
    "wallet": "<string>",
    "walletPublicKey": "<string>",
    "wallets": []
  }
}

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
alias
string
btcWallet
string | null

BTC wallet address

ckbWallet
string | null

CKB wallet address

country
string | null

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

discordNotification
boolean
dogeWallet
string | null

DOGE wallet address

email
string
emailNotification
boolean
firstName
string
jobTitle
string
kasWallet
string | null

KAS wallet address

kdaWallet
string | null

KDA wallet address

lastName
string
ltcWallet
string | null

LTC wallet address

metadata
object
newsletterNotification
boolean
phoneNumber
string
policiesConsent
boolean
tShirtSize
string
team
string
username
string | null

Alphanumeric username

Response

201 - application/json
user
object