API de notification