GET
/instanceGet instance settings
Retrieves the current instance configuration, including its environment, allowed origins, and subdomain access settings. Use the returned allowed_subdomains and subdomain_allowlist_enabled values to understand which subdomains may originate requests.
200Returns the instance object with its identifier, environment type, allowed origins, subdomain settings, and owning workspace ID.
objectstringrequired
String representing the object's type. Objects of the same type share the same value.
idstringrequired
environment_typestringrequired
allowed_originsarray<string>required
allowed_subdomainsarray<string>required
Subdomains of the instance's own domains that may originate requests, when the subdomain allowlist is enabled. Production instances only; always empty on a development instance.
subdomain_allowlist_enabledbooleanrequired
Whether requests from subdomains of the instance's own domains are restricted to `allowed_subdomains`. When false, every subdomain of the instance's domain is accepted. Production instances only; always false on a development instance.
workspace_idstringrequired
The ID of the Clerk workspace that owns the instance's application. It is null when the application has no owner.