---
title: INSearchForAccountsIntent
framework: intents
role: symbol
role_heading: Class
path: intents/insearchforaccountsintent
---

# INSearchForAccountsIntent

A user request for information about their accounts in your app.

## Declaration

```swift
class INSearchForAccountsIntent
```

## Overview

Overview Siri creates an instance of INSearchForAccountsIntent when the user asks for information about accounts available in your app. Users can ask for information about monetary and nonmonetary accounts. For example, an airline app might allow the user to search for an account that manages their frequent flier miles. The user can ask for information such as a list of accounts or the balance of a specific account. Use the data the intent provides to find the user’s accounts and return the information the user requests. To process the request, your handler must adopt the INSearchForAccountsIntentHandling protocol. When your implementation confirms the request, provide an instance of INSearchForAccountsIntentResponse that includes the accounts that meet the user’s critieria. If the search is successful, Siri offers the user a way to view the results. INSearchForAccountsIntent is only available to Siri Intents and requires an unlocked device before processing. Siri performs the following actions automatically: Requests the user’s confirmation before passing the request to your app or Intents extension for processing. Asks the user to unlock a locked device. Example Phrases Users can ask Siri to search for accounts in a variety of ways. Although not exhaustive, the following table provides a few sample phrases, in different languages, that you can use when testing your intents.  |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |

## Topics

### Initializing the Intent Object

- [init(accountNickname:accountType:organizationName:requestedBalanceType:)](intents/insearchforaccountsintent/init(accountnickname:accounttype:organizationname:requestedbalancetype:).md)

### Getting the Search Attributes

- [accountNickname](intents/insearchforaccountsintent/accountnickname.md)
- [accountType](intents/insearchforaccountsintent/accounttype.md)
- [organizationName](intents/insearchforaccountsintent/organizationname.md)
- [requestedBalanceType](intents/insearchforaccountsintent/requestedbalancetype.md)
- [INBalanceType](intents/inbalancetype.md)

## Relationships

### Inherits From

- [INIntent](intents/inintent.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [INIntentSetImageKeyPath](intents/inintentsetimagekeypath.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Search for Accounts

- [INSearchForAccountsIntentHandling](intents/insearchforaccountsintenthandling.md)
- [INSearchForAccountsIntentResponse](intents/insearchforaccountsintentresponse.md)
