- Target Segments: Send notifications to all users or specific pre-defined segments.
- Target Individuals: Reach a single user using unique attributes like Email, Mobile Number, or Unique ID.
- Personalize at Scale: Use Jinja templating to dynamicially inject user-specific data into the notification payload.
Endpoint
The Push API consists of the following endpoint:- Send Push Notification: Creates and sends a push notification campaign.
FAQs
Does the Push API support silent notifications?
Does the Push API support silent notifications?
No, the MoEngage Push API currently does not support silent (data-only) notifications.
Can I use HTML to format notification text?
Can I use HTML to format notification text?
Yes, the basic template supports standard HTML tags for text formatting on supported platforms.
What happens if personalization fails for a specific user?
What happens if personalization fails for a specific user?
You can provide a
fallback object within the payload. If the personalization logic fails (e.g., a missing user attribute), the system will automatically send the fallback content instead.How do I target a user using their device token directly?
How do I target a user using their device token directly?
In the
targetUserAttributes object, set the attribute field to PUSH_ID and provide the device token as the attributeValue.