Public API
    Public API
    • Welcome to the deskbird Public API
    • Users
      • Lists company users
        GET
      • Lists single company user
        GET
    • Bookings
      • Lists company bookings
        GET
      • Creates booking
        POST
      • Lists single company booking
        GET
      • Updates booking
        PATCH
      • Cancels booking
        PATCH
      • Check in to the booking
        PATCH
      • Early release the booking
        PATCH
    • Groups
      • Lists company user groups
        GET
      • Lists single company user group
        GET
    • Resources
      • Get a resource by id
        GET
      • Lists company resources
        GET
    • Offices
      • Lists company offices
        GET
      • Check User into Office
        POST
    • Scheduling
      • Lists company scheduling
        GET
      • Delete scheduling statuses by IDs
        DELETE
      • Add new scheduling statuses for a user
        POST
    • Scheduling Options
      • Lists company scheduling options
        GET
    • Rooms
      • Lists company rooms
        GET
      • Gets single room
        GET
      • Lists room bookings
        GET
      • Create a room booking
        POST
      • Gets single room booking
        GET
      • Update a room booking
        PATCH
      • Check in to a room booking
        PATCH
      • Cancel a room booking
        PATCH
    • Schemas
      • BookingStatus
      • Provider
      • ResourceType
      • GuestEmbeddedResponse
      • UserStatus
      • ResourceEmbeddedResponse
      • UserIncludeOptions
      • UserEmbeddedResponse
      • BookingResponse
      • PaginatedBookingResponse
      • AddressResponse
      • OfficeResponse
      • BookingHistoryResponse
      • ResourceResponse
      • EnvelopedOfficeResponse
      • PaginatedResourceResponse
      • CheckUserIntoOfficeBody
      • CreateBookingGuestDto
      • CreateBookingDto
      • UpdateBookingDto
      • CheckInDto
      • SharedResourceAccessInfoResponse
      • DedicatedResourceAccessInfoResponse
      • SchedulingOutput
      • UserStatusInput
      • AddUserStatusesInput
      • SchedulingOptionOutput
      • AttendeeResponse
      • RoomBookingResponse
      • PaginatedRoomBookingResponse
      • RoomBookingDetailedResponse
      • AttendeeDto
      • RoomResponse
      • PaginatedRoomResponse
      • CreateRoomBookingDto
      • UpdateRoomBookingDto

    Bookings

    The Booking API allows you to retrieve booking data from the Deskbird system. You can fetch multiple bookings with various filtering options or retrieve details of a specific booking.

    Authentication#

    All booking-related endpoints require authentication via a valid API Key in the Authorization header. Ensure that you include a valid API key in your requests.

    Endpoints#

    1. Get Bookings#

    Endpoint:
    GET /bookings
    Description:
    Retrieves a list of bookings based on the provided filters. This endpoint supports pagination and allows filtering by different booking attributes.
    Query Parameters:
    bookingId (string, optional) – The unique ID of a booking.
    endDate (Date, required) – The end date of the search period.
    limit (integer, optional) – The maximum number of bookings returned per request.
    officeId (string, optional) – The ID of the office where the booking is located.
    offset (integer, optional) – The starting point for retrieving bookings (used for pagination).
    resourceId (string, optional) – The ID of the resource associated with the booking.
    startDate (Date, required) – The start date of the search period.
    status (BookingStatus, optional) – The status of the booking.
    userId (string, optional) – The ID of the user associated with the booking.
    zoneId (string, optional) – The ID of the zone where the booking is located.
    Headers:
    Authorization: Bearer <your_api_key>
    Example Request:

    2. Get Single Booking#

    Endpoint:
    GET /bookings/{bookingId}
    Description:
    Retrieves details of a specific booking by its unique bookingId.
    URL Parameters:
    bookingId (string, required) – The unique identifier of the booking to be fetched.
    Headers:
    Authorization: Bearer <your_api_key>
    Example Request:

    By using the Booking API, you can efficiently manage bookings while ensuring secure access through token-based authentication.
    Previous
    Lists single company user
    Next
    Lists company bookings
    Built with