Creates a new booking for a specific event and owner. The request requires the event_id, and guest details. If successful, the API responds with 201 Created and returns a unique booking_id representing the newly created booking.
cURL
curl --request POST \ --url https://api.calendbook.com/calendars/bookings \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "booking_date_time": "2023-11-07T05:31:56Z", "event_id": "<string>", "guest": { "name": "<string>", "email": "[email protected]", "timezone": "<string>" }, "notes": "<string>" } '
{ "booking_id": "4a9c017b-8d6c-4bee-9d49-a179cad49c5" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Show child attributes
Booking created
Was this page helpful?