---
title: "Auth Google"
method: POST
path: "/api/auth/google"
tags: ["Account and billing"]
---

# Auth Google

`POST /api/auth/google`

## Request

- Base URL: `https://epw.tools`
- URL: `https://epw.tools/api/auth/google`
- Auth: none declared

Verify a Google ID token (from the GSI button) and return/create an API key.
Requires GOOGLE_CLIENT_ID env var.

## Request body

- GoogleTokenBody
  - `credential` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/epw/apis/epw-tools-api.md) · [All operations](https://skmtc.dev/epw/apis/epw-tools-api/llms.txt) · [OpenAPI document](https://skmtc.dev/epw/apis/epw-tools-api/revisions/e6b60fc7a6d7?raw)
