Create a booking
create_bookingMUTATES YouCanBookMe data: creates a booking (appointment) on a profile. YCBM API: POST /v1/bookings (JSON). Required: profileId, startsAt, endsAt (ISO 8601 times). Optional: title, timeZone, locale, units. Complex fields like answers (form-field answers) and linkFields should be passed via the fields passthrough. Returns the created booking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Booking title. | |
| units | No | Number of slot units to book. | |
| endsAt | Yes | Booking end time, ISO 8601 (required). | |
| fields | No | Additional documented YCBM fields to send in the JSON write body — merged OVER the typed fields above. | |
| locale | No | Locale for the booking (e.g. en-GB). | |
| startsAt | Yes | Booking start time, ISO 8601 (required). | |
| timeZone | No | IANA time zone for the booking (e.g. Europe/London). | |
| profileId | Yes | The profile (booking page) id to book on (required). |