A User in R2R represents an authenticated entity that can interact with the system. Users are the foundation of R2R’s access control system, enabling granular permissions management, activity tracking, and content organization through collections.

Users in R2R provide:

  • Authentication and authorization
  • Collection membership management
  • Activity tracking and analytics
  • Metadata customization
  • Superuser capabilities for system administration

Available Endpoints

MethodEndpointDescription
GET/usersList users with pagination and filtering (superusers only)
GET/users/{user_id}Get detailed user information
GET/users/{user_id}/collectionsList user’s collections
POST/users/{user_id}/collections/{collection_id}Add user to collection
DELETE/users/{user_id}/collections/{collection_id}Remove user from collection
POST/users/{user_id}Update user information