Current admin, permissions and office access
Called on load. A valid company login that is not in the Users table, or is inactive, gets 403. There is no logout endpoint: the SPA signs out with the identity provider and discards its token (replaces AUTH-01).
Authentication
AuthorizationBearer
API session token from POST /v1/admin/session (8 hours). Sign-in itself is Google Workspace; see research R2.
Response
OK
user
permissions
Permission ID to level, using the IDs defined in the portal UI code, e.g. {“sub_manage”: “edit”, “sub_create”: “yes”}.
access
Errors
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error