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

# header

The header text you provide that appears above the body text in a message.

```
string header
```

## Discussion

Provide the `header` as a UTF-8-encoded string. The maximum string length is `66`.

The header text appears above the [`body`](/documentation/RetentionMessaging/body) text in a [`message`](/documentation/RetentionMessaging/message), or above the image.

Body text appears below an optional image.

---

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)