---
title: "Google Callback"
method: GET
path: "/api/v1/auth/google/callback"
tags: ["OAuth"]
---

# Google Callback

`GET /api/v1/auth/google/callback`

## Request

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

Exchange Google auth code for tokens and create/login user.

## Query parameters

- `code` string, required
- `state` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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