Sign in
Docs

Events

List event types

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

The event catalogue: every type you can receive, with the JSON Schema of its data.

Needs scope events:read.

Authorization

bearer
headerAuthorizationBearer <JWT>

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

Query Parameters

page_size?integer
Formatint32
page_token?string

Response Body

iohr.events.v1.ListEventTypesResponse

application/json
  1. response

iohr.events.v1.ListEventTypesResponse

next_page_token*string
types*array<>
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 eventType of api.events.allListEventTypes()) {    console.log(eventType);  }} catch (e) {  if (!(e instanceof ApiError)) throw e;  console.error(`${e.code}: ${e.problem} (request id ${e.raw.requestId})`);  process.exitCode = 1;}

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.

Example Response
{  "next_page_token": "string",  "types": [    {      "description": "string",      "schema": "string",      "type": "string"    }  ]}