Skip to Content

The PushSubscriptionPage type of the TypeScript SDK, which pushSubscriptions.list take or answer.

type PushSubscriptionPage = {
  subscriptions: PushSubscription[]
  vapidPublicKey: string | null
}

Fields

FieldTypeDescription
subscriptionsPushSubscription[]Only the subscriptions registered by the CALLING credential
vapidPublicKeystring | nullThe server's VAPID application key (base64url, uncompressed P-256 point). Pass it as applicationServerKey when calling PushManager.subscribe. Null when Web Push is not configured on this deployment, in which case POST refuses with web_push_not_configured

Used by

MethodWhat it does
pushSubscriptions.listList push subscriptions

On this page