Rensei docs
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
/api/notifications/web-push/subscribe

Authorization

headerAuthorizationBearer <rsk_live_*>

Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.

Response Body

VAPID public key config.

application/json
  1. response
vapidPublicKey*string|null
Example Request
curl -X GET 'https://app.rensei.ai/api/notifications/web-push/subscribe'
Example Response
{  "vapidPublicKey": "string"}