Adalo Resources
Search…
Push Notifications
You can use the Adalo API to trigger push notifications to users of your app.
In order for these API requests to succeed, you must first have at least one native build of your app. The build can be for either iOS or Android, and you do not need to have published your app to the app stores.
The base URL for the API request should be
1
https://api.adalo.com/notifications
Copied!
​ You will need to include the following headers:
1
Authorization: Bearer [Your App's API Key]
2
Content-Type: application/json
Copied!
​
You will need to specify the following in the API request
    App ID (you can find your App ID in the url when you are editing your app in Adalo)
    Recipient Email
    Push Notification Title Text
    Push Notification Body Text
Here is how the request body should be structured:
1
{
2
"appId": "2bc38ea8-2eb1-4db0-974c-e9e031f2c0e0",
3
"audience": { "email": "[email protected]" },
4
"notification": {
5
"titleText": "Hello There",
6
"bodyText": "This is just a test..."
7
}
8
}
Copied!
A successful request will return two parameters:
    successful: [count]
    failed: [count]
"Successful" means the notifications was delivered to your user's device. "Failed" means that the user no longer grants your app permission to send push notifications. If both are 0, then the user that the notification was sent to does not have your app installed on their device yet.
Here is a video tutorial for how to use the Adalo API to send a Scheduled Push Notification:
​
Here are the developer docs for the Adalo API:
docs/public-api at main Β· AdaloHQ/docs
GitHub
​
Last modified 1yr ago
Copy link