Is there a way to set alerts via REST API?
There are no APIs for Sentinel. You can check out Kite connect: https://kite.trade