Message Fields
Your notification can include the following fields:- Title (required): The main heading of your notification. Example: “You’re a Power User!”
- Body (recommended): The main message text. Example: “With over 15 sessions and 10 friends, you’ve earned exclusive perks.”
- Image URL (optional): A URL to an image that will appear in the notification. Example: “https://example.com/image.png”
- Open URL / Deep Link (optional): Where users go when they tap the notification. Example: “yourapp://rewards” or “https://yourwebsite.com/page”
Best Practices
Keep these tips in mind when composing your message:- Always use HTTPS for images and links.
- Keep titles short and clear. Mobile platforms may cut off longer text.
- If you’re using deep links, make sure your app can handle the scheme or universal link.
Personalization
You can personalize messages using template variables with double braces. Example:Hello {{ user.name | default: "there" }}!
For API-triggered campaigns, you can also include values from custom data. Learn more in the Personalization guide.