---
title: "Google Staff Login"
method: POST
path: "/auth/google-login"
tags: ["AUTH"]
---

# Google Staff Login

`POST /auth/google-login`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/auth/google-login`
- Auth: HTTP bearer

Staff sign-in on the root domain with a Google Workspace account.

Returns the same payload as ``/login`` for the staff member's
``public_users`` row, which is created on their first sign-in. Tenant
subdomains keep their own login flows, so this is the public tenant only.

## Headers

- `x-tenant` string

## Request body

- GoogleStaffLoginIn
  - `credential` string, required

## Response `200`

Successful Response

- UserLoginOut
  - `id` integer, nullable
  - `email` string, required
  - `auth_token` string, required
  - `first_name` string, nullable
  - `last_name` string, nullable
  - `is_onboarded` boolean, required
  - `tz` string, nullable
  - `lang` string, nullable
  - `uuid` string, uuid, required
  - `role_FK` RolePermissionFull
    - `role_name` string, required
    - `role_description` string, required
    - `role_title` string, required
    - `is_custom` boolean, required
    - `permission` PermissionsFull[], required
      - `uuid` string, uuid, required
      - `name` string, required
      - `title` string, required
      - `description` string, required
      - `group` string, nullable
  - `has_role_conflict` boolean
  - `sso_resolved_role_title` string, nullable

## Other responses

- `401`: Not a verified Altimate staff Google account
- `404`: Only available on the root domain
- `422`: Validation Error
- `503`: Google sign-in is not configured

## Changes

- **2026-10-07** `b4beb9e80982`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/myaltimate/apis/myaltimate-api/changes/auth/google-login/post.md)

---

[API](https://skmtc.dev/myaltimate/apis/myaltimate-api.md) - [All operations](https://skmtc.dev/myaltimate/apis/myaltimate-api/llms.txt) - [OpenAPI document](https://skmtc.dev/myaltimate/apis/myaltimate-api/revisions/727657ce54e9?raw)
