Now I can create OTO (One-Triggers-the-Other) order via API?

Hello
I am developing a trading system and I need to constantly adjust orders for various entry points. Through the web interface, I can make an OTO (One-Triggers-the-Other) order, set a take profit and stop loss in it at once, and there can be many such orders for one coin, depending on market conditions. However, I did not find any information on how to collect the same order through the api. Please tell me how I can do this

If you’re setting TP and SL at once, then it’s OTOCO, which at the moment is not possible via API, but you could consult more on: