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

Authentik OAuth2 API

Issued OAuth2 artefacts: access tokens, refresh tokens and authorization codes granted by authentik as an identity provider.

Authentik OAuth2 API is one of 27 APIs that Authentik publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

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

This API exposes 12 operations across 9 paths, and defines 15 schemas. It is described by OpenAPI 3.2.0, at version 2026.11.0-rc1.

Requests are made against a single base URL, /api/v3.

12 operations 9 paths 15 schemas 3 DELETE9 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2026.11.0-rc1
Base URL
https://{authentik_host}/api/v3
Authentication
HTTP Bearer, HTTP Bearer+Agent, HTTP Bearer, HTTP Bearer
License
Resource Areas
1

Authentication & Security 4

Authentik OAuth2 API declares 4 security schemes for authenticating requests. It accepts HTTP bearer tokens (authentik). It uses HTTP bearer+agent authentication (authentik_device_auth). It accepts HTTP bearer tokens (authentik_device_enroll). It accepts HTTP bearer tokens (authentik_device_federation).

Paths & Operations 12

Across 9 paths, the API surfaces 12 operations — 3 DELETE, 9 GET. Each is listed below with its method, path, parameters, and response codes.

oauth2 12
GET
/oauth2/access_tokens/
AccessToken Viewset
oauth2_access_tokens_list 6 params → 200400403
GET
/oauth2/access_tokens/{id}/
AccessToken Viewset
oauth2_access_tokens_retrieve 1 param → 200400403
DELETE
/oauth2/access_tokens/{id}/
AccessToken Viewset
oauth2_access_tokens_destroy 1 param → 204400403
GET
/oauth2/access_tokens/{id}/used_by/
Get a list of all objects that use this object
oauth2_access_tokens_used_by_list 1 param → 200400403
GET
/oauth2/authorization_codes/
AuthorizationCode Viewset
oauth2_authorization_codes_list 6 params → 200400403
GET
/oauth2/authorization_codes/{id}/
AuthorizationCode Viewset
oauth2_authorization_codes_retrieve 1 param → 200400403
DELETE
/oauth2/authorization_codes/{id}/
AuthorizationCode Viewset
oauth2_authorization_codes_destroy 1 param → 204400403
GET
/oauth2/authorization_codes/{id}/used_by/
Get a list of all objects that use this object
oauth2_authorization_codes_used_by_list 1 param → 200400403
GET
/oauth2/refresh_tokens/
RefreshToken Viewset
oauth2_refresh_tokens_list 6 params → 200400403
GET
/oauth2/refresh_tokens/{id}/
RefreshToken Viewset
oauth2_refresh_tokens_retrieve 1 param → 200400403
DELETE
/oauth2/refresh_tokens/{id}/
RefreshToken Viewset
oauth2_refresh_tokens_destroy 1 param → 204400403
GET
/oauth2/refresh_tokens/{id}/used_by/
Get a list of all objects that use this object
oauth2_refresh_tokens_used_by_list 1 param → 200400403

Schemas 15

The contract defines 15 schemas that model the data the API accepts and returns. The most detailed are User (20 properties), Provider (14 properties), TokenModel (8 properties), Pagination (7 properties). Each schema is shown below with its type and property counts.

PaginatedTokenModelList
object
3 properties 3 required
Role
object
Role serializer
2 properties 2 required
Provider
object
Provider Serializer
14 properties 10 required
Pagination
object
7 properties 7 required
UserTypeEnum
string
ValidationError
object
Validation Error
2 properties
User
object
User Serializer
20 properties 12 required
ExpiringBaseGrantModel
object
Serializer for BaseGrantModel and ExpiringBaseGrant
6 properties 5 required
UsedByActionEnum
string
Autocomplete
object
PaginatedExpiringBaseGrantModelList
object
3 properties 3 required
UsedBy
object
A list of all objects referencing the queried object
5 properties 5 required
PartialGroup
object
Partial Group Serializer, does not include child relations.
5 properties 3 required
TokenModel
object
Serializer for BaseGrantModel and RefreshToken
8 properties 6 required
GenericError
object
Generic API Error
2 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

authentik-oauth2-api-openapi.yml Raw ↑

Other APIs Authentik publishes across the network.

Authentik Core API
Authentik Crypto API
Authentik Events API
Authentik Flows API
Authentik Policies API
Authentik Providers API
Authentik RBAC API
Authentik Schema API
Authentik Sources API
Authentik Stages API
Authentik Admin API
Authentik Agents API
Where this information came from

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