API Reference
API Reference HTTP API reference for autoGMS tenant routes.
autoGMS exposes a REST API for programmatic access to your Garage data. All endpoints are scoped to a specific Team and Garage via URL parameters.
https://your-domain.com/api
All API requests require an active session cookie. Authenticate by signing in through the web application. API-key-based authentication is planned for a future release.
Content-Type: application/json
Cookie: <session-cookie>
Most endpoints require workspaceSlug and projectSlug query parameters (or path segments) to identify the Team and Garage.
Method Path Description GET/api/bookingsList bookings GET/api/bookings/:idGet booking by ID POST/api/bookingsCreate a booking PATCH/api/bookings/:idUpdate a booking POST/api/bookings/:id/transitionTransition booking status
Method Path Description GET/api/customersList customers GET/api/customers/:idGet customer by ID POST/api/customersCreate a customer PATCH/api/customers/:idUpdate a customer
Method Path Description GET/api/vehiclesList vehicles POST/api/vehiclesCreate a vehicle
Method Path Description GET/api/invoicesList invoices GET/api/invoices/:idGet invoice by ID POST/api/invoicesCreate an invoice POST/api/invoices/:id/paymentsRecord a payment GET/api/invoices/:id/pdfDownload invoice PDF
Method Path Description GET/api/expensesList expenses POST/api/expensesCreate an expense
Method Path Description GET/api/servicesList services POST/api/servicesCreate a service
Method Path Description GET/api/baysList bays POST/api/baysCreate a bay
Method Path Description GET/api/reports/profit-lossProfit & Loss report GET/api/reports/balance-sheetBalance Sheet GET/api/reports/cash-flowCash Flow report
Method Path Description GET/api/estimatesList estimates POST/api/estimatesCreate an estimate
All errors follow a standard format:
{
"error" : "Description of the error" ,
"code" : "ERROR_CODE"
}
Common error codes:
UNAUTHORIZED — Session invalid or expired.
FORBIDDEN — Insufficient permissions for this action.
NOT_FOUND — Resource does not exist.
FEATURE_GATED — Feature not available on your plan.
VALIDATION_ERROR — Request body failed validation.
API requests are not currently rate-limited. Fair use is expected. Rate limiting may be introduced in a future release.