<@U032CMXGG4A> <@U02BS9YFFL7> Has anything changed...
# api
v
@Agusti @zomars Has anything changed with the bookings API? I am trying to create a new booking by doing a POST to
<https://api.cal.com/v1/bookings?apiKey=>
with body:
Copy code
{
  "eventTypeId": 73558,
  "uid": "23111",
  "startTime": "2022-06-21T17:00:00.000Z",
  "endTime": "2022-06-21T17:45:00.000Z",
  "title": "booking"
}
and I am getting a
400
with message
Bad request. Booking body is invalid.
My request seems to match the documentation at https://documenter.getpostman.com/view/20666831/Uz5ArJni#97dc9de7-fab6-4eb0-843d-472cb0a73524
@Vikram just wanted to tag you as well in case I'm doing anything wrong. is the booking creation working for you currently? 🙂
p
let me ping @Agusti
not aware of any api changes recently
a
Hey @Varun Krishnamurthy I think it’s the uid value, we have made it automatically generate an uuid now and you don’t have to pass it anymore. Will update the docs, thanks for reporting.
🙏 1