Skip to main content
POST
Create a booking

Authorizations

Authorization
string
header
required

See our authentication documentation for how to authorize your requests

Scopes

resources

Read and write resources and bookings

Headers

spacebring-network-id
string<uuid>

The id of the network. Required when using bearer token authentication

Body

application/json
booking
object
required
paymentMethod
object

Payment method the booking is paid with. Pass the external method to record a payment collected outside Spacebring: succeeded confirms the booking, pending keeps it tentative until the payment is marked as paid. With Basic authentication, also pass the membershipRefOwner of the customer the booking is paid for. Omit the field to create a free booking.

Response

Created

booking
object
required

The booking.