Add public API endpoint