...
More details on how to work with scripts can be found here.
The directory where the Castom Custom script should be saved: "/ usr/lib/zabbix/alertscripts"
The script itself contains "curl" with "post" and "put" requests, the script looks like this:
...
Guidance to create a request can be found here.
A complete list of macros that can be passed to parameters using Zabbix can be found at link.
...