🔐
w3auth
  • Welcome!
  • Installing
  • CORS
  • Authentication Flow
  • Integration Example
  • KYC
  • External Backend
  • API Reference
    • Active Chains
    • Nonce
    • Verify nonce
    • Link Wallet
    • Unlink Wallet
    • Profile & Custom fields
    • Logout
  • Package
    • React JS
  • Connect API
    • Enable API
    • User details
    • Allowlist Address
    • Blocklist Address
    • Get Settings
    • NFT Gating
    • Token Gating
Powered by GitBook
On this page
  1. Connect API

User details

If you want to obtain the user's details and are using an external backend. To obtain user information, such as their basic profile, wallet address, and custom profile data, perform the following API request.

GET /api/console/connect/get_user_details

Query Parameters

Name
Type
Description

api_key*

String

Your API Key

user_id

String

w3auth user id. You can get it from the JWT token.

wallet_address

String

Users wallet address. You need to pass user_id or the wallet address to perform the operatiion

{
   "data":{   
    "id": "0b812090-5fe7-4867-9176-9bb2c963b510",
    "name": "John Doe",
    "nonce": null,
    "created_at": "2022-07-20T06:18:39.000Z",
    "email": "john@example.com",
    "kyc_verified": false,
    "discord_username": null,
    "telegram_username": null,
    "twitter_username": null,
    "is_blocked": false,
    "last_login": null,
    "kyc_processed_id": null,
    "note": "Sample note",
    "user_address": [
      {
        "user_address_id": "5911128c-44e3-4315-9ffe-42da1c6f66a1",
        "user_id": "0b812090-5fe7-4867-9176-9bb2c963b510",
        "wallet_address": "0x000000000000000000000000000000000000dEaD",
        "chain": "eth"
      }
    ],
    "profile": [
      
    ]
   
   }
}
{
    "error": "Invalid API Key"
}
PreviousEnable APINextAllowlist Address

Last updated 2 years ago