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/adminAuthentication
All Admin API requests require your Admin API Key as a Bearer token:
Authorization: Bearer your_admin_api_keyYou 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 Key404- Resource not found
All errors follow this format:
{
"detail": "Error message"
}Last updated on