---
title: "Sign in with Google"
method: POST
path: "/auth/google"
tags: ["Auth"]
---

# Sign in with Google

`POST /auth/google`

## Request

- Base URL: `https://filepost.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://filepost.dev/auth/google`
- Auth: none declared

Verify a Google ID token and create/find the user, returning an API key.

## Request body

- GoogleAuthRequest
  - `credential` string, required
  - `marketing_consent` boolean
  - `utm_source` string, nullable
  - `utm_medium` string, nullable
  - `utm_campaign` string, nullable
  - `utm_content` string, nullable
  - `landing_path` string, nullable
  - `referrer` string, nullable
  - `intended_workflow` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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