notification if api is hit