Skip to Content
Authgate 1.9.5 is released šŸŽ‰
Admin API ReferenceOverview

Admin API Reference

The Admin API lets you manage users and licenses programmatically from your own backend or tools.

Base URL

http://your-authgate-domain.com/api/admin

Authentication

All Admin API requests require your Admin API Key as a Bearer token:

Authorization: Bearer your_admin_api_key

You can find your Admin API Key in the Authgate dashboard under Application Settings.

When to Use This API

The Admin API is for server-to-server communication. Use it when:

  • Building custom admin tools or dashboards
  • Integrating with external systems (e.g., Discord bots)
  • Automating user management tasks

Important: Never expose your Admin API Key in client applications. It should only be used from your backend servers.

Error Responses

Common error responses:

  • 401 - Invalid or missing Admin API Key
  • 404 - Resource not found

All errors follow this format:

{ "detail": "Error message" }
Last updated on