Skip to main content
POST
Create a booking

Authorizations

Authorization
string
header
required

See our authentication documentation for how to authorize your requests

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. Omit the field to create a free booking.

Response

Created

booking
object
required

The booking.