<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PushToTalk",
  "identifier" : "/documentation/PushToTalk/PTChannelManagerDelegate/channelManager(_:receivedEphemeralPushToken:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Push to Talk"
    ],
    "preciseIdentifier" : "c:objc(pl)PTChannelManagerDelegate(im)channelManager:receivedEphemeralPushToken:"
  },
  "title" : "channelManager(_:receivedEphemeralPushToken:)"
}
-->

# channelManager(_:receivedEphemeralPushToken:)

Tells the observer that the app received a push token after you create a channel manager.

```
func channelManager(_ channelManager: PTChannelManager, receivedEphemeralPushToken pushToken: Data)
```

## Parameters

`channelManager`

The channel manager.

`pushToken`

The ephemeral push token.

## Discussion

The framework provides a token to this method after you initialize [`PTChannelManager`](/documentation/PushToTalk/PTChannelManager). The token isn’t active until a person joins the channel. If they leave the channel, you need to wait until they rejoin to resume notifications.

> Important:
> Don’t cache device tokens in local storage. The Apple Push Notification service issues a new token when a person restores a device from a backup, installs your app on a new device, or reinstalls the operating system.

When you send push notifications, the `apns-topic` header field needs to contain your app’s bundle identifier wit`h` the `.voip-ptt` suffix.

---

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)