---
title: pushToken
framework: nowplaying
role: symbol
role_heading: Instance Property
path: nowplaying/remotemediasessionrepresentable/pushtoken
---

# pushToken

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

## Declaration

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

## Mentioned in

Publishing remote media sessions

## Discussion

Discussion The push token for a remote session may change over time. Use 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.
