Push Notification API
The Push Notification API lets you send notifications programmatically from your own backend or website. This is the right approach for event-driven notifications — order confirmations, payment receipts, shipping updates, new messages, or any notification triggered automatically by activity in your system.
Endpoint
POST https://appilix.com/api/push-notificationRequired Parameters
| Parameter | Description |
|---|---|
app_key | Your app key, found in the Appilix dashboard |
api_key | Your API key, found in the Firebase settings page |
notification_title | The title shown in the notification |
notification_body | The body text of the notification |
Optional Parameters
| Parameter | Description |
|---|---|
open_link_url | URL to open inside the app when the notification is tapped |
notification_image | Public image URL to include in the notification (Android only) |
user_identity | Send to a specific user — must match the identity recorded via the JS Bridge |
secondary_app_key | App key for a second app (e.g., your iOS app) |
secondary_api_key | API key for the secondary app |
Sending to a Specific User
Use the user_identity parameter to target a specific user. The value must match the identity you recorded using the JavaScript Bridge after the user logged in.
To send to multiple users in a single request, separate identities with :::
user_identity=user1@example.com::user2@example.com::user3@example.comSending to Android and iOS Together
If you have separate Android and iOS apps, you can notify users on both platforms in a single API request. Use app_key and api_key for your primary app, and secondary_app_key and secondary_api_key for the second.
Example Request
POST https://appilix.com/api/push-notification
app_key=YOUR_APP_KEY
api_key=YOUR_API_KEY
notification_title=New Order Received
notification_body=A new order has been placed on your store.
open_link_url=https://example.com/orders
notification_image=https://example.com/images/order-banner.pngExample: Target a Specific User
POST https://appilix.com/api/push-notification
app_key=YOUR_APP_KEY
api_key=YOUR_API_KEY
notification_title=Your order has shipped
notification_body=Order #1042 is on its way and will arrive by Friday.
user_identity=customer@example.com
open_link_url=https://example.com/orders/1042