---
title: "Google Login"
method: GET
path: "/api/v1/auth/google/login"
tags: ["auth"]
---

# Google Login

`GET /api/v1/auth/google/login`

## Request

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

Generate a state, store it (with any affiliate ``ref`` code for first-touch
attribution), and redirect to Google.

## Query parameters

- `ref` string, nullable
- `next` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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