<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INSearchForMessagesIntentResponseCode/success",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:@E@INSearchForMessagesIntentResponseCode@INSearchForMessagesIntentResponseCodeSuccess"
  },
  "title" : "INSearchForMessagesIntentResponseCode.success"
}
-->

# INSearchForMessagesIntentResponseCode.success

You successfully handled the intent.

```
case success
```

## Discussion

Use this code when your app completed the search successfully, regardless of the number of found messags. If the search yielded one or more messages, provide the details of those messages in the [`messages`](/documentation/Intents/INSearchForMessagesIntentResponse/messages) property.

---

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)