Sign in
Docs
API referenceAccounts

API reference

Get the Ask Io widget's branding

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

The account's Ask Io widget: its widget_id, the branding stored (name, tagline, avatar, logo, colours), its revision, whether the plan lets custom branding show (custom_branding_allowed, plan, required_plan) and the config the public widget answers now. The title is always "AI Agent". A key with account:read reads its own account's.

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

Path Parameters

org_id*string

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

Response Body

iohr.accounts.v1.GetWidgetBrandingResponse

application/json
  1. response

iohr.accounts.v1.GetWidgetBrandingResponse

branding?

iohr.accounts.v1.WidgetBranding

config?

iohr.accounts.v1.WidgetConfig

custom_branding_allowed*boolean
plan*string
required_plan*string
revision*string
Formatint64
updated_at*string
widget_id*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.getWidgetBranding("<org_id>");  console.log(value);} 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
{  "branding": {    "accent": "string",    "accent_foreground": "string",    "avatar_url": "string",    "logo_url": "string",    "name": "string",    "surface": "string",    "tagline": "string"  },  "config": {    "avatar_url": "string",    "colors": {      "accent": "string",      "accent_foreground": "string",      "surface": "string"    },    "custom_branding": true,    "logo_url": "string",    "name": "string",    "powered_by": true,    "tagline": "string",    "title": "string",    "widget_id": "string"  },  "custom_branding_allowed": true,  "plan": "string",  "required_plan": "string",  "revision": "string",  "updated_at": "string",  "widget_id": "string"}