---
title: "Oauth Google Id Token"
method: POST
path: "/account/oauth/google/id-token"
tags: ["account"]
---

# Oauth Google Id Token

`POST /account/oauth/google/id-token`

## Request

- Base URL: `https://api.beatra.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.beatra.ai/account/oauth/google/id-token`
- Auth: none declared

Sign in on the H5 with the Google ID token an app shell signed in for natively.

Google refuses its sign-in page inside an app's web view, so the iOS and Android
shells sign in natively and hand the H5 the token (`backend/mobile/shared/shell.md`).

## Request body

- OAuthIdTokenRequest
  - `id_token` string, required
  - `visitor_context_token` string, nullable

## Response `200`

Successful Response

- OAuthIdTokenResponse
  - `tenant_id` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/beatra/apis/agent-service-api.md) · [All operations](https://skmtc.dev/beatra/apis/agent-service-api/llms.txt) · [OpenAPI document](https://skmtc.dev/beatra/apis/agent-service-api/revisions/58e440556498?raw)
