Create user metadata
This endpoint is used to create user metadata
POST
Loading code example
Loading code example
Authorizations
apiKeyAuthstringheaderrequired
API key passed in the header.
Body
Body
userIdstring<uuid>walletAddressstringisBlockedbooleanepicAccountIdentifierstringdiscordUserstringdiscordUserIdstringtwitterUserstringtwitterUserFollowersCountnumbertwitterUserIdstringemailAddressstring<email>walletGroupIdentifierstringuserGroupIdstring<uuid>telegramUserIdstringtelegramUsernamestringsteamUserIdstringLength:
<= 128steamUsernamestringLength:
<= 128googleUserIdstringLength:
<= 128googleUserstringYTChannelIdstringdisplayNamestringlocationstringLength:
<= 255biostringLength:
<= 255portfolioUrlstringLength:
<= 255externalLoyaltyScorestringblockStatusReason"sybil_and_multi_account" | "account_migration" | "abuse_manipulation" | "not_sybil" | "issue_resolved" | "twitter_suspended" | "other"Allowed values:
"sybil_and_multi_account" | "account_migration" | "abuse_manipulation" | "not_sybil" | "issue_resolved" | "twitter_suspended" | "other"isBlockExemptbooleaninternalNotesstringlogoUrlstringuserGroupExternalIdentifierstringexternalIdentifierstringLength:
<= 255websiteIdstring<uuid>organizationIdstring<uuid>tiktokUserstringtiktokUserIdstringsybilScorenumberRequired range:
x >= 1, x <= 100githubUserstringgithubUserIdstringphoneNumberstringPhone number in E.164 format (e.g., +14155552671)
Pattern:
^\+[1-9]\d{1,14}$Response
application/json
200
idstring<uuid>requiredUnique identifier for the user metadata
websiteIdstring<uuid>requiredUnique identifier for the website
organizationIdstring<uuid>requiredUnique identifier for the organization
walletGroupIdentifierstringrequiredIdentifier for the user wallet group set via api
userGroupIdstring<uuid>requiredIdentifier for the user group set via api
userGroupobjectrequiredUser group associated with the user
userGroup.idstring<uuid>requiredid for the user group
userGroup.externalIdentifierstringrequiredExternal identifier for the user group
userobjectrequireduser.idstring<uuid>requiredId for the user
user.walletAddressstringrequiredWallet address of the user
createdAtstring<date-time>requiredTimestamp when the wallet was created
POST /api/users/metadatas