Early access · launching soon. Request access

Early access

Early access · launching soon
Product
IntelligenceEarly access. Designed and in development. No results yet. See what's left on the roadmap.
Developers
Resources
Request access

A person reads every request.

Glossary · Web push

VAPID

VAPID (Voluntary Application Server Identification) is the way a server identifies itself to browser push services. You create one key pair; browsers subscribe with the public key, and every push you send carries a short token signed with the private key.

Also called application server keys, VAPID keys

Subscribe once, push many times

The website registers a service worker, then asks the browser to subscribe, passing your VAPID public key as applicationServerKey. After the person allows notifications, the browser returns a subscription: an endpoint URL on its push service (Google's for Chrome, Mozilla's for Firefox, Apple's for Safari, Microsoft's for Edge) and two keys for encrypting messages to that browser. To send, your server posts to the endpoint with a JWT signed by your private key, and encrypts the payload with the subscription's keys. The push service checks the signature, then wakes the service worker, which shows the notification.

Where each VAPID key lives

Once

  1. Website + service worker

  2. Browser

    subscribe(applicationServerKey)

  3. Subscription

    endpoint + p256dh + auth

  4. Your server stores it

Each send

  1. Your server

    sign JWT (private key), encrypt payload

  2. Browser push service

    verify signature

  3. Service worker

    push event → showNotification

Once: the website and service worker call subscribe with the application server key, the browser returns a subscription with endpoint, p256dh and auth, and your server stores it. Each send: your server signs a JWT with the private key and encrypts the payload, the browser push service verifies the signature, and the service worker's push event shows the notification. The private key stays on your server.

The browser side

JavaScript

JavaScript

const reg = await navigator.serviceWorker.register('/sw.js');
const sub = await reg.pushManager.subscribe({
  userVisibleOnly: true,
  applicationServerKey: VAPID_PUBLIC_KEY, // base64url, P-256
});
await fetch('/subscriptions', { method: 'POST', body: JSON.stringify(sub) });

The mistakes that fail quietly

  • Rotating the keys. Every subscription is bound to the public key it was created with. Change the pair and existing subscriptions stop working until each browser subscribes again. Keep one pair per site, and keep it safe.
  • Leaking the private key. Anyone with it can sign pushes to your subscribers. It belongs on the server, never in front-end code.
  • Ignoring 404 and 410. The push service answers 404 or 410 when a subscription has expired or been removed. Delete it.
  • Forgetting iOS. Since iOS 16.4, web push works for web apps added to the Home Screen, not for Safari tabs, and only after a user gesture (WebKit).
  • No TTL. The TTL header is required on every request.

In Oricato

Web push is one of Oricato's three channels, in the same composer as mobile push and email: one message, its language versions, and each person's local time. Oricato keeps the private key on your account, signs and encrypts each push, and retires a subscription when its push service says it's gone.

  • Reports show Sent, Delivered and Opened for web push next to mobile push and email.
  • Our own website never asks you for notification permission.
Web push in the composer Sample data. Illustrative numbers, not from a real app.

Composer with the web push channel selected and a preview of a weekly recap notification, with language tabs English, Español, Deutsch and Japanese.

Web push in Oricato

Sources RFC 8292, RFC 8030, RFC 8291; WebKit, "Web Push for Web Apps on iOS and iPadOS" (read Oct 16, 2026).

Oricato Dispatch

Browser and push changes, once a month.

Web push, mobile push and email delivery, explained plainly.

Once a month. Until sign-up opens, one short email from you to us is all it takes; a person adds you. Privacy Policy

Request access