Skip to main content

Hey folks, how are you?

Is it possible to update an event type via API? For instance, I have a webhook that sends me some data, and I would like to modify the event type to a dynamic duration so that when the client schedules an appointment in Calendly, it calculates the time interval and blocks the corresponding time slots.

Example: 2 hours and 20 minutes. The client schedules the service at 5 PM, so I would block the calendar from 5 PM to 7:20 PM.

Currently, it’s not possible to update existing event types using the API. However, we do offer an alternative that might work for your use case. You can use our Create/Share Single-Use Link API to generate a new one-time use version of an event type. This approach allows you to define specific parameters, such as durations, and replicate much of the original event type’s settings.

 

You can find more details and examples for this API in our reference documentation here:

Create Single-Use Scheduling Link API

 

If you have further questions or need assistance setting this up, feel free to let me know—I’d be happy to help!


Sure, thanks for sharing.

I have a follow-up question regarding this approach:
I understand that I will generate a unique link with the parameters I need to schedule appointments.


Here’s my use case:
I have Client A, who scheduled a 3-hour service (parameter sent) for December 7th at 5 PM using a unique link.
 

I also have Client B, who scheduled a 2-hour and 25-minute service (parameter sent) for the same day, December 7th.

My question is: Will Client B, using a different unique link, be able to schedule the service only in time slots that are not already booked? In other words, will the time range from 5 PM to 8 PM, booked through Client A's unique link, appear as unavailable for Client B's unique link?


Hey ​@SparkClean thanks for the question! 

Calendly will check the connected calendar for busy events, and reference itself as a condition for showing available times. So in your example, client B and client A will NEVER be able to schedule at the same time accidentally as a by-produce of using different scheduling links. 


In other words, even if I sent you 2 completely separate event types and links, once a time is booked the other event type will not be available. This is because Calendly references itself when looking to see if a date/time is available. Hope this helps!


Reply