---
title: notificationID
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/cknotification/notificationid
---

# notificationID

The notification’s ID.

## Declaration

```swift
@NSCopying var notificationID: CKNotification.ID? { get }
```

## Discussion

Discussion Use this property to differentiate notifications.

## See Also

### Identifying the Notification

- [CKNotification.ID](cloudkit/cknotification/id.md)
- [notificationType](cloudkit/cknotification/notificationtype-swift.property.md)
- [CKNotification.NotificationType](cloudkit/cknotification/notificationtype-swift.enum.md)
- [containerIdentifier](cloudkit/cknotification/containeridentifier.md)
