Control Devices in ewelink over a third party control system

I have some sonoff mini devices installed in my home and it was originally installed as DIY mode. With this i create a crestron module to control the devices. and it works fine.

Now I want to change some things. i would like to use ewelink to control the sonoff mini, and add some other sonoff devices that doens have the diy mode.
So I want to know if theres some Rest API to ewelink system, that allows me to control the devices from the crestron system.

if you have any tipe of rest API to ewelink system it should be amazing.

It should work, many have already done it. Pairing the ewelink account on the https://sequematic.com which connects to CoolKit servers works in a similar way.
In the extreme case, the webhook remains…

https://sonoff.tech/diy-developer/