API Reference

RESTful API built with Rust and Axum, providing comprehensive authentication and multi-tenant management capabilities for AuthOS.

API Reference

The AuthOS API is a RESTful API built with Rust and Axum, providing comprehensive authentication and multi-tenant management capabilities.

Getting Started

New to the API? Start here:

API Sections

Authentication & Users

Organizations & Services

  • Organizations - Multi-tenant organization management, SMTP, domains, and branding
  • Services - Service configuration and OAuth settings
  • Invitations - Team member invitations and onboarding

Security & Access Control

  • API Keys - Service-to-service authentication
  • Service API - Backend API endpoints for services
  • SAML - SAML 2.0 Identity Provider

Governance & Integration

Base URL

http://localhost:3000

For production deployments, replace with your deployed API URL.

Authentication

The API uses JWT-based authentication. Most endpoints require an Authorization header:

Authorization: Bearer <access_token>

See the Authentication reference for details on obtaining access tokens.

Pages