Skip to main content
GET
/
v1
/
bookings
/
slots
Error
A valid request URL is required to generate request examples
[
  {
    "from": "2024-01-15T09:00:00.000Z",
    "to": "2024-01-15T17:00:00.000Z"
  }
]

Authorizations

Authorization
string
header
required

OAuth2 authentication for Boseat API

Query Parameters

from
string<date-time>

Start date and time to begin searching for available slots. If not provided, defaults to the current date and time.

Example:

"2024-01-15T00:00:00.000Z"

to
number

Number of days from the from date to search for available slots. If not provided, defaults to a system-defined range.

Required range: x >= 1
Example:

30

spaceId
string
required

Unique identifier of the space to check availability for.

Example:

"b4e2d8e1-fg2e-5c3f-bbe3-234567890bcd"

productId
string
required

Unique identifier of the product to check availability for. The product determines booking duration and rules.

Example:

"a3f1d7d0-ef1d-4b2e-aad2-123456789abc"

Response

List of available booking slots returned successfully. Each slot represents a time period that can be booked.

from
string<date-time>
required

Start date and time of the booking slot in ISO 8601 format. This represents when the booking period begins.

Example:

"2024-01-15T09:00:00.000Z"

to
string<date-time>
required

End date and time of the booking slot in ISO 8601 format. This represents when the booking period ends. Must be after the start date.

Example:

"2024-01-15T17:00:00.000Z"