Understanding User Groups
A user group can contain multiple users (wallet addresses) and syncs all user
metadata, including social handles, across all connected wallets.
Why User Groups?
- Multiple Wallets: Users often have wallets on different chains (Ethereum, Polygon, Solana, etc.)
- Shared Identity: All wallets in a group share the same social accounts and metadata
- Unified Loyalty: Points, badges, and rewards are tracked across all wallets in the group
- Seamless Experience: Users don’t need to reconnect social accounts for each wallet
Creating and Managing User Groups
Connecting a User to a Group
Use thePOST /api/users/connect endpoint to add a wallet address to a user group:
Using the Snag SDK
Disconnecting a User from a Group
To remove a wallet address from a user group, use thePOST /api/users/disconnect endpoint:
Supported Wallet Types
When connecting users to groups, specify the wallet type:evm- Ethereum and EVM-compatible chainssvm- Solana Virtual Machineton- The Open Networksui- Sui blockchaincosmos- Cosmos ecosystem chains
Metadata Synchronization
When a user/wallet address is connected to a group, all user metadata including social handles gets synced across all users in that group:User Group Workflow
1
Enable user groups
Enable the user group feature in your Snag dashboard by navigating to Customisation → User Profiles and enabling multiple wallet connections.
2
Create users
Create individual users for each wallet address using the metadata endpoint.
3
Connect to groups
Connect each wallet to the appropriate user group.
4
Verify synchronization
Check that metadata is synced across all wallets in the group.
Best Practices
Integration with Loyalty System
User groups work seamlessly with Snag’s loyalty system:- Points Tracking: Loyalty points are tracked across all wallets in a group
- Rule Completion: Social account connections and other rule completions apply to all wallets
- Rewards: Badges and rewards are shared across the entire group
- Leaderboards: Users appear as a single entity regardless of which wallet they use
For more details on how user groups work with the loyalty system, see our
Multi Wallet Support guide.
Troubleshooting
Error: 'This website does not support multiple wallet connections, please contact support'
Error: 'This website does not support multiple wallet connections, please contact support'
If you receive this error when calling the
POST /api/users/connect endpoint, it means the user group feature is not enabled for your website.Solution:- Navigate to your Snag dashboard
- Go to Customisation → User Profiles
- Enable the multiple wallet connections feature
- Retry your API call
Next Steps
Now that you understand user groups, learn how to:Connect Social Accounts
Integrate social media platforms with your users for enhanced loyalty
features.