Hi,
This would be challenging because your web server doesn't have permission to write to syslog or auth.log and I don't think it has permissions to use the API.
If there's some sort of REST API or another type we can plug into to make this happen let me know.
Regards,
Mark.