Hiya - would it be possible to add booking `uid` t...
# api
m
Hiya - would it be possible to add booking
uid
to the data included in the
bookingSuccessful
action? https://developer.cal.com/embed/set-up-your-embed#following-are-the-list-of-supported-actions I’ve got an embed of Cal on my site and want to know when users create bookings and give them easy ways to reschedule/cancel them. To do that I need to
uid
and the only way I can see so far of getting it, is • wait for the
bookingSuccessful
action to fire • look at the
eventType
and
date
• make an API call to get all bookings, filter by the
eventType
and
date
This will probably work, but seems roundabout?
e
We had this problem yesterday, and since we are self-hosting, we just returned the booking info here:
sdkActionManager.fire("bookingSuccessful")