Skip to main content
Learn how to manage teams and users with the Rise B2B API using the official SDK. The SDK provides methods for team updates, user management, and team invitations.

Team Management Flow

1

Initialize SDK

Set up the Rise SDK with authentication
2

Get User Teams

Retrieve teams associated with the current user
3

Update Team Settings

Modify team information and settings
4

Manage Team Members

Send invitations and manage team membership

SDK Installation

First, install the Rise SDK:

Getting Started

Initialize the SDK

Team Management Operations

Get User’s Teams

Retrieve all teams associated with the current user:

Update Team Information

Update team settings and information:

Team Invitations

The SDK provides different approaches for sending team invitations depending on the role:

Regular Team Invitations

For regular team members (employees, viewers), no signing is required:
What the SDK does automatically:
  1. Validates invitation data and permissions
  2. Sends invitations to the specified email addresses
  3. Handles authentication and JWT token management
  4. Provides error handling and validation

Manager Invitations (Requires Signing)

For manager-level invitations (team_admin, finance_admin), signing is required. The SDK must be initialized with a private key for automatic signing:
What the SDK does automatically:
  1. Generates typed data for EIP-712 signing
  2. Signs the typed data using your private key
  3. Submits the signed invitation to the Rise API
  4. Handles authentication and JWT token management
  5. Provides error handling and retry logic

Manual Manager Invitations

For more control over manager invitation signing, you can handle the signing manually:
What the manual flow provides:
  1. Custom signing logic - You control when and how to sign
  2. Typed data inspection - You can examine the data before signing
  3. Signature verification - You can verify the signature before submission
  4. Error handling control - Custom error handling for each step
  5. Integration flexibility - Easier integration with existing signing workflows

Complete Team Management Example

Here’s a complete example using the Rise SDK:

Team Roles and Permissions

Error Handling

The SDK provides comprehensive error handling:
Common team management errors:

Best Practices

Always maintain at least one team admin to prevent losing access to team management capabilities.

Team Management Best Practices

  • Role Hierarchy: Use the principle of least privilege when assigning roles
  • Regular Audits: Periodically review team members and their permissions
  • Documentation: Keep records of team structure and permission changes
  • Backup Admins: Always have multiple admins for critical teams
  • Permission Reviews: Regularly review and update member permissions

SDK Best Practices

  • Error Handling: Implement proper error handling for all team operations
  • Authentication: Use Rise ID authentication for automatic JWT management
  • Environment: Use staging environment for testing team operations
  • Logging: Log team management operations for audit purposes

Testing Team Management

For testing, use the staging environment:

Next Steps

Authentication Guide

Learn how to authenticate with Rise using the SDK

Payment Integration

Process payments for team members

Web3 Integration

Advanced blockchain integration features

Error Handling

Comprehensive error handling and troubleshooting
Need help? See the Teams page for detailed team management concepts or contact support at Hello@Riseworks.io