Users service
Last updated
Last updated
The Users Service API provides various endpoints for managing user-related functionalities, including user authentication, profile management, and account operations. With this API, you can create, authenticate, and update, as well as perform actions such as logging in and adding new addresses to existing account. Additionally, you can retrieve user data, check username availability, and search for users and public profiles. This API empowers you to build user-centric applications and interact with user-related data efficiently.
Only for logged in
/internal/users
asduf823hf-sa98ehf938rh
0xd1afbab5cacb45491ce002a6026c1401340eae6a
5a945f88-1de8cb-c6a1b4-1314ebac6bd1
/v2/auth/web3/login
FjWEtwGDoWmD7NAk5b6niTZFAG1Di-r6BgtzmLqWWBFGlKbPiM
0xd1afbab5cacb45491ce002a6026c1401340eae6a
0xdd094342c13F9E4340E2c07C63D9fD98e7BA1C62
Alphanumeric values
0xb91467e570a6466aa9e9876cbcd013baba02900b8979d43fe208a4a4f339f5fd6007e74cd82e037b800186422fc2da167c747ef045e5d18a5f5d4300f8e1a0291c
Merge account
Project ID
Platform ID
Rules checkbox used in the registration process or in the rules acceptance process with an existing account
Referral settings ID
Referral code
Personal details
External login data
Possible scenarios:
1. hasAccount && hasRulesChecked
- The user has an account in the system.
- The user has accepted the metaproID regulations and the selected application’s regulations.
2. hasAccount && !hasRulesChecked
- The user has an account in the system.
- The user has not accepted the metaproID regulations or the selected application’s regulations.
3. !hasAccount && !hasRulesChecked
- The user does not have an account in the system.
- The user has not accepted the metaproID regulations or the selected application’s regulations.
/v2/auth/web3/check/{wallet}
The wallet address to check
0x...
The project ID to check the wallet against
project-id
The type of external account to check
steam
No body
This endpoint allows to add a new wallet address to an existing account. If the wallet is already linked to another account then it is possible to merge them if the existing account does not have linked external accounts.
/v2/auth/web3/new-address
FjWEtwGDoWmD7NAk5b6niTZFAG1Di-r6BgtzmLqWWBFGlKbPiM
asduf823hf-sa98ehf938rh
5a945f88-1de8cb-c6a1b4-1314ebac6bd1
0xd1afbab5cacb45491ce002a6026c1401340eae6a
0xdd094342c13F9E4340E2c07C63D9fD98e7BA1C62
Alphanumeric values
0xb91467e570a6466aa9e9876cbcd013baba02900b8979d43fe208a4a4f339f5fd6007e74cd82e037b800186422fc2da167c747ef045e5d18a5f5d4300f8e1a0291c
Name of the wallet
Type of the wallet
Confirmation of merge wallet with existing wallet
This endpoint doesn't delete account, just remove a wallet (different than currently logged in)
/v2/auth/web3/remove/{wallet}
0xdd094342c13F9E4340E2c07C63D9fD98e7BA1C62
asduf823hf-sa98ehf938rh
5a945f88-1de8cb-c6a1b4-1314ebac6bd1
Only for logged in
/availability/{username}
asduf823hf-sa98ehf938rh
5a945f88-1de8cb-c6a1b4-1314ebac6bd1
/profiles
2
2
["0xdd094342c13F9E4340E2c07C63D9fD98e7BA1C62","0xdd094342c13F9E4340E2c07C63D9fD98e7BA1C63"]
["9aef833a-6714-4079-a95d-fd0079375a34","9aef833a-6714-4079-a95d-fd0079375a34"]
["934fdc4d46-289f-e6469f-19c08504118f","934fdc4d46-289f-e6469f-19c08504118f"]
Project ID
{"createdAt":"desc","visitedAt":"desc","engagementPoints":"desc"}
/update
asduf823hf-sa98ehf938rh
5a945f88-1de8cb-c6a1b4-1314ebac6bd1
/update/wallet/{wallet}
The wallet address
0x1234567890abcdef
asduf823hf-sa98ehf938rh
5a945f88-1de8cb-c6a1b4-1314ebac6bd1
The name of the wallet
My Wallet
No body