Private channel

Live Notifications & Activity Feeds

Push notifications, order updates, social activity feeds, and system alerts in real time. No polling, no delays — events arrive the instant they happen on your server.

Implementation

example.js
// Server-side: publish a notification
import { Apinator } from '@apinator/server'

const realtime = new Apinator({
  appId: 'your-app-id',
  key: 'your-key',
  secret: 'your-secret',
  cluster: 'us'
})

// Send notification to a specific user
await realtime.trigger({
  name: 'notification',
  channel: 'private-user-123',
  data: JSON.stringify({
    title: 'Order shipped',
    body: 'Your order #4821 is on the way!',
    url: '/orders/4821'
  })
})

Why Apinator for live notifications & activity feeds

Per-user private channels for targeted notification delivery
Publish from any backend — Node.js, Python, Go, PHP
Exclude the sender with socket_id so users never see their own echo
Automatic reconnection and resubscription (events sent while offline are not replayed)
Publish one event to up to 100 channels in one call
Channel introspection to check if a user is currently connected

Ready to build live notifications & activity feeds?

Get started in minutes. Completely free, no credit card required.