Reputation: 366
When I register a webhook for a users events as described here in the official docs and then insert an event in the non-default calender of that account (which I created before registering the webhook) I do not get a notification on the webhook url.
Only the "main calendar" (just named "Calendar") seems to have the hook attached.
My questions are:
Upvotes: 0
Views: 66
Reputation: 366
Turns out I interpreted the API docs wrong. I thought with the graph API, calendar webhooks were reworked, so you only subscribet to all calendars once and no longer to individual ones. So yeah.
Subscribing to specific calendars looks like this:
{
"resource": "/me/calendars/{id}/events"
}
Upvotes: 1