Admin API

The Admin API allows your server to manage users via a GraphQL endpoint.

The Admin API allows your server to manage users via a GraphQL endpoint. You can list users, search users, view user details, and many more. In fact, the user management part of the portal is built with the Admin API.

The Admin API GraphQL endpoint

The Admin API GraphQL endpoint is at /_api/admin/graphql. For example, if your app is myapp , then the endpoint is https://myapp.authgear.cloud/_api/admin/graphql .

Authentication of the API endpoint

Accessing the Admin API GraphQL endpoint requires your server to generate a valid JWT and include it as Authorization HTTP header.

See Authentication and Security to learn how to access the Admin API securely.

API Explorer

If you want to explore what the Admin API can do, you can visit the GraphiQL tool. The GraphQL schema can also be found there.

  • Go to Advanced -> Admin API

  • Click on the GraphiQL tool link

  • Toggle the schema documentation by pressing the Docs button in the top left corner.

Explor the Admin API with GraphiQL tool from the Admin Portal

API Schema

API Schema

API Examples

API Queries and Mutations

Last updated

Was this helpful?