What is the legality of algos trading for retailers in India?

I am getting my algo app made on zerodha API based on the strategy I have made. It will do stock/index selection automatically and buy/sell open/close positions automatically. Do I need to take any permissions from any authorities since on quora (link given) there are answers which mentions getting authorised personnel and strategy approval etc.

Long story short is it completely legal to build your own app that conducts trades on zerodha through their API key?

Thanks in advance