Hi <@U032CMXGG4A> <@U02BS9YFFL7> <@U01MT8QJMPH>, I...
# api
v
Hi @Agusti @zomars @Emrysal, I am trying to do a POST to
/bookings
in order to create a booking via API. I followed the API docs but I keep getting a 400
"Bad request. Booking body is invalid."
This is an example cURL request:
Copy code
curl -X POST -H "Content-Type: application/json" --data '{"title": "15min", "startTime": "2022-05-24T16:00:00.000Z", "endTime": "2022-05-24T17:00:00.000Z"}' '<https://api.cal.com/v1/bookings?apiKey=cal_live_*****>'
Any idea what I'm doing wrong?
a
Looking into this right now, thanks for reporting @Varun Krishnamurthy will keep you posted on the status of this.
🙏 1
v
Im having the same issue, any luck with this @Agusti @Varun Krishnamurthy