This endpoint requires organization admin privileges. Only users with the
org:admin
role can access organization user data.Authentication
Bearer token for authentication. Must be from a user with
org:admin
role.Response
Returns an array of user objects with comprehensive details:Unique Clerk user identifier
User’s email address
User’s first name
User’s last name
User’s username (if set)
URL to user’s profile image/avatar
ISO 8601 timestamp of user’s last sign-in
Custom metadata associated with the user (department, role, vnum, etc.)
ISO 8601 timestamp when user account was created
User’s role in the organization (e.g., “org:admin”, “org:member”)
Examples
Error Codes
Bad Request - User is not part of any organization
Unauthorized - Invalid or missing authentication
Forbidden - User is not an admin in the organization
Method Not Allowed - Only GET requests are accepted
Internal Server Error - Unexpected error occurred
Use Cases
Bulk User Operations
Filter and process users based on metadata:User Management Dashboard
Build custom admin interfaces with complete user data:Invitation Status Check
Use this endpoint to verify which users have accepted invitations:Features
Complete User Data: Access all user profile information, roles, and custom metadata in a single request.- Metadata Filtering: Use publicMetadata to filter users by department, role, vnum, or any custom fields
- Role Management: See each user’s organization role (admin vs member)
- Activity Tracking: Check last sign-in times to identify active vs inactive users
- Bulk Operations: Process multiple users programmatically for invitations, role changes, etc.
Notes
- Results are ordered by email address alphabetically
- Only returns users who are active members of the organization
- Metadata structure depends on what was set during user invitation or updates
lastSignInAt
will be null for users who haven’t signed in yet (pending invitations)- Use this data to identify users for bulk operations like role updates or removal