---
title: identifier
framework: usernotifications
role: symbol
role_heading: Instance Property
path: usernotifications/unnotificationattachment/identifier
---

# identifier

The unique identifier for the attachment.

## Declaration

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

## See Also

### Getting the Attachment Contents

- [url](usernotifications/unnotificationattachment/url.md)
- [type](usernotifications/unnotificationattachment/type.md)
