I was creating, deleting events but the only thing was changing is the X-Goog-Message-Number
How can I differentiate watch events one from other?
So I've created watch event with PHP
$channel->setAddress('https://xxxx/handle.php');
$watchEvent = $calendar->events->watch('primary', $channel);
And when a new event comes to handle.php I've only got a header and the $_POST is empty
Here is the json
{"Content-Length":"0","Accept-Encoding":"gzip, deflate, br","User-Agent":"APIs-Google; (+https:\/\/developers.google.com\/webmasters\/APIs-Google.html)","Connection":"keep-alive","X-Goog-Resource-Uri":"https:\/\/www.googleapis.com\/calendar\/v3\/calendars\/primary\/events?alt=json","X-Goog-Resource-Id":"xxxxxxx","X-Goog-Message-Number":"xxx646","X-Goog-Resource-State":"exists","X-Goog-Channel-Expiration":"Fri, 19 Aug 2022 14:52:46 GMT","X-Goog-Channel-Id":"xxxxx","Accept":"*\/*","Host":"xxxxxxx","Content-Type":""}