Skip to main contentMessage 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.
Send Test
Before launching your campaign, you can send a test message to one or more devices.
Test messages ignore your audience and schedule settings - they only test the message content itself.
Once the message looks good, you can move on to setting up your audience and launching the campaign.