Inviting Users
The ContactsManager SDK provides a powerful invite system that enables controlled app growth, user acquisition tracking, and viral loop implementation. The invite service supports multiple distribution methods and provides detailed analytics for measuring growth effectiveness.Accessing the Invite Service
The invite service is accessed through the ContactsManager shared instance:Invite Code Management
Getting Current Invite Code
Retrieve the user’s current invite code, or create one if none exists:Getting Invite Link
Retrieve the full invite URL for web-based sharing:Creating New Invites
Manually create a new invite (useful for generating fresh codes):Invite Validation and Redemption
Validating Invite Codes
Validate an invite code before allowing redemption:Redeeming Invites
Redeem an invite code for a new user:Getting Invite Details (Public)
Get detailed invite information for landing pages (doesn’t require authentication):Invite Analytics and Tracking
Checking Remaining Invites
Get the number of invites the current user has left:Getting Invited Users
Retrieve the list of users invited by the current user:Finding Who Invited You
Get information about who invited the current user:Bulk Email Invitations
Checking Email Invite Availability
Verify if bulk email invites are available for your organization:Sending Bulk Email Invites
Send invite emails to multiple contacts at once:Building Invite Flows
Basic Invite Sharing
Create a simple invite sharing interface:Invite Redemption Flow
Handle invite code redemption during onboarding:Invite Analytics Dashboard
Display invite performance and user relationships:Best Practices
Invite Limit Management
- Start Conservative: Begin with 3-5 invites per user to create scarcity
- Reward Quality: Give additional invites to users whose invitees become active
- Monitor Growth: Adjust limits based on server capacity and user acquisition goals
User Experience
- Clear Value Proposition: Explain why users should invite friends
- Social Proof: Show mutual connections and successful invitations
- Immediate Connection: Help invited users connect with their inviter quickly
Growth Optimization
- Track Conversion: Monitor invite-to-signup and invite-to-active-user rates
- A/B Test Messages: Experiment with different invite email templates
- Analyze Networks: Identify users who bring high-quality new members
Privacy Considerations
- Minimal Exposure: Invite codes contain no personal information
- User Control: Allow users to disable invite notifications
- Data Retention: Implement policies for invite relationship data