Add GET and POST routes for notifications to web API.