I’m working on integrating Calendly with my ASP.NET application and need help with webhook data handling. I’ve successfully set up webhook subscriptions, and I can see them registered in the Calendly API endpoints. Using Postman, I can access individual webhooks by their ID during local development.
My main challenge is figuring out the correct API calls to retrieve webhook information and process the JSON data in my application. I need to extract specific details like participant email addresses, event dates, and event status from the webhook payload.
What’s the proper approach to fetch this webhook data programmatically? I’m particularly interested in parsing the JSON response to get attendee information and event details for my app.
hey laura, just a heads up, webhooks send data to your endpoint automatically, you don’t fetch it. u should create a controller for handling POST requests and grab the json from the body. all the info like emails and dates will be there. good luck!
Skip trying to fetch the data - set up a dedicated endpoint that receives Calendly’s POST requests instead. Create a controller action that takes the webhook payload and deserialize the JSON into strongly-typed classes. The payload has nested objects for event and invitee data, so your models need to match that schema. I’d log the raw JSON first to see the exact structure before building your parsing logic. Don’t forget Calendly requires webhook signature verification - add that validation to your endpoint so you know the requests are legit. The event object has everything you need: start_time, end_time, and an invitees array with email addresses.