action and a payload, and receive a structured JSON response.
Services
Each logical domain maps to a dedicated service endpoint:AUTH
Handles login and session validation.
CATALOG
Provides vehicle cut points, relay configs, tutorials, navigation data, and dropdowns.
WRITE
Creates and updates vehicle cut records and supplementary information.
USERS
Manages user accounts, roles, and credentials.
FEEDBACK
Records likes, problem reports, contact form submissions, and admin replies.
Universal request format
Every request — regardless of service or action — uses this exact shape:The
Content-Type header must be text/plain (not application/json). Google Apps Script web apps require this to avoid CORS preflight requests.Universal response format
All endpoints return JSON with astatus field:
Success
Action-to-service mapping
| Action | Service |
|---|---|
login | AUTH |
validateSession | AUTH |
getCatalogData | CATALOG |
getNavigationData | CATALOG |
getDropdownData | CATALOG |
getSuggestion | CATALOG |
checkVehicle | WRITE |
addOrUpdateCut | WRITE |
addSupplementaryInfo | WRITE |
getUsers | USERS |
createUser | USERS |
updateUser | USERS |
deleteUser | USERS |
changePassword | USERS |
updateProfile | USERS |
recordLike | FEEDBACK |
reportProblem | FEEDBACK |
sendContactForm | FEEDBACK |
getFeedbackItems | FEEDBACK |
replyToFeedback | FEEDBACK |
markAsResolved | FEEDBACK |
getActivityLogs | FEEDBACK |
Error handling
Always checkresult.status before accessing response data. A non-200 HTTP status code is not guaranteed — Apps Script may return HTTP 200 with status: 'error' in the body.