---
title: "Oauth Callback"
method: GET
path: "/calendar/oauth/callback"
tags: ["calendar"]
---

# Oauth Callback

`GET /calendar/oauth/callback`

## Request

- Base URL: `https://stardrift.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://stardrift.ai/calendar/oauth/callback`
- Auth: none declared

Handle the Google OAuth redirect — exchange code, store the connection.

## Query parameters

- `code` string, nullable
- `error` string, nullable
- `state` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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