OptimoAI API Production
Backend running. Multi-product SaaS platform with AI services for WMS, SFA, TMS and POS. Multi-scheme authentication, billing and model execution.
Quick links
- Swagger UI /swagger
- Health check /api/core/ping/user
-
Token (Basic)
POST /api/auth/token -
Client credentials
POST /api/auth/client-token -
Internal docs
XtraDocuments/
Security
Three authentication schemes depending on the client type.
System modules
Auth
JWT token issuance, registration, login, forgot-password and session management by claims and roles.
/api/auth/*
Core
Organizations, members, Optimo products, plans, auditing and platform utilities.
/api/core/*
AI
Subscriptions, client-credential credentials, AI services, model execution and usage logs.
/api/ai/* /api/execute/*
Billing
Payment methods, invoices, billing periods, accrued costs and spending limits.
/api/billing/*
Admin
Payment provider management, platform configuration and subscription overrides (Admin role).
/api/admin/*
Portal
Blazor WASM frontend connected to this backend. Self-service account, subscriptions and credentials.
http://localhost:5022
Key endpoints
| Method | Route | Description | Auth |
|---|---|---|---|
| POST | /api/auth/token | Login — issues user JWT | Basic |
| POST | /api/auth/client-token | App token (client credentials) | None |
| POST | /api/auth/register | New user registration | None |
| GET | /api/core/ping/user | Health check with session info | Bearer |
| GET | /api/ai/organizations/{id}/subscriptions | Lists an org's subscriptions | Bearer |
| POST | /api/ai/organizations/{id}/credentials | Create client credential | Bearer |
| POST | /api/execute/{orgId}/subscriptions/{subId} | Execute AI service | Client Credentials |
| GET | /api/admin/payment-config | Payment provider config (singleton) | Bearer + Admin |
XtraDocuments/ApiManual.md.