Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Novu Inbox Realtime API

Real-time WebSocket (Socket.IO) surface that pushes live Inbox updates to browser and mobile clients - notification_received, unseen_count_changed, and unread_count_changed events - authenticated by subscriberId, applicationIdentifier, and an HMAC subscriber hash. Powers the embeddable Inbox component's live bell, counts, and feed.

Novu Inbox Realtime API is one of 13 APIs that Novu publishes on the APIs.io network, described by an AsyncAPI event-driven specification.

Tagged areas include WebSocket, Realtime, Inbox, and Socket.IO. The published artifact set on APIs.io includes API documentation and an AsyncAPI specification.

This event API exposes 3 operations across 3 channels, and defines 5 schemas. It is described by AsyncAPI 2.6.0, at version 1.0.0.

The API connects through 2 servers: ws.novu.co (wss), localhost:3002 (ws).

3 operations 3 channels 5 schemas

Metadata

The identity and technical contract details declared by the specification.

Specification
AsyncAPI 2.6.0
API Version
1.0.0
Base URL
https://ws.novu.co
License
Resource Areas
1

Channels & Operations 3

Across 3 channels, the API surfaces 3 operations. Each is listed below with its action, channel, parameters, and response codes.

Channels 3
SUB
notification_received
Receive a newly delivered in-app notification in real time.
onNotificationReceived body
SUB
unseen_count_changed
Receive the updated unseen notification count.
onUnseenCountChanged body
SUB
unread_count_changed
Receive the updated unread notification count.
onUnreadCountChanged body

Messages & Schemas 5

The contract defines 5 schemas that model the data carried by its messages. The most detailed are InAppMessage (9 properties), CountChangedPayload (2 properties), NotificationReceivedPayload (1 property). Each schema is shown below with its type and property counts.

NotificationReceived
message
A newly delivered in-app notification pushed to the subscriber's socket.
CountChanged
message
Updated unseen or unread notification count for the subscriber.
NotificationReceivedPayload
object
Payload of a notificationreceived event.
1 property
InAppMessage
object
The in-app (Inbox) notification/message object.
9 properties
CountChangedPayload
object
Payload of an unseencountchanged or unreadcountchanged event. Novu emits the relevant count field for the event.
2 properties

Specification

The full machine-readable AsyncAPI contract behind this narrative.

Source

novu-co-asyncapi.yml Raw ↑

Other APIs Novu publishes across the network.

Novu Environments API
Novu Events API
Novu Inbox API
Novu Integrations API
Novu Layouts API
Novu Messages API
Novu Notifications API
Novu Preferences API
Novu Subscribers API
Novu Topics API
Novu Translations API
Novu Workflows API