alert-sender to use API endpoint