Create booking on profile
documentedCreate a new booking on a specific booking page (profile).
POST /v1/profiles/{profileId}/bookingsProfilesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.youcanbook.me/v1/profiles/{{$profile_id}}/bookings" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"startsAt": "{{$startsAt}}", "timeZone": "{{$timeZone}}", "units": {{$units}}, "numberOfSlots": {{$numberOfSlots}}, "answers": [ {"code": "EMAIL", "string": "{{$email}}"}, {"code": "FNAME", "string": "{{$firstName}}"}, {"code": "LNAME", "string": "{{$lastName}}"} ]}'