April 2024
Updated Mobile Push Notifications API
2min
Date: 4/19/24
We are excited to announce the release of a new API for sending mobile push notifications. This API is designed to streamline and enhance sending push notifications to iOS and Android app users. This API replaces the previous method of directly publishing messages to a Kafka topic, offering a more efficient and user-friendly experience.
Deprecating Push Event AP by End of May
The Push Event to Kafka endpoint will be deprecated by the end of May. We recommend that developers use the SendMobilePushNotifications endpoint.
Key Features:
- Dedicated Push Notification API: Send push notifications directly through the API, eliminating the need to interact with Kafka.
- Multiple Notifications in One Call: Improve efficiency by sending multiple notifications with a single API request.
- Simplified Payload: The API adopts a payload structure similar to the existing notification service, easing the transition for developers already familiar with the API.
Changes in the new API:
- App ID in Headers: The appID is now passed in the headers of the API request rather than within the body.
- Device Tokens Required: To send notifications successfully, ensure you have the device tokens for the Android and iOS devices.
Refer to the Mobile Push Notifications developer guide for integration details.
Updated 23 Apr 2024
Did this page help you?