---
title: recordID
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckquerynotification/recordid
---

# recordID

The ID of the record that CloudKit creates, updates, or deletes.

## Declaration

```swift
@NSCopying var recordID: CKRecord.ID? { get }
```

## Discussion

Discussion Use this value to fetch the record.

## See Also

### Getting the Record Information

- [recordFields](cloudkit/ckquerynotification/recordfields.md)
