Docs
Skip to content

Messaging

Send push notification_

Send push notification to your users using Appwrite Messaging.

5 min read

Raw

You can send, schedule, and manage push notifications to your apps using Appwrite Messaging. Push notifications can be used to deliver new message notifications, app updates, promotional offers, and other messages straight to your user's devices.

1. Add provider

Push notifications must be sent through third-party providers, like Apple Push Notification service and Firebase Cloud Messaging. The push notification APIs for Apple and Android devices can only be accessed through these services.

You must configure these services before you can send your first push notification.

2. Add targets

Before sending your first push notification, your application must register itself for push notification, then provide the device token to Appwrite.

3. Request permissions

Your app must ask for permission to receive push notification from the user.

4. Send message

You can send messages in both the Appwrite Console and programmatically using the Appwrite Server SDK.

Was this page helpful?

Share what worked or what we should fix. Once approved, our agents automatically apply suggested updates to the docs.