Snag Docs logo

Create user metadata

This endpoint is used to create user metadata

POSThttps://admin.snagsolutions.io/api/users/metadatas

This endpoint is used to create user metadata

Loading code example
Loading code example

Authorizations

apiKeyAuthstringheaderrequired

API key passed in the header.

Body

Body

userIdstring<uuid>
walletAddressstring
isBlockedboolean
epicAccountIdentifierstring
discordUserstring
discordUserIdstring
twitterUserstring
twitterUserFollowersCountnumber
twitterUserIdstring
emailAddressstring<email>
walletGroupIdentifierstring
userGroupIdstring<uuid>
telegramUserIdstring
telegramUsernamestring
steamUserIdstring
Length: <= 128
steamUsernamestring
Length: <= 128
googleUserIdstring
Length: <= 128
googleUserstring
YTChannelIdstring
displayNamestring
locationstring
Length: <= 255
biostring
Length: <= 255
portfolioUrlstring
Length: <= 255
externalLoyaltyScorestring
blockStatusReason"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"
isBlockExemptboolean
internalNotesstring
logoUrlstring
userGroupExternalIdentifierstring
externalIdentifierstring
Length: <= 255
websiteIdstring<uuid>
organizationIdstring<uuid>
tiktokUserstring
tiktokUserIdstring
sybilScorenumber
Required range: x >= 1, x <= 100
githubUserstring
githubUserIdstring
phoneNumberstring

Phone number in E.164 format (e.g., +14155552671)

Pattern: ^\+[1-9]\d{1,14}$

Response

application/json

200

idstring<uuid>required

Unique identifier for the user metadata

websiteIdstring<uuid>required

Unique identifier for the website

organizationIdstring<uuid>required

Unique identifier for the organization

walletGroupIdentifierstringrequired

Identifier for the user wallet group set via api

userGroupIdstring<uuid>required

Identifier for the user group set via api

userGroupobjectrequired

User group associated with the user

userGroup.idstring<uuid>required

id for the user group

userGroup.externalIdentifierstringrequired

External identifier for the user group

userobjectrequired
user.idstring<uuid>required

Id for the user

user.walletAddressstringrequired

Wallet address of the user

createdAtstring<date-time>required

Timestamp when the wallet was created