---
title: "Google Sign In"
method: POST
path: "/v1/auth/google"
tags: ["auth"]
---

# Google Sign In

`POST /v1/auth/google`

## Request

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

Sign in or sign up with a Google ID token.

One endpoint for both, because from the user's side there is no difference:
they press the Google button and end up signed in. Which of the three
branches below ran is our bookkeeping, not their concern.

## Request body

- GoogleSignInRequest
  - `credential` string, required

## Response `200`

Successful Response

- TokenResponse
  - `accessToken` string, required
  - `tokenType` string
  - `expiresIn` integer, required

## Other responses

- `422`: Validation Error

---

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