Added new API endpoint