# Push notifications for iOS, Android and the web, Beams-compatible

> Send push notifications to iOS, Android and web browsers through one API that is compatible with Pusher Beams. Interests, signed-in users, scheduled sends and delivery stats, included in every Hibira plan from free.

Source: https://hibira.io/push

## Everything a push feature needs

### Compatible with Pusher Beams

The publish and device APIs follow Beams v1, so the Beams server libraries and existing integrations work once they point at `api.hibira.io`. Moving from Beams is a change of host, instance ID and secret key.

### iOS, Android and the web

One publish reaches Apple devices through APNs, Android devices through Firebase Cloud Messaging and browsers through Web Push: Chrome, Edge, Firefox, Opera and Safari 16.4 and later.

### Interests and signed-in users

Send to everyone following an interest, such as `order-1024` or `news`, or to the users your server names. A user's notifications reach each phone and browser they signed in on, and stop when they sign out.

### Credentials checked when you save them

When you save an Apple signing key or a Firebase service account, Hibira asks Apple or Google whether it works and shows the answer, so a wrong team ID or project is caught before your first send.

### See what was delivered and opened

The last 14 days of sent, delivered, opened and failed notifications for each app. Failures are grouped by cause, with what it means and what to do, and devices that were uninstalled are removed for you.

![The Push panel's delivery report: sent, delivered, opened and failed over 14 days, a chart of notifications per day and the recent failed sends with their cause.](https://hibira.io/portal/articles/push-page-delivery-en-light.webp)

### Schedule a send

Send now or pick a time up to 30 days ahead. Each publish has a status you can read back, with how many notifications went out, failed or were skipped, and a scheduled send can be cancelled until it starts.

![Sending a notification from the portal to an interest or to users, with a title, body, optional link and a time to send.](https://hibira.io/portal/articles/push-page-send-en-light.webp)

### From your AI agent

The [Hibira MCP server](https://hibira.io/mcp-server) has `send_push`, so an agent or a workflow can notify people when a job finishes. API tokens can read and change every push setting, including credentials.

## How it works

1. **Turn on push for an app** in the portal and add your Apple key, Firebase service account or both. Web Push works without any setup.
2. **Register devices** with the Hibira SDK for the web, Android, iOS or Flutter. Each phone or browser subscribes to interests, and signs in as your user with a token from your server.
3. **Publish from your server** with a signed request, the same way as Beams:

```js
const PushNotifications = require('@pusher/push-notifications-server');

const beams = new PushNotifications({
  instanceId: process.env.HIBIRA_PUSH_INSTANCE_ID,
  secretKey: process.env.HIBIRA_PUSH_SECRET_KEY,
  endpoint: 'api.hibira.io',
});
await beams.publishToInterests(['order-1024'], {
  apns: { aps: { alert: { title: 'Order shipped', body: 'Order #1024 is on its way.' } } },
  fcm: { notification: { title: 'Order shipped', body: 'Order #1024 is on its way.' } },
  web: { notification: { title: 'Order shipped', body: 'Order #1024 is on its way.', deep_link: 'https://example.com/orders/1024' } },
});
```

The [push notifications guide](https://hibira.io/guides/push-notifications) has the code for each platform and server language, the credentials step by step, and troubleshooting.

## Plans

| Plan | Price | Subscribers | Notifications a day | Publishes a second |
| --- | --- | --- | --- | --- |
| Free | $0 | 2,000 | 20,000 | 5 |
| Hobby | $19 / month | 5,000 | 50,000 | 10 |
| Starter | $39 / month | 15,000 | 150,000 | 20 |
| Pro | $89 / month | 75,000 | 750,000 | 50 |
| Advanced | $169 / month | 150,000 | 1,500,000 | 75 |
| Business | $279 / month | 250,000 | 2,500,000 | 100 |
| Scale | $699 / month | 1,000,000 | 10,000,000 | 250 |

Push comes with every Hibira plan, together with realtime: there is no separate push bill. A subscriber is a registered phone or browser, counted across all of your apps, and each day your apps can send up to 10 notifications per subscriber of the plan. With prepaid credits an account can grow to twice its plan's subscribers and daily notifications, at $0.07 per 10,000 extra subscribers a day. See [all prices](https://hibira.io/pricing), or [talk to us](https://hibira.io/contact-sales) about more than a million subscribers.

## Works with your stack

- **Web**: [@hibira-io/push-web](https://hibira.io/guides/push-notifications) with a service worker, for the browsers that support Web Push.
- **Android and iOS**: the hibira-push-android and hibira-push-ios libraries, and hibira_push for Flutter.
- **Laravel**: broadcasting, push and webhooks in one Composer package, hibira-io/laravel.
- **Any backend**: the Beams server libraries for Node.js, PHP and Python work as they are, and so does plain HTTP.
- **Bringing users back**: the [re-engagement use case](https://hibira.io/use-cases/push-re-engagement) shows a store that tells a shopper when their size is back.

## Frequently asked questions

### Do I need a separate plan for push?

No. Every Hibira plan includes push with the limits above, the Free plan too. Push and realtime share the same account, apps and bill.

### What counts as a subscriber?

A phone or browser registered with one of your apps' push instances, counted across all of your apps. A user signed in on three devices is three subscribers. Uninstalled apps and expired browser subscriptions are removed when a send finds them.

### What happens when I reach my plan's limits?

Devices already registered keep receiving notifications. New registrations are refused until devices are removed or you choose a larger plan. Past the daily notifications, publishing returns HTTP 429 until 00:00 UTC.

### Can I move from Pusher Beams without changing my app?

Your server keeps its Beams library: set the endpoint to `api.hibira.io` and use your Hibira instance ID and secret key. In the app, switch to the Hibira SDK, which has the same calls, so devices register with Hibira and report deliveries and opens.

### Why are delivered and opened missing for some devices?

They are reported by the Hibira SDKs. Devices still on another SDK receive notifications as usual but count only as sent.

### Can I send without writing code?

Yes. The portal sends to an interest or to users from each app's Push panel, now or at a set time, and an AI agent can do the same through the MCP server's `send_push`.
