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

Ory oAuth2 API is one of 22 APIs that Ory publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Authentication. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and a GitHub repository.

This API exposes 31 operations across 24 paths, and defines 30 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

31 operations 24 paths 30 schemas 5 DELETE10 GET1 PATCH6 POST9 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Authentication
HTTP Basic, HTTP Bearer, OAuth 2.0
Contact
License
Apache 2.0
Resource Areas
1

Authentication & Security 3

Ory oAuth2 API declares 3 security schemes for authenticating requests. It accepts HTTP basic authentication (basic). It accepts HTTP bearer tokens (bearer). It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 3 scopes.

Paths & Operations 31

Across 24 paths, the API surfaces 31 operations — 5 DELETE, 10 GET, 1 PATCH, 6 POST, 9 PUT. Each is listed below with its method, path, parameters, and response codes.

oAuth2 31

OAuth 2.0

GET
/admin/clients
List OAuth 2.0 Clients
listOAuth2Clients 4 params → 200default
POST
/admin/clients
Create OAuth 2.0 Client
createOAuth2Client body → 201400default
DELETE
/admin/clients/{id}
Delete OAuth 2.0 Client
deleteOAuth2Client 1 param → 204default
GET
/admin/clients/{id}
Get an OAuth 2.0 Client
getOAuth2Client 1 param → 200default
PATCH
/admin/clients/{id}
Patch OAuth 2.0 Client
patchOAuth2Client 1 param body → 200404default
PUT
/admin/clients/{id}
Set OAuth 2.0 Client
setOAuth2Client 1 param body → 200400404default
PUT
/admin/clients/{id}/lifespans
Set OAuth2 Client Token Lifespans
setOAuth2ClientLifespans 1 param body → 200default
GET
/admin/oauth2/auth/requests/consent
Get OAuth 2.0 Consent Request
getOAuth2ConsentRequest 1 param → 200410default
PUT
/admin/oauth2/auth/requests/consent/accept
Accept OAuth 2.0 Consent Request
acceptOAuth2ConsentRequest 1 param body → 200default
PUT
/admin/oauth2/auth/requests/consent/reject
Reject OAuth 2.0 Consent Request
rejectOAuth2ConsentRequest 1 param body → 200default
PUT
/admin/oauth2/auth/requests/device/accept
Accepts a device grant usercode request
acceptUserCodeRequest 1 param body → 200default
GET
/admin/oauth2/auth/requests/login
Get OAuth 2.0 Login Request
getOAuth2LoginRequest 1 param → 200410default
PUT
/admin/oauth2/auth/requests/login/accept
Accept OAuth 2.0 Login Request
acceptOAuth2LoginRequest 1 param body → 200default
PUT
/admin/oauth2/auth/requests/login/reject
Reject OAuth 2.0 Login Request
rejectOAuth2LoginRequest 1 param body → 200default
GET
/admin/oauth2/auth/requests/logout
Get OAuth 2.0 Session Logout Request
getOAuth2LogoutRequest 1 param → 200410default
PUT
/admin/oauth2/auth/requests/logout/accept
Accept OAuth 2.0 Session Logout Request
acceptOAuth2LogoutRequest 1 param → 200default
PUT
/admin/oauth2/auth/requests/logout/reject
Reject OAuth 2.0 Session Logout Request
rejectOAuth2LogoutRequest 1 param → 204default
DELETE
/admin/oauth2/auth/sessions/consent
Revoke OAuth 2.0 Consent Sessions of a Subject
revokeOAuth2ConsentSessions 4 params → 204default
GET
/admin/oauth2/auth/sessions/consent
List OAuth 2.0 Consent Sessions of a Subject
listOAuth2ConsentSessions 4 params → 200default
DELETE
/admin/oauth2/auth/sessions/login
Revokes OAuth 2.0 Login Sessions by either a Subject or a SessionID
revokeOAuth2LoginSessions 2 params → 204default
POST
/admin/oauth2/introspect
Introspect OAuth2 Access and Refresh Tokens
introspectOAuth2Token body → 200default
DELETE
/admin/oauth2/tokens
Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client
deleteOAuth2Token 1 param → 204default
GET
/admin/trust/grants/jwt-bearer/issuers
List Trusted OAuth2 JWT Bearer Grant Type Issuers
listTrustedOAuth2JwtGrantIssuers 3 params → 200default
POST
/admin/trust/grants/jwt-bearer/issuers
Trust OAuth2 JWT Bearer Grant Type Issuer
trustOAuth2JwtGrantIssuer body → 201default
DELETE
/admin/trust/grants/jwt-bearer/issuers/{id}
Delete Trusted OAuth2 JWT Bearer Grant Type Issuer
deleteTrustedOAuth2JwtGrantIssuer 1 param → 204default
GET
/admin/trust/grants/jwt-bearer/issuers/{id}
Get Trusted OAuth2 JWT Bearer Grant Type Issuer
getTrustedOAuth2JwtGrantIssuer 1 param → 200default
GET
/oauth2/auth
OAuth 2.0 Authorize Endpoint
oAuth2Authorize → 302default
POST
/oauth2/device/auth
The OAuth 2.0 Device Authorize Endpoint
oAuth2DeviceFlow → 200default
GET
/oauth2/device/verify
OAuth 2.0 Device Verification Endpoint
performOAuth2DeviceVerificationFlow → 302default
POST
/oauth2/revoke
Revoke OAuth 2.0 Access or Refresh Token
revokeOAuth2Token body → 200default
POST
/oauth2/token
The OAuth 2.0 Token Endpoint
oauth2TokenExchange body → 200default

Schemas 30

The contract defines 30 schemas that model the data the API accepts and returns. The most detailed are oAuth2Client (51 properties), jsonWebKey (17 properties), introspectedOAuth2Token (14 properties), oAuth2ConsentRequest (14 properties). Each schema is shown below with its type and property counts.

oAuth2ClientTokenLifespans
object
Lifespans of different token types issued for this OAuth 2.0 Client.
13 properties
JSONRawMessage
nullTime
string
oAuth2LoginRequest
object
9 properties 5 required
oAuth2Client
object
OAuth 2.0 Clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your…
51 properties
oAuth2LogoutRequest
object
8 properties
trustedOAuth2JwtGrantIssuers
array
OAuth2 JWT Bearer Grant Type Issuer Trust Relationships
jsonWebKey
object
17 properties 4 required
jsonWebKeySet
object
JSON Web Key Set
1 property
oAuth2ConsentRequest
object
14 properties 1 required
errorOAuth2
object
Error
5 properties
trustedOAuth2JwtGrantIssuer
object
OAuth2 JWT Bearer Grant Type Issuer Trust Relationship
8 properties
introspectedOAuth2Token
object
Introspection contains an access token's session data as specified by [IETF RFC 7662](https://tools.ietf.org/html/rfc7662)
14 properties 1 required
acceptDeviceUserCodeRequest
object
Contains information on an device verification
1 property
oAuth2ConsentRequestOpenIDConnectContext
object
5 properties
oAuth2ConsentSessions
array
List of OAuth 2.0 Consent Sessions
rejectOAuth2Request
object
5 properties
NullDuration
string
Specify a time duration in milliseconds, seconds, minutes, hours.
acceptOAuth2ConsentRequestSession
object
2 properties
oAuth2ConsentSession
object
A completed OAuth 2.0 Consent Session.
9 properties
jsonPatch
object
A JSONPatch document as defined by RFC 6902
4 properties 2 required
acceptOAuth2LoginRequest
object
9 properties 1 required
trustOAuth2JwtGrantIssuer
object
Trust OAuth2 JWT Bearer Grant Type Issuer Request Body
6 properties 4 required
oAuth2RedirectTo
object
Contains a redirect URL used to complete a login, consent, or logout request.
1 property 1 required
trustedOAuth2JwtGrantJsonWebKey
object
OAuth2 JWT Bearer Grant Type Issuer Trusted JSON Web Key
2 properties
deviceAuthorization
object
Ory's OAuth 2.0 Device Authorization API
6 properties
acceptOAuth2ConsentRequest
object
6 properties
jsonPatchDocument
array
A JSONPatchDocument request
oAuth2TokenExchange
object
OAuth2 Token Exchange Result
6 properties
genericError
object
8 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ory-oauth2-api-openapi.yml Raw ↑

Other APIs Ory publishes across the network.

Ory api API
Ory courier API
Ory frontend API
Ory identity API
Ory jwk API
Ory metadata API
Ory oidc API
Ory permission API
Ory relationship API
Ory wellknown API
Ory Billing API
Ory Event Streams API
Where this information came from

This is an independent, third-party profile of Ory oAuth2 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.