Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 676 Bytes

Push-notifications.md

File metadata and controls

12 lines (8 loc) · 676 Bytes

Push notifications

Mastodon natively supports the Web Push API. You can utilize the same mechanisms for your native app. For a reference, see Mozilla's web push server, and more practically, see:

The relevant parts of the Mastodon REST API are:

  • GET|POST|PUT /api/v1/push/subscription (Documentation)
  • You need to request authorization for the push scope from the user to be able to use that API