---
title: token
framework: pushkit
role: symbol
role_heading: Instance Property
path: pushkit/pkpushcredentials/token
---

# token

A unique device token to use when sending push notifications to the current device.

## Declaration

```swift
var token: Data { get }
```

## Discussion

Discussion Forward this token to the server you use to generate push notifications. When preparing to deliver a push notification to the current device, include the token in the HTTP request you send to Apple Push Notification service (APNs).

## See Also

### Getting the Token

- [type](pushkit/pkpushcredentials/type.md)
