Skip to main content
GET
Error

Path Parameters

publishableKey
string
required

The environment's publishable key.

Example:

"uk_pk_live_…"

Response

The environment's public configuration.

environment
enum<string>
Available options:
live,
test
default_locale
enum<string>

The language this environment speaks to somebody it knows nothing about — the middle term of the chain a message is rendered through (the contact's own locale, then this, then the platform default).

Always a locale that can actually be rendered, never the empty string: a screen drawn before there is a session has nobody to ask, so an absent answer here would be a page inferring a language from nothing. Set it on the environment; changing it takes effect without redeploying anything.

Available options:
pt-BR,
en
attribution
boolean

Whether this environment's sign-in screens carry the "powered by UserKit" mark. true on the free tier; false once the plan includes removing it, so upgrading takes the mark off without redeploying anything.

It is the one field here that comes from the plan rather than from the environment, and it fails in the generous direction: when the plan cannot be resolved this answers false, because marking a form somebody paid to keep clean is the more expensive mistake.

support_chat
boolean

Whether this environment answers the contact support surface (/v1/contact/conversations) — what tells the conversation half of <HelpWidget /> to render at all. Declared here rather than inferred from the API's age, so a widget never draws a chat nothing answers.

help_center
boolean

Whether the organization's help center has at least one published article. It is the one bit a page needs to decide whether to draw a help button, and it rides here so the script-tag widget does not download every collection and article summary on every page load to learn it. A published article appears here the moment it is published, on the same cacheable read as everything else.

support_ai
boolean

Whether the support surface may answer by itself: the organization turned the auto-responder on AND the platform can honor it. Declared so a widget that wants to promise an instant answer never learns the capability from a version number — and any doubt reads false, because a chat that under-promises sends nobody wrong.

help_url
string

Where this environment's published help center lives on the web — what <HelpWidget /> links an article to, so a reader can open it full-width or share it. On a domain the tenant PROVED they own it is that host and nothing else (https://ajuda.tenant.com/help); on the shared portal it carries the publishable key, which is what makes one deployment serving every organization able to tell whose product a page belongs to. A claimed-but-unverified domain is never used: that host does not answer yet, so a link onto it would be dead.

changelog_url
string

Where this environment's public release page lives, resolved the same three ways help_url is — and the prefix a post's permalink hangs off: {changelog_url}/{slug}. Always sent: whether anything is published there is that document's own answer, not a reason to withhold the address.

branding
object

How this environment's screens look — read here so a colour changed in the panel takes effect without anybody redeploying, exactly as default_locale does.

It deliberately carries no custom_css. This document is addressed by a publishable key, which sits in page HTML by design, so a stylesheet on it would be arbitrary CSS anybody could get rendered on a shared host. A tenant's own stylesheet travels on GET /v1/portal/tenants/{host}, which answers for verified domains only.