Getting started

v1 (current)

How the UAMSATech platform is put together, in brief.

UAMSATech is a Next.js 15 application (App Router) with a single PostgreSQL database behind it, accessed through Prisma. There's no separate backend service — every API route below lives in the same codebase as the marketing site and customer portal.

One account works across every product. Central authentication is cookie-based: a short-lived access token plus a longer-lived refresh token, both httpOnly. There is no client-side token storage to manage.

What's documented here

  • Developer Docs — how authentication, sessions, and webhooks actually work.
  • API Reference — the one public, API-key-authenticated endpoint available today.
  • User Guides — using your account and the customer portal.
  • Product Manuals — what to expect from each product as it ships.

Most of the routes under /api/auth/* and /api/portal/* are internal — they authenticate with the browser's session cookie and are called by the portal's own UI, not designed for third-party use. The API Reference section covers the one route that is: /api/v1/usage.