Keycloak Account REST API OpenAPI Specification

April 21, 2026

Tags: #keycloak #account #api #openapi #oas

Finally..! 🙏
Finally I created an OpenAPI Specification file (OAS) for the Keycloak Account REST API. This API is available since Keycloak version… 12? 14? I don’t remember anymore exactly. At least for several years! But it has never been documented, neither as OAS, nor in any other format. Unfortunately.

Now, finally, I asked 🤖 Claude Code to extract the relevant information from the Java source code and to write an OAS spec file. And voilà - here it is:

https://gist.github.com/dasniko/86e3bd20fe13da13c6964df2cc4efd81

Want to try it directly in Swagger Editor? Click here

Disclaimer: I haven’t reviewed it yet, so there might be errors.

Du bist auf der Suche nach Keycloak Beratung, Unterstützung, Workshops oder Trainings?

Nimm Kontakt mit mir auf!

« My KeycloakCon Europe 2026 Amsterdam Talk is published!