Miles USP API

Miles USP API (MilesOne)

Welcome to the interactive API reference for the Miles USP FastAPI backend — the strangler-fig rebuild of the former Django monolith. Every product route is served under the /v7 prefix.

What you can do here

  • Browse 281 endpoints grouped by product module (account, CAIRA, masterclass, commerce, and more).
  • Try requests in the API Explorer against Production, UAT, or Local servers.
  • Copy HTTP snippets (cURL, Python, TypeScript, Go, and more).

Base URLs

EnvironmentURL
Productionhttps://api.milescaira.com
UAThttps://miles-usp-backend-uat-2-154625965269.asia-south1.run.app
Localhttp://localhost:8080

All versioned routes are under /v7 (e.g. GET /v7/ping).

Next steps

  1. Read Getting started for environment setup and your first request.
  2. Review Authentication for dual-JWT Bearer tokens and admin phone OTP login.
  3. Jump to the API Reference for endpoint details.