Skip to main content

API

Phase Two extends the standard Keycloak Admin REST API with APIs for its extensions, such as organizations, webhooks, and magic links. These APIs run on your cluster, alongside Keycloak's own.

To manage Phase Two itself, such as creating clusters, realms, and custom domains, use the Management API instead.

Base URI format​

Paths in the API reference are relative to this base URI:

  • Format: https://<your-cluster-host>/auth/realms
  • Example with a custom domain: https://auth.example.com/auth/realms

<your-cluster-host> is the hostname shown for your cluster in the Dashboard, or a custom domain you have attached to it. Both serve the same APIs.

API sections​