<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 12.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INSendMessageIntentHandling/confirm(intent:completion:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(pl)INSendMessageIntentHandling(im)confirmSendMessage:completion:"
  },
  "title" : "confirm(intent:completion:)"
}
-->

# confirm(intent:completion:)

Confirms that you can send the message.

```
optional func confirm(intent: INSendMessageIntent, completion: @escaping @Sendable (INSendMessageIntentResponse) -> Void)
```

## Parameters

`intent`

The intent object that contains details about the user’s 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 while implementing this method. This handler has no return value and takes the following parameter:

- response: The [`INSendMessageIntentResponse`](/documentation/Intents/INSendMessageIntentResponse) object containing the details to confirm with the user. This parameter must not be `nil`.

## Discussion

This method validates that your messaging service is available and that sending a message is possible. At some point in your implementation, execute the provided completion block with a response object.

The response object you create in this method and in the [`handle(intent:completion:)`](/documentation/Intents/INSendMessageIntentHandling/handle(intent:completion:)) method should be virtually the same. For more information about creating the response object, see [`INSendMessageIntentResponse`](/documentation/Intents/INSendMessageIntentResponse).

---

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)