SqftGo
SqftGo API
Minimal contract for the main marketplace routes. Auth is a Bearer access token (mobile) or the site session cookie (web). This is not a full catalog of admin routes.
Raw spec: /api/openapi
| Method | Path | What it does |
|---|---|---|
| get | /api/health | Ping the app and Supabase Runs a one-row read so the Free-plan database does not pause (pause is 7 days of inactivity). Called daily by CI. |
| get | /api/openapi | This OpenAPI document as JSON |
| post | /api/auth/login | Email and password login |
| post | /api/auth/signup | Create an account |
| post | /api/auth/logout | End the current session |
| get | /api/auth/me | Current user profile Auth required |
| get | /api/properties | List properties |
| post | /api/properties | Create a listing Auth required |
| get | /api/properties/{id} | Property detail |
| post | /api/inquiries | Send a property inquiry Auth required |
| get | /api/favorites | List the signed-in user’s favorites Auth required |
| post | /api/favorites | Save a property Auth required |
| get | /api/dealers | Public dealer directory |
| get | /api/locations | Active cities |
