<!--
{
  "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",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:@E@INSearchForMessagesIntentResponseCode"
  },
  "title" : "INSearchForMessagesIntentResponseCode"
}
-->

# INSearchForMessagesIntentResponseCode

Constants that indicate the response state.

```
enum INSearchForMessagesIntentResponseCode
```

## Topics

### Response State

[`INSearchForMessagesIntentResponseCode.unspecified`](/documentation/Intents/INSearchForMessagesIntentResponseCode/unspecified)

The response code is unknown.

[`INSearchForMessagesIntentResponseCode.ready`](/documentation/Intents/INSearchForMessagesIntentResponseCode/ready)

A response code indicating app readiness.

[`INSearchForMessagesIntentResponseCode.inProgress`](/documentation/Intents/INSearchForMessagesIntentResponseCode/inProgress)

You are performing the search but do not yet have the results.

[`INSearchForMessagesIntentResponseCode.success`](/documentation/Intents/INSearchForMessagesIntentResponseCode/success)

You successfully handled the intent.

[`INSearchForMessagesIntentResponseCode.failure`](/documentation/Intents/INSearchForMessagesIntentResponseCode/failure)

You are unable to perform the search.

[`INSearchForMessagesIntentResponseCode.failureRequiringAppLaunch`](/documentation/Intents/INSearchForMessagesIntentResponseCode/failureRequiringAppLaunch)

The user must launch your app to search their messages.

[`INSearchForMessagesIntentResponseCode.failureMessageServiceNotAvailable`](/documentation/Intents/INSearchForMessagesIntentResponseCode/failureMessageServiceNotAvailable)

You were unable to perform the search because your message service is currently unavailable.

[`INSearchForMessagesIntentResponseCode.failureMessageTooManyResults`](/documentation/Intents/INSearchForMessagesIntentResponseCode/failureMessageTooManyResults)

Too many messages matched the specified search criteria.



---

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)