Calling eWeLink Webhook Examples

I’m developing a web app and looking for an example where Javascript/ and or PHP (or anything else) is used to trigger a eWeLink Webhook immediately and process its results. This code will be used to trigger a relay which in turn turns on and ESP32 microcontroller. Again, it is important that the relay is turned on immediately because it gates other functionality in my code.