Sending a Push Notification from the API Endpoint
Hitting /pushdata/sendnotification endpoint ( Eg calling from FileMaker Server)
Create a
POSTrequest to the following endpoint:https://your.domain.com/pushdata/sendnotificationSet the
bodyof the request will be as follows:
{
"apiKey": "BFAPI_YOUR_KEY",
"body": "Hello from BF push notification!",
"data": {
"dateOfArrival_calc": "Date.now()",
"path": "/"
},
"icon": "LINK_TO_YOUR_ICON",
"title": "BF's New Feature!!!",
"vibrate": [100, 50, 100],
"filter": {
"users": ["BF_USER_ID"]
},
"ttl": 300
}Last updated
Was this helpful?