Skip to main content
The Limitly Next.js SDK provides comprehensive user management capabilities for your application.

Creating Users

Create new user accounts:

Listing Users

Retrieve all users in your application:

Getting User Details

Get detailed information about a specific user:

Updating Users

Update user properties:

Deleting Users

Delete user accounts when they’re no longer needed:

User Usage

Get usage statistics for a user:

User API Keys

Get all API keys associated with a user:

API Route Example

Here’s a complete example of user management in a Next.js API route:

User Status Management

Manage user account status:
Search for users by various criteria:

Error Handling

Handle user management errors:

User Properties

The SDK supports the following user properties:
  • user_id: Unique identifier for the user
  • name: User’s display name
  • email: User’s email address (optional)
  • is_disabled: Whether the user account is disabled
  • created_at: Timestamp when the user was created
  • updated_at: Timestamp when the user was last updated
  • custom_start: Custom start date for usage tracking (optional)
  • plan: Associated plan information (optional)

Next Steps