---
title: "Google OAuth callback (redirect)"
method: GET
path: "/auth/callback"
tags: ["Auth"]
---

# Google OAuth callback (redirect)

`GET /auth/callback`

## Request

- Base URL: `https://api.agnost.ai`
- URL: `https://api.agnost.ai/auth/callback`
- Auth: none required

## Query parameters

- `code` string, required

## Other responses

- `302`: Redirects to frontend with JWT token

## Changes

- **2026-11-03** `a61431b48f36`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agnost/apis/agnost-ai-api/changes/auth/callback/get.md)

---

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