Docs
Have a token? Manage tokens in the console
GET
/v1/accounts/orgs/{org_id}/entitlements

The account's plan and the features and extensions it includes, with the reason: the plan, or every feature for InOrbit's own accounts and platform admins. Members, the account's keys and tokens with account:read may read it; anyone else gets not found.

Needs scope account: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.

Path Parameters

org_id*string

The account's id: org in GET /v1/me.

Response Body

iohr.accounts.v1.GetEntitlementsResponse

application/json
  1. response

iohr.accounts.v1.GetEntitlementsResponse

account_id*string
extensions*array<string>
features*array<string>
granted_by*string
plan*string
import { ApiError, Public } from "@inorbithr/sdk";// Reads INORBIT_TOKEN, or INORBIT_KEY_ID and INORBIT_KEY_SECRET.const api = Public.fromEnv();try {  const { value } = await api.accounts.getEntitlements("<org_id>");  console.log(value);} 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.

{  "account_id": "string",  "extensions": [    "string"  ],  "features": [    "string"  ],  "granted_by": "string",  "plan": "string"}