---
title: identifier
framework: intents
role: symbol
role_heading: Instance Property
path: intents/ininteraction/identifier
---

# identifier

The unique identifier of the interaction.

## Declaration

```swift
var identifier: String { get set }
```

## Mentioned in

Deleting Donated Shortcuts

## Discussion

Discussion This property is initialized to a new UUID at initialization time, but you can change it if you want to use a different identification scheme. The identifier you assign to this property must be unique within your app.

## See Also

### Accessing Interaction Attributes

- [intentHandlingStatus](intents/ininteraction/intenthandlingstatus.md)
- [direction](intents/ininteraction/direction.md)
- [dateInterval](intents/ininteraction/dateinterval.md)
- [groupIdentifier](intents/ininteraction/groupidentifier.md)
