Overview
The User API allows you to retrieve user information, manage storage usage, and mark notifications as read. All endpoints require authentication.Base Endpoint
Authentication
All User API endpoints require authentication. Include your authentication token in the request headers.User Object
The User object contains the following fields:Unique identifier for the user (UUID)
User’s email address (unique, max 100 characters)
User’s first name (max 100 characters)
User’s last name (max 100 characters)
Whether the user account is active
Array of channel IDs where the user has edit permissions
Array of channel IDs where the user has view-only permissions
Total disk space allocated to the user in bytes (default: 524288000)
Amount of disk space currently used by the user in bytes
List Users
Retrieve a list of users based on filter criteria.Query Parameters
Comma-separated list of user IDs to fetch (max 50)
Filter users by channel ID. Returns users with edit access to the specified channel.
When used with
channel parameter, also includes users with view-only accessExample Request
Example Response
Get Storage Used
Retrieve the current storage space used by the authenticated user.Example Request
Example Response
Refresh Storage Used
Recalculate and update the storage space used by the authenticated user.Example Request
Example Response
Mark Notifications Read
Mark all notifications as read up to a specific timestamp.Request Body
ISO 8601 timestamp of the last read notification
Example Request
Example Response
Returns HTTP 204 No Content on success.Permissions
All User API endpoints require:- Authentication: User must be logged in (
IsAuthenticated) - Scope: Users can only access their own information unless they have admin privileges
Error Responses
400 Bad Request
Invalid request parameters or malformed data
401 Unauthorized
Missing or invalid authentication token
403 Forbidden
User does not have permission to access the requested resource
404 Not Found
User or resource not found
