Logic Machine Forum
Logicmachine as webhook - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Logicmachine as webhook (/showthread.php?tid=6034)



Logicmachine as webhook - bednarekluc - 23.06.2025

Hello,

I want to use the logicmachine as the receiver for a webhook.
In unifi protect I can create an alert to send info to a custom web hook.
It can use GET/POST method and you can add headers to it.
Is there a way that Logicmachine can receive these calls and put it on the KBX bus?


RE: Logicmachine as webhook - Daniel - 23.06.2025

Use remote services
https://kb.logicmachine.net/misc/remote/
You will also need to send basic auth headers for it to work, use this site to generate them
https://www.debugbear.com/basic-auth-header-generator
This works fine with Unifi.