---
title: "resolveRecipient(for:with:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/insearchcallhistoryintenthandling/resolverecipient(for:with:)"
---

# resolveRecipient(for:with:)

Resolves the search criteria for the recipients.

## Declaration

```swift
optional func resolveRecipient(for intent: INSearchCallHistoryIntent, with completion: @escaping @Sendable (INPersonResolutionResult) -> Void)
```

```swift
optional func resolveRecipient(for intent: INSearchCallHistoryIntent) async -> INPersonResolutionResult
```

## Parameters

- `intent`: The intent object containing details about the user’s request. Use this object to get the initial information, if any, provided by the user.
- `completion`: The block to execute with the resolution. You must execute this block at some point during your implementation of this method. This block has no return value and takes the following parameter:

## Discussion

Discussion Implement this method to verify the identity of any intended contacts in the search parameters. Always strive toward a successful resolution to a specific user, but feel free to ask for confirmation of the selected user if there’s some uncertainty. If you find multiple users matching the same name, consider asking the user to disambiguate from among the most likely candidates. When disambiguating users, provide as few choices as possible. If you find more than five possible users, consider a different resolution.

## See Also

### Resolving the Intent Parameters

- [resolveCallTypes(for:with:)](intents/insearchcallhistoryintenthandling/resolvecalltypes(for:with:).md)
- [resolveCallType(for:with:)](intents/insearchcallhistoryintenthandling/resolvecalltype(for:with:).md)
- [resolveDateCreated(for:with:)](intents/insearchcallhistoryintenthandling/resolvedatecreated(for:with:).md)
- [resolveUnseen(for:with:)](intents/insearchcallhistoryintenthandling/resolveunseen(for:with:).md)
