---
title: "confirm(getAvailableRestaurantReservationBookings:completion:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/ingetavailablerestaurantreservationbookingsintenthandling/confirm(getavailablerestaurantreservationbookings:completion:)"
---

# confirm(getAvailableRestaurantReservationBookings:completion:)

Confirms whether you can provide a set of potential reservation times.

## Declaration

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

```swift
optional func confirm(getAvailableRestaurantReservationBookings intent: INGetAvailableRestaurantReservationBookingsIntent) async -> INGetAvailableRestaurantReservationBookingsIntentResponse
```

## Parameters

- `intent`: The intent object containing details about the request. The information in this object has already been resolved by your handler object.
- `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:

## Discussion

Discussion Implement this method to validate that you can generate a set of potential reservation times. For example, you might use this method to verify the user’s account information. At some point in your implementation, execute the provided completion block with a response object indicating your app’s readiness to generate the reservation details.
