Hi Andreas,
Yes, it is very possible to have Wazuh manager forward one or more select classes of alerts to the API of your choice. For this purpose Wazuh developed the integrator facility. Read more about it here:
Three different API integrators are already built in and the scripts you find in /var/ossec/integrations/ can readily be copied and customized to work with your own target APIs. This facility allows for handing off the entire alert as a single-line JSON file to an integrator script of your choice, which is exemplified nicely in /var/ossec/integrations/slack and /var/ossec/integrations/virustotal. You might also look at /var/ossec/integrations/pagerduty which uses a legacy method of handing off alert field values in a multi-line name=value format text file. Really the possibilities are endless with the integrator facility if you are up to coding for your specific target API(s), plus there are already great examples included to get you started. Have fun!
If you come up with a new integrator for something of use to the wider group, please consider contributing it back to the community. I'd love to see a richer set of built-in integrators included with Wazuh. We've only barely tapped the Wazuh integrator system's potential so far.
Regards,
Kevin Branch