Add API to web app