Register a push subscription
POST/api/v1/push-subscriptions
Registers or updates a Web Push subscription for the authenticated user. If the endpoint already exists, the subscription is updated with the new keys and metadata.
Request
Responses
- 201
- 400
- 401
- 500
Subscription registered or updated.
Invalid request body.
Authentication required.
Failed to register subscription.