Endpoint
Authentication
Requires authentication via API token or session cookie.Query parameters
Number of recent files to return (min: 1, max: 100)
Response
Returns an array of file objects, ordered by creation date (most recent first).Unique identifier for the file
Generated filename (without extension)
Original filename when uploaded
MIME type of the file
File size in bytes (as string)
ISO 8601 timestamp of when the file was uploaded
ISO 8601 timestamp of when the file will be automatically deleted, or null if no expiration
Maximum number of views before auto-deletion, or null if unlimited
Current view count
Whether the file is marked as a favorite
Whether custom embed is enabled
Whether the file is password-protected (actual password is never returned)
Examples
Get 3 most recent files (default)
Get 10 most recent files
Response
Use cases
- Display recent uploads in a dashboard
- Show upload history in client applications
- Build activity feeds
- Quick access to recently uploaded files
Notes
- Files are ordered by
createdAttimestamp in descending order - The
passwordfield only indicates whether a password is set (never returns the actual password) - Maximum of 100 files can be requested at once