use REST API for notify if available, since it's faster