New API rules breaking old script, help

This sounds bad.

It almost sounds like you’re suggesting I should not be running this piece of the works on each page load, am I understanding correctly?

Definitely, I dig using webhooks in JS frameworks, but I’ve never attempted it with Wordpress.