I need to implement two items using Splunk alert
1) Whenever an alert is triggered, it will call an REST API with the values from alerts.
2) On response REST API will be sending a list of email id as response. Splunk alert system has to use these email ids for sending the alert.
Please help me out how can I set up this in Splunk.
Thanks in advance.