How to send push notification from server?

What are push notifications?

Push notifications are the messages that are pushed to mobile from another platform than the receiving device. Let us consider any mobile app either closed or open. We get some notification from server irrespective of the app is open/closed/minimised. The only condition is that the app should be installed. In such case, we trigger notifications from web server say Firebase. We are pushing the notifications to mobile app from server. Hence these are called push notification.

Firebase provides us API(s) that can be triggered to send the push notification to any device.

Sending Push Notification using Firebase

We can trigger below API provided by the Firebase to send a push notification to any device.


Headers :



Body :

"title":"Sample title",
"body":"Sample Body Sample Body"
"title":"Title Title",
"body":"Sample body Sample Body",
"image":"Image Link",
"description":"Sample Description"
Akash Sharma

Akash Sharma

I'm Akash Sharma, an engineering graduate and software developer by profession. Challenges fascinate me and I like solving them.

Leave a Reply

Your email address will not be published. Required fields are marked *