Hanzo AI
OpenapiAccount

List embed

Reports whether one of this brand's shared embedded apps (cms, erp, help) may be framed by the caller and is actually running, so a console module can…

GET /v1/account/embed

Addresshttps://api.hanzo.ai/v1/account/embed
MethodGET
Operationget_account_embed
AuthAuthorization: Bearer $HANZO_API_KEY

Reports whether one of this brand's shared embedded apps (cms, erp, help) may be framed by the caller and is actually running, so a console module can choose between the embed and the provision panel.

It answers two questions the browser cannot answer for itself. ENTITLEMENT is server-authoritative: each app is a single shared per-BRAND instance, so only a member of the owning brand org — or a SuperAdmin — is given the embed URL; every other caller gets phase "not-entitled" and no URL. REACHABILITY is a probe of that origin, which a cross-origin page cannot read for itself.

The probed host is always <app>.<this deployment's own brand domain>: no part of it comes from the request, so this can never be steered into probing an arbitrary origin.

Request

1 field.

FieldInTypeRequiredDescription
appquerystringApp is the embedded app to report on: cms (Content Studio), erp or help.

Response

StatusBodyMeaning
200embedStatusRespok

200 body — 6 fields.

FieldInTypeAlwaysDescription
appbodystringApp is the app this verdict is about.
embedUrlbodystringEmbedURL is the in-app landing URL to frame.
entitledbodybooleanEntitled is whether the caller's org may frame this brand-owned app.
originbodystringOrigin is the app's origin on this deployment's own brand domain.
phasebodystringPhase is the verdict in one word: not-entitled, not-provisioned or ready.
reachablebodybooleanReachable is whether the app answered the liveness probe.

Failure carries the platform error shape — see Errors.

Examples

hanzo account embed

Account API · All Hanzo APIs · Interactive reference

How is this guide?

On this page