---
title: "Handle Oauth Callback"
method: POST
path: "/google-drive/install/callback"
tags: ["Google Drive"]
---

# Handle Oauth Callback

`POST /google-drive/install/callback`

Exchange the Google OAuth code for tokens and create the Drive installation.

## Request body

- GoogleDriveOAuthCallbackRequest
  - `code` string, required — Authorization code from Google
  - `redirect_uri` string, nullable — Redirect URI used in the authorization request

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/nozomio-labs/apis/nia-ai-api.md) · [All operations](https://skmtc.net/nozomio-labs/apis/nia-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nozomio-labs/nia-ai-api/versions/dbb602a3ef17/schema)
