Automatic webhook notification when creating events in Google Calendar API

I’m working with the PHP client library for Google’s calendar service to read and create calendar entries. I need to keep my local database in sync with the calendar data.

Is there a way to get instant notifications when someone creates a new event directly in Google Calendar? I’m hoping to avoid running scheduled tasks that constantly check for changes. Maybe there’s some kind of webhook or notification system I can set up?

Any suggestions would be helpful!