Book from a hold or a quote
post/public/bookings/book
Book from a hold or a quote; answers with the booking, its terms and a link to manage it.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
bookings:read- Graphql
Mutation.createPublicBooking- Sdk
bookings.public.book- Cli
bookings public book- Events
bookings.booking.created- Publishable
yes
Request bodyapplication/json, required
- serviceIdstring (uuid)required
- startstring (date-time)required
- durationMinutesintegerAt least 5. At most 1440.
- partySizeintegerDefault: 1. At least 1. At most 10000.
- resourceIdslist of string (uuid)
- sessionIdstring (uuid)
- quotestringAt most 4000 characters.
- holdIdstring (uuid)
- contactobjectrequired
- namestringrequiredAt most 160 characters.
- emailstring (email)At most 254 characters.
- phonestringPattern: ^+?[0-9 ()-]{6,20}$.
- localestringAt most 20 characters.
- namestringrequired
- consentobjectDefault: {}.
- emailboolean
- smsboolean
- voiceboolean
- whatsappboolean
- intakeobjectDefault: {}.
- notesstringDefault: . At most 2000 characters.
- channelstringOne of: owner, widget, api, mcp, phone, chat, import. Default: api.
- idempotencyKeystringrequiredAt most 120 characters.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring