<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INGetAvailableRestaurantReservationBookingsIntentHandling/handle(getAvailableRestaurantReservationBookings:completion:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(pl)INGetAvailableRestaurantReservationBookingsIntentHandling(im)handleGetAvailableRestaurantReservationBookings:completion:"
  },
  "title" : "handle(getAvailableRestaurantReservationBookings:completion:)"
}
-->

# handle(getAvailableRestaurantReservationBookings:completion:)

Handles generating the list of potential reservation times.

```
func handle(getAvailableRestaurantReservationBookings intent: INGetAvailableRestaurantReservationBookingsIntent, completion: @escaping @Sendable (INGetAvailableRestaurantReservationBookingsIntentResponse) -> Void)
```

## Parameters

`intent`

The intent object containing details about the request. The information in this object has already been resolved and confirmed.

`completion`

The handler block to execute with your response. You must execute this handler at some point during your implementation of this method. This handler has no return value and takes the following parameter:

- response: The [`INGetAvailableRestaurantReservationBookingsIntentResponse`](/documentation/Intents/INGetAvailableRestaurantReservationBookingsIntentResponse) object you create to report the status of the request. This parameter must not be `nil`.

## Discussion

Your implementation of this method must create one or more [`INRestaurantReservationBooking`](/documentation/Intents/INRestaurantReservationBooking) objects representing the potential reservations from which the user can choose. Each reservation booking object contains the time of the reservation along with special offers and any requirements for making the reservation. When done, execute the provided block with a response object that contains your reservation booking objects.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)