Skip to main content
GET
/
v1
/
community
/
gating
/
users
/
{userId}
cURL
curl --request GET \
  --url https://api.flipsuite.xyz/v1/community/gating/users/{userId} \
  --header 'x-api-key: <x-api-key>'
{
  "discordUserId": "328218133074804739",
  "discordUsername": "boaven",
  "discordAvatarUrl": "https://cdn.discordapp.com/avatars/328218133074804739/e8cb8310f09acf1c6db318a8ee6603cc.webp?size=256",
  "linkedAccounts": [
    {
      "platform": "twitter",
      "username": "boavenn"
    }
  ],
  "linkedWallets": [
    {
      "chain": "Linea",
      "chainId": "59144",
      "address": "0x5c8eda15c9470562fa09b80de50c9295fa805d32"
    }
  ]
}
Note that only accounts and wallets required for verification based on your server’s gating rules will be included in the response. For example, if no rule in your server requires a Solana wallet, it won’t be included in the response even if user has a Solana wallet linked.
All users can opt-out from sharing their linked accounts and wallets in your server via privacy settings. If sharing is disabled, the isRedacted field will be set to true in the linked accounts and wallets returned in the response, and their details will be redacted. See below for more details.

Headers

x-api-key
string<uuid>
required

Your community API key.

Path Parameters

userId
string
required

Discord ID of the user to query.

Response

User details have been retrieved successfully

discordUserId
string

Discord ID of the user

discordUsername
string

Discord username of the user

discordAvatarUrl
string | null

Discord avatar URL of the user

linkedAccounts
object[]

Accounts linked to the user's Flipsuite account

linkedWallets
object[]

Wallets linked to the user's Flipsuite account