---
title: INSearchForMessagesIntentResponseCode.success
framework: intents
role: symbol
role_heading: Case
path: intents/insearchformessagesintentresponsecode/success
---

# INSearchForMessagesIntentResponseCode.success

You successfully handled the intent.

## Declaration

```swift
case success
```

## Discussion

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 property.

## See Also

### Response State

- [INSearchForMessagesIntentResponseCode.unspecified](intents/insearchformessagesintentresponsecode/unspecified.md)
- [INSearchForMessagesIntentResponseCode.ready](intents/insearchformessagesintentresponsecode/ready.md)
- [INSearchForMessagesIntentResponseCode.inProgress](intents/insearchformessagesintentresponsecode/inprogress.md)
- [INSearchForMessagesIntentResponseCode.failure](intents/insearchformessagesintentresponsecode/failure.md)
- [INSearchForMessagesIntentResponseCode.failureRequiringAppLaunch](intents/insearchformessagesintentresponsecode/failurerequiringapplaunch.md)
- [INSearchForMessagesIntentResponseCode.failureMessageServiceNotAvailable](intents/insearchformessagesintentresponsecode/failuremessageservicenotavailable.md)
- [INSearchForMessagesIntentResponseCode.failureMessageTooManyResults](intents/insearchformessagesintentresponsecode/failuremessagetoomanyresults.md)
