A

authentik REST API

REST discovered

Details
URL
https://<your-authentik-instance>/api/v3/
Spec
https://api.goauthentik.io/schema.yml
Docs
https://api.goauthentik.io/
Authentication
API token bearer discovered Get token ↗
Authorization: Bearer <credential>

In your own authentik instance, sign in and create a user token as described in the API authentication docs. The API docs state users can create tokens to authenticate as any user with a static key. Instance-specific admin/API surfaces live under https://<your-authentik-instance>/api/v3/.

OAuth access token with `goauthentik.io/api` scope oauth2 discovered Set up OAuth ↗
Authorization: Bearer <credential>

In your authentik instance, create an OAuth2/OIDC provider from Applications > Applications > New Provider as documented in Create an OAuth2 provider. Request the goauthentik.io/api scope as documented in API Authentication. Use the provider's OAuth flow to mint an access token.