Notifications not working with director

Hi All,

I am new to icinga2 and director module, I managed to get things installed and working so I can add services, hosts, contact groups etc but somehow whenever alert triggers it is not able to notify my webhook endpoint. webhook endpoint is mentioned in python script placed under /etc/icinga2/scripts/.

Please help me with this issue.