Skip to content

API overview

Prego exposes APIs for tenant management, auth, billing, and related operations.

Base URLs

  • Control Plane — Set via your deployment config.
  • Auth — Set via your auth URL env var.
  • Billing proxy — Set when using a billing gateway.

Authentication

Most API calls require a valid JWT or session token. Pass the token in the Authorization header or as configured.

Main API areas

AreaPurpose
Control PlaneTenant provisioning, config, health.
AuthLogin, signup, token refresh.
BillingPlans, subscriptions (may be proxied).

Next steps