<!--
{
  "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/INSearchForMessagesIntent/identifiers",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INSearchForMessagesIntent(py)identifiers"
  },
  "title" : "identifiers"
}
-->

# identifiers

The message identifiers to locate in your search.

```
var identifiers: [String]? { get }
```

## Discussion

When this property contains one or more <doc://com.apple.documentation/documentation/Foundation/NSString> objects, your search should return only messages whose IDs match the specified identifiers. The value of the [`identifiersOperator`](/documentation/Intents/INSearchForMessagesIntent/identifiersOperator) property determines whether searches should be for all, some, or none of the specified identifiers.

---

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)