I’m planning on registering a webhook to receive “invitee.created” events in real-time for my organization. I’m also planning to code a backup job, which can use the Calendly API to fetch invitee.created events. That way, if for whatever reason, the webhook callbacks are lost or quit being received, the backup job can fetch the invitee information until the webhook subscription issues are resolved.
How would you recommend getting the invitee created data using the API? It appears the `activity_log_entries` endpoint does not return events, unless the event is triggered by a user, who belongs to the organization. In my case, the people, who book a meeting/event, are not members of the organization.
So, it looks like the only way to get the invitee created data is to fetch all active scheduled events using `scheduled_events` endpoint with status = active. Then, make an individual call for each scheduled event to fetch invitees data. If we have 100 active scheduled events, we’d need to make 100 calls to fetch invitees.
Is there a better way to fetch the invitee.created events?
Best answer by Austin
View original