Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Starts listening for incoming requests on this port.

Component Version macOS Windows Linux Server iOS SDK
WebHook 11.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "WebHook.Listen"; WebHook; Port { ; Queue Length } )   More


Parameter Description Example Flags
WebHook The reference number of the web hook. $webhook
Port The port number to use.
Between 1024 and 65535.

Can be zero to pick random port (since v12.5)
Queue Length Available in MBS FileMaker Plugin 13.1 or newer.
How many entries the queue should have for waiting connections to process.
Default is 10.
Range is from 2 to 100.
10 Optional


Returns OK or error.


Starts listening for incoming requests on this port.
You may need to allow incoming connections for FileMaker application in your firewall application.

The queue for incoming connections waiting to be accepted by the plugin is currently 10.


Listen on port 9999:

Set Variable [ $r ; Value: MBS("WebHook.Listen"; $$WebHooks; 9999) ]

Listen on new port:

Set Variable [ $$WebHooks ; Value: MBS("WebHook.Create") ]
Set Field [ WebHook::Server Webhook ; $$WebHooks ]
# ask for new random port
Set Variable [ $r ; Value: MBS("WebHook.Listen"; $$WebHooks; 0) ]
# set trigger script
Set Variable [ $r ; Value: MBS("WebHook.SetScript"; $$WebHooks; Get(FileName); "WebHookReceived") ]
# query port
Set Field [ WebHook::Server Port ; MBS( "WebHook.GetPort"; $$WebHooks ) ]

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 13th October 2021, last changed 24th January 2023

WebHook.List - WebHook.Release