API ReferenceNotifications
Return the VAPID public key for browser web-push subscription.
Returns the server VAPID public key (null when web-push is not configured) so the client can call pushManager.subscribe without baking the key into the bundle.
GET
header
AuthorizationBearer <rsk_live_*>Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.
VAPID public key config.
application/json- response
vapidPublicKey*string|nullcurl -X GET 'https://app.rensei.ai/api/notifications/web-push/subscribe'Example Response
{ "vapidPublicKey": "string"}Revoke a push device token owned by the authenticated user.
Soft-revokes a device token by `id` or `token`. The revoke is bounded by the caller user id, so a foreign token is a silent no-op.
Store a browser web-push subscription for the authenticated user.
Persists a W3C PushSubscription as a per-user web-push device token. Scoped to the authenticated user; a credential with no user identity is rejected.