---
title: "Generate Install Url"
method: POST
path: "/google-drive/install"
tags: ["Google Drive"]
---

# Generate Install Url

`POST /google-drive/install`

Generate a Google OAuth authorization URL for connecting a Drive account.

## Request body

- GoogleDriveInstallRequest
  - `redirect_uri` string, nullable — Optional OAuth redirect URI override. Defaults to the backend callback URL.
  - `scopes` string[], nullable — Optional scope override. Defaults to readonly Drive scopes.

## 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)
