Hello I was wondering if it is possible to do resc...
# developers
j
Hello I was wondering if it is possible to do rescheduling using embed. The following does not work
Copy code
<button data-cal-link="reschedule/tTXX3qJ58FeP6McLcJTBZm">
  Reschedule
</button>
This will show a 404 page. Do I have manually fetch the page
/reschedule/tTXX3qJ58FeP6McLcJTBZm
and get the “real” link from the redirect?
Also cancelling in a popup doesn’t seem to work.
I would assume this to work
Copy code
<button data-cal-link="success?uid=tTXX3qJ58FeP6McLcJTBZm&cancel=true">
  Cancel
</button>
k
@Jakob Pupke do you have a link to any docs on this? this is something i am interested in as well
j
Here are the docs. https://developer.cal.com/embed/set-up-your-embed But the docs only seem to cover the scheduling part. Not rescheduling and cancelling.
Why is no one ever responding, Calcom?
m
@Peer @Ali @Shiraz Dole might be able to help
a
Thanks for the tag @Mayank Nagpal I'm not entirely sure if rescheduling is possible with the embed @Jakob Pupke. Our developer @Hariom Balhara is currently OOO on paternity leave and should resume work next week. He's arguably the best man to confirm, as well as add support for it (if unsupported).
m
rescheduling is possible….just send cal link as …….data-cal-link=“sucess?uid={tTXX3qJ58FeP6McLcJTBZm}&cancel=true&allRemainingBookings=false” uid of a meeting you can get from webhook response or API call. keep me in Mind uid gets updated everytime you reschedule a meeting. For delete I was also not able to find the solution.
h
@Jakob Pupke Sorry about the bad experience. I was OOO for past 2 weeks on paternity leave and didn't check messages. Following should have worked and it broke recently during speed optimization of embed pages.
Copy code
<button data-cal-link="reschedule/tTXX3qJ58FeP6McLcJTBZm">
  Reschedule
</button>
Here is the fix for it https://github.com/calcom/cal.com/pull/5861. That being said, you can still do rescheduling using the alternative link in the format
/rick/30min?rescheduleUid=[BOOKING_ID]
@Mayank Nagpal Thanks for helping out with your approach. For deletion, right now it's not possible as embed currently supports only unauthenticated/public pages and deletion would require authentication. There is work in progress for that in a new approach called Cal Atoms. https://cal.com/atoms