add web api for notification