The bell: a user's notifications, read and unread
GET /v1/notifications/inbox
Newest first: this user’s own notifications, the groups they are in and the broadcasts of the last 30 days, with this user’s read, click and archive state, plus unread_count and poll_interval_seconds (Free 60, Indie 20, Builder 15). Archived ones are left out unless archived=only; category shows one tab.
Auth: Publishable key from the browser, with user_id and user_hash = HMAC-SHA256(signing secret, user_id) as lowercase hex, in the X-Nordva-User-Hash header or a user_hash parameter. A secret key may name any user_id and needs no hash. A wrong or missing hash answers USER_HASH_INVALID (403).
Rate limits: a browser call counts against 120 requests a minute per IP address (not the key’s budget), and the bell reads (/inbox, /unread, /unread/count) share a per-user hourly budget: Free 180, Indie 540, Builder 720 (RATE_LIMITED, 429, with Retry-After).
CORS: Access-Control-Allow-Origin: *.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”The same hash, when a header is inconvenient.
Only notifications that showed after this.
Header Parameters
Section titled “Header Parameters ”HMAC-SHA256(signing secret, user_id), lowercase hex.
Responses
Section titled “ Responses ”Inbox
object
object
What the bell needs. read, clicked and archived are this user’s.
object
A short name the bell can show as a tab, such as billing.
Up to two buttons. Each url is an http(s) URL or a path on your own site.
object
Anything your page needs with the item (at most 2,048 bytes as JSON). Never shown; the bell widget passes it in its events.
When it showed (the scheduled time for a scheduled one).
Posted by a changelog entry; the widget labels it “What’s new”.
What this user can react with, in order, with everyone’s counts; null when it takes no reactions.
object
This user’s reaction.
object
Error envelope. See error.code for the discriminator.
object
object
object
Error envelope. See error.code for the discriminator.
object
object
object
Error envelope. See error.code for the discriminator.
object
object
object
Error envelope. See error.code for the discriminator.