# Basic Notifications

# Default Notification

This is a basic notification with default UI of Android OS

Keys Required Description
title Yes Title of the notification
message Yes Message to be displayed in the body of notification
image No URL of the image to be displayed in notification
which No P/B/L/D
link with which url on which to action is to be taken
coupon_code No This will show a CTA on notification itself to copy coupon code
Content
Screenshot
{
  "to": "/topics/AppName",
  "data": {
    "title": "Basic Template",
    "message": "You can use this format for basic template push notifications",
    "image": "https://picsum.photos/500/280",
    "link": "https://in.appyhigh.com",
    "which": "L"
  }
}

Expanded & Collapsed State
Expanded & Collapsed State

# Big Text Notification

This is a notification with big text like a news article or email

Keys Required Description
title Yes Title of the notification
message Yes Message to be displayed in the body of notification
image No URL of the image to be displayed in notification
which No P/B/L/D
link with which url on which to action is to be taken
coupon_code No This will show a CTA on notification itself to copy coupon code
Content
Screenshot
{
  "to": "/topics/AppName",
  "data": {
    "title": "Big Text Template",
    "message": "This text will be visible in collapsed state",
    "big_text": "A really big text to show in the notification, this can be used to show a news article or an email.", 
    "image": "https://picsum.photos/500/280",
    "link": "https://in.appyhigh.com",
    "which": "L"
  }
}

Expanded & Collapsed State
Expanded & Collapsed State

# Coupon Code Notification

This is a notification with a coupon code, it will show 2 CTA below the notification and open the link in the default browser

Keys Required Description
title Yes Title of the notification
message Yes Message to be displayed in the body of notification
image No URL of the image to be displayed in notification
which No P/B/L/D
link with which url on which to action is to be taken
coupon_code No This will show a CTA on notification itself to copy coupon code
Content
Screenshot
{
  "to": "/topics/AppName",
  "data": {
    "title": "Coupon Code Template",
    "message": "You can use this format to send push notifications with coupon codes",
    "image": "https://picsum.photos/500/280",
    "link": "https://in.appyhigh.com",
    "which": "B",
    "coupon_code": "SomeRandomCouponCode"
  }
}

Expanded & Collapsed State
Expanded & Collapsed State