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 OAuth2 Identity Provider API

Requests for the OAuth2 authorization flow.

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

Tagged areas include OAuth2 Identity Provider. 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 10 operations across 7 paths, and defines 10 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.

10 operations 7 paths 10 schemas 3 GET7 POST

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 OAuth2 Identity Provider 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 10

Across 7 paths, the API surfaces 10 operations — 3 GET, 7 POST. Each is listed below with its method, path, parameters, and response codes.

OAuth2 Identity Provider 10

Requests for the OAuth2 authorization flow.

GET
/oauth/authorize
Request OAuth2 Authorization
requestOAuthAuthorize 10 params → 200302303400401403
POST
/oauth/authorize
Request OAuth2 Authorization
requestOAuthAuthorizePOST body → 200302303400401403
POST
/oauth/register
Register OAuth 2.0 Client
registerOAuthClient body → 201400422500
POST
/oauth/token
Get OAuth2 Token
getOAuthToken body → 200400401403
GET
/oauth/userinfo
Get User Info After OAuth2 Flow
getOAuthUserInfo → 200400401403
POST
/oauth/userinfo
Get User Info After OAuth2 Flow
getOAuthUserInfoPOST → 200400401403
POST
/oauth/token_info
Get Information for an Access or Refresh Token
getOAuthTokenInfo body → 200401422
POST
/oauth/token/revoke
Revoke OAuth2 Token
revokeOAuthToken body → 200400401
GET
/v1/me/oauth/consent/{client_id}
Get Consent Information
getOAuthConsent 2 params → 200400401403404422
POST
/v1/me/oauth/consent/{client_id}
Submit OAuth2 Consent Decision
submitOAuthConsent 1 param body → 200302303400401403404422

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are OAuth.UserInfo (15 properties), OAuth.DynamicClientRegistrationResponse (12 properties), OAuth.DynamicClientRegistrationRequest (6 properties), OAuth.Token (6 properties). Each schema is shown below with its type and property counts.

OAuth.TokenInfo
object
5 properties 1 required
OAuth.UserInfo
object
15 properties 4 required
OAuth.DynamicClientRegistrationError
object
Error response for OAuth 2.0 Dynamic Client Registration according to RFC 7591. The error response uses OAuth 2.0 error response format.
2 properties 1 required
ClerkErrors
object
3 properties 1 required
OAuth.ScopeWithDescription
object
3 properties 2 required
OAuth.DynamicClientRegistrationRequest
object
Client metadata used to register a new OAuth 2.0 client according to RFC 7591. The authorization server assigns this client a unique client identifier.
6 properties 1 required
OAuth.ConsentInfo
object
5 properties 3 required
OAuth.DynamicClientRegistrationResponse
object
Client information response after successful registration according to RFC 7591. Contains the client identifier, client secret (for confidential clients), and…
12 properties 9 required
ClerkError
object
4 properties 3 required
OAuth.Token
object
OAuth 2.0 token response according to RFC 6749 Section 5.1. When using OpenID Connect (with openid scope), also includes an idtoken field.
6 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

clerk-com-oauth2-identity-provider-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 OAuth2 Identity Provider 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.