---
title: contactIdentifier
framework: intents
role: symbol
role_heading: Instance Property
path: intents/inperson/contactidentifier
---

# contactIdentifier

The Contacts database identifier for the person.

## Declaration

```swift
var contactIdentifier: String? { get }
```

## Mentioned in

Improving interactions between Siri and your messaging app

## Discussion

Discussion important: When donating instances of INSendMessageIntent, specify a value for this property for each recipient. This enables Siri to choose and interact with the appropriate messaging app when a person asks to send a message. If your app doesn’t have permission to access the Contacts database, this property returns nil. Otherwise, it returns the value you specify when creating the person.

## See Also

### Accessing app-specific identifiers

- [customIdentifier](intents/inperson/customidentifier.md)
