PushSubscription.subscriptionId

Deprecated
This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Avoid using it and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

The endpoint read-only property of the PushSubscription interface returns a DOMString containing the subscription ID associated with the push subscription.

Syntax

var subId = pushSubscription.subscriptionId;

Specifications

Specification Status Comment
Push API Working Draft Initial definition

Browser Compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support42 Yes441 No29 No
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support No42 ?4829 No4.0

1. Service workers (and Push) have been disabled in the Firefox 45 & 52 Extended Support Releases (ESR).

Document Tags and Contributors

Contributors to this page: fscholz, chrisdavidmills, Sebastianz, jpmedley
Last updated by: fscholz,