<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iOSAppExtension: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NowPlaying",
  "identifier" : "/documentation/NowPlaying/RemoteMediaSessionRepresentable/pushToken",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Now Playing",
      "NowPlaying"
    ],
    "preciseIdentifier" : "s:10NowPlaying31RemoteMediaSessionRepresentablePAAE9pushToken10Foundation4DataVSgvp"
  },
  "title" : "pushToken"
}
-->

# pushToken

The token you use to send push notifications to update this remote session.

```
@MainActor var pushToken: Data? { get }
```

## Discussion

The push token for a remote session may change over time. Use [`pushTokenUpdates`](/documentation/NowPlaying/RemoteMediaSessionRepresentable/pushTokenUpdates)
to receive the updated push token.

> Note: When you receive an updated push token, transmit it securely to your server
> (for example, over HTTPS) and invalidate the outdated token promptly so it cannot
> be reused. The push token is a device-scoped identifier — handle it securely and
> retain it only as long as needed.

---

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)