users

Register a web push /user/registerPushSubscription

Registers a web push subscription for the logged-in user

post/user/registerPushSubscription

Request

  • Base URL: http://localhost:5055/api/v1
  • URL: http://localhost:5055/api/v1/user/registerPushSubscription
  • Auth: one of:
    • API key in cookie connect.sid
    • API key in header X-Api-Key

Request body

endpointstring required
authstring required
p256dhstring required
userAgentstring

Response

Successfully registered push subscription

Changes

No recorded changes to this operation across all 21 revisions of this API.