Users

Subscribe to push notifications

Registers a new push notification subscription for the current user. Takes push endpoint and encryption keys from a Web Push API subscription. Returns subscription ID for future reference.

post/users/@me/push/subscribe

Request body

endpointstring required

The push subscription endpoint URL

user_agentstring

The user agent string identifying the client

Response

Success

subscription_idstring required

The unique identifier for the push subscription

Changes

No recorded changes to this endpoint across all 1 revision of this API.