<!--
{
  "availability" : [
    "Retention Messaging API: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RetentionMessaging",
  "identifier" : "/documentation/RetentionMessaging/messageIdentifier",
  "metadataVersion" : "0.1.0",
  "role" : "Type",
  "symbol" : {
    "kind" : "Type",
    "modules" : [
      "Retention Messaging API"
    ],
    "preciseIdentifier" : "data:retention_messaging:messageIdentifier"
  },
  "title" : "messageIdentifier"
}
-->

# messageIdentifier

A unique identifier for a message, which you provide when you upload the message.

```
uuid messageIdentifier
```

## Discussion

You create the UUID to identify a message when you call [`Upload Message`](/documentation/RetentionMessaging/Upload-Message). Use this identifier to refer to the same message throughout the API.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)