How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Clerk Environment API

Used to get and update the current Environment

Clerk Environment API is one of 104 APIs that Clerk publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Environment. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, and authentication docs.

This API exposes 2 operations across 1 path, and defines 35 schemas. It is described by OpenAPI 3.2.0, at version v1.

Requests are made against a single base URL, https://{domain}.clerk.accounts.dev.

2 operations 1 paths 35 schemas 1 GET1 PATCH

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v1
Base URL
https://api.clerk.com/v1
Authentication
API Key, API Key, HTTP Bearer, API Key, HTTP Basic
Contact
License
Terms of Service
Resource Areas
1

Authentication & Security 5

Clerk Environment API declares 5 security schemes for authenticating requests. An API key is passed in the cookie as __client (ProductionBrowser). An API key is passed in the query as __dev_session (DevBrowser). It accepts HTTP bearer tokens (ProductionNativeApp). An API key is passed in the query as _is_native (ProductionNativeFlag). It accepts HTTP basic authentication (ClientCredentials). By default, every request must be authenticated, though some operations may also be called without credentials.

  • ProductionBrowser — The Client API token sent in the form of a browser cookie. Used to authenticate production browser applications.
  • DevBrowser — A Dev Browser API token sent as a query parameter. Used to authenticate only dev instances. To generate a dev instance API token you must first make a request…
  • ProductionNativeApp — The Client API token sent in the Authorization header. Used to authenticate native applications.
  • ProductionNativeFlag — If sent and the value is true, it instructs the server to parse the API token from the Authorization header. It should always be set to true when using the Aut…
  • ClientCredentials — HTTP Basic Authentication using Client ID as username and Client Secret as password.

Paths & Operations 2

Across 1 path, the API surfaces 2 operations — 1 GET, 1 PATCH. Each is listed below with its method, path, parameters, and response codes.

Environment 2

Used to get and update the current Environment

GET
/v1/environment
Get Environment
getEnvironment → 200400401
PATCH
/v1/environment
Update Environment
updateEnvironment 1 param → 200400401

Schemas 35

The contract defines 35 schemas that model the data the API accepts and returns. The most detailed are Client.DisplayConfig (43 properties), UserSettings.Socials (31 properties), Client.AuthConfig (20 properties), Client.UserSettings (12 properties). Each schema is shown below with its type and property counts.

UserSettings.AttackProtectionSettings
object
4 properties 4 required
UserSettings.PasswordSettings
object
11 properties 11 required
UserSettings.AttackProtectionSettings.EmailLink
object
1 property 1 required
UserSettings.AttackProtectionSettings.UserLockout
object
3 properties 3 required
Client.FraudSettings
object
2 properties 1 required
Client.UserSettings
object
12 properties 12 required
OrganizationSettings.SlugSettings
object
1 property 1 required
Client.OrganizationSettings
object
6 properties 5 required
UserSettings.ActionsSettings
object
3 properties 3 required
Client.Environment
object
11 properties
UserSettings.UsernameSettings
object
4 properties 4 required
UserSettings.EnterpriseSSO
object
2 properties 1 required
UserSettings.Attributes
object
11 properties 11 required
ClerkErrors
object
3 properties 1 required
FraudSettings.NativeSettings
object
1 property 1 required
UserSettings.PasskeySettings
object
2 properties 2 required
UserSettings.SignUp
object
6 properties 6 required
UserSettings.AttackProtectionSettings.PII
object
1 property 1 required
Client.AuthConfig
object
20 properties 19 required
OrganizationSettings.ActionsSettings
object
1 property 1 required
UserSettings.Attribute
object
9 properties 9 required
UserSettings.Social
object
9 properties 7 required
OrganizationSettings.DomainsSettings
object
3 properties 3 required
UserSettings.Restrictions.Enabled
object
1 property 1 required
Client.ApiKeysSettings
object
3 properties 3 required
Client.DisplayConfig
object
43 properties 40 required
ClerkError
object
4 properties 3 required
Image
object
4 properties
UserSettings.Socials
object
31 properties
UserSettings.AttackProtectionSettings.EnumerationProtection
object
1 property 1 required
UserSettings.Restrictions
object
5 properties 5 required
UserSettings.SignIn
object
1 property 1 required
Client.ProtectConfig
object
1 property
Client.CommerceSettings
object
1 property 1 required
Client.ProtectConfig.Loader
object
Configuration for the Clerk Protect loader.
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

clerk-com-environment-api-openapi.yml Raw ↑

Other APIs Clerk publishes across the network.

Clerk Account Portal API
Clerk Active Sessions API
Clerk Actor Tokens API
Clerk Agent Tasks API
Clerk Allow-list / Block-list API
Clerk API Keys API
Clerk Application Transfers API
Clerk Applications API
Clerk Backup Codes API
Clerk Beta Features API
Clerk Billing API
Clerk Checkouts API
Where this information came from

This is an independent, third-party profile of Clerk Environment API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.