Docs
Have a token? Manage tokens in the console
GET
/v1/events/notifications

The account's notable events, newest first: units near the allowance, a health alert, a webhook endpoint turned off, a member who joined or left, a revoked key or token, a domain that lost its proof, a revoked agent, a deleted connection. Each says whether you have read it, and unread counts the rest (at most 99).

Needs scope events:read.

Authorization

bearer
headerAuthorizationBearer <token>

An access token from the identity provider: a person's, or a customer's from the client credentials grant with an API key (docs.inorbit.hr). The gateway verifies it; the audience is iohr-api.

Query Parameters

page_size?integer

At most this many; 0 or empty means the default.

Formatint32
page_token?string

The next_page_token of the previous page; empty for the first.

account_id?string

A team you belong to, to act on its events; empty for your own account.

types?string

Comma-separated notification types to keep; empty for all.

Response Body

iohr.events.v1.ListNotificationsResponse

application/json
  1. response

iohr.events.v1.ListNotificationsResponse

next_page_token*string
notifications*array<>
unread*integer
Formatint32
import { ApiError, Public } from "@inorbithr/sdk";// Reads INORBIT_TOKEN, or INORBIT_KEY_ID and INORBIT_KEY_SECRET.const api = Public.fromEnv();try {  for await (const notification of api.events.allListNotifications()) {    console.log(notification);  }} catch (e) {  if (!(e instanceof ApiError)) throw e;  console.error(`${e.code}: ${e.problem} (request id ${e.raw.requestId})`);}

npm install @inorbithr/sdk. Calls the package's public surface; an operation newer than your package needs the next release or a client generated for your account. The SDKs.

{  "next_page_token": "string",  "notifications": [    {      "data": {        "property1": "string",        "property2": "string"      },      "id": "string",      "occurred_at": "string",      "read": true,      "type": "string"    }  ],  "unread": 0}