Jimmy Chan
05/11/2022, 4:35 PMJimmy Chan
05/11/2022, 4:36 PMJimmy Chan
05/11/2022, 4:36 PMElias Ruiz Monserrat
05/16/2022, 9:20 AMPatrick DePippo
05/18/2022, 11:36 AMBooking.description
? Is that just so it's displayed nicely on emails? Wouldn't it potentially make more sense to have it be a separate table or at the very least a json blob?Patrick DePippo
05/18/2022, 11:37 AMAgusti
05/18/2022, 8:42 PMVarun Krishnamurthy
05/24/2022, 12:47 AM/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:
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?Bassam
05/25/2022, 11:02 PMEvan Farrell
05/30/2022, 7:48 PMPeer
Vikram
06/02/2022, 8:36 PMVikram
06/02/2022, 9:40 PMendTime
, startTime
, title
but im getting "Bad request. Booking body is invalid.". Here is the request im making
curl --location --request POST '<https://api.cal.com/v1/bookings/?apiKey=><API_KEY>' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "30 Min Meeting between Vikram and testoo",
"startTime": "2022-06-07T16:00:00.000Z",
"endTime": "2022-06-07T16:30:00.000Z"
}'
zomars
06/02/2022, 9:46 PMVikram
06/02/2022, 9:47 PMVarun Krishnamurthy
06/02/2022, 9:59 PM{
"title": "<title>",
"uid": "<unique identifier>",
"eventTypeId": <event type id>,
"startTime": "2022-05-30T11:00:00.000Z",
"endTime": "2022-05-30T12:00:00.000Z"
}
Chrissy
06/03/2022, 2:20 AMAgusti
06/06/2022, 7:34 PMVikram
06/06/2022, 9:29 PM/bookings
endpoint. Seems like its for all requests simply doing a GET
request is also failing. Any ideas? I think I broke something and now my bookings are in a borked state
{
"message": "Something went wrong",
"error": {
"code": "P2022",
"clientVersion": "3.14.0",
"meta": {
"column": "Booking.confirmed"
}
}
}
zomars
06/06/2022, 9:41 PMVikram
06/06/2022, 9:47 PMVikram
06/07/2022, 6:11 PMAgusti
06/08/2022, 2:52 PMVikram
06/08/2022, 11:27 PMVikram
06/08/2022, 11:27 PMDevan Thakur
06/10/2022, 6:24 AMVikram
06/10/2022, 4:11 PMTalently Tech
06/10/2022, 10:22 PMTalently Tech
06/10/2022, 10:22 PMAgusti
06/14/2022, 10:52 PM<https://api.cal.com/v1/availability?apiKey=YOUR_API_KEY_HERE&dateFrom=2022-06-14&dateTo=2022-06-17&userId=1>
Postman docs: https://documenter.getpostman.com/view/20666831/Uz5ArJni#8333a1d5-9df6-4134-b654-8ede7becafb5