Push Notifications

Subscribe to push notifications

Register a push subscription for the authenticated user. The subscription allows the server to send push notifications to the user's device.

post/api/push/subscribe

Request

  • Base URL: https://api.sc-market.space
  • URL: https://api.sc-market.space/api/push/subscribe
  • Auth: none declared

Request body

endpointstring required

Push service endpoint URL

userAgentstring

User agent string (optional)

Response

Successfully subscribed to push notifications

subscription_idstring uuid required

Unique identifier for the subscription

messagestring required

Success message

Changes

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