Generate Web Push keys
push_generate_keysObtain VAPID keys for Web Push, returning only the public key for subscribe() while the private key stays local. Enables secure push notification setup.
Instructions
Generate (or return existing) VAPID keys for Web Push. Returns the public key to use with pushManager.subscribe() in the app's frontend; the private key never leaves this machine.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes |