---
title: "Begin connecting Google Drive"
method: POST
path: "/google-drive/connect/start/"
tags: ["google-drive"]
---

# Begin connecting Google Drive

`POST /google-drive/connect/start/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/google-drive/connect/start/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Returns the Google authorize URL; the org and user ride in the OAuth state.

## Response `200`

Successful Response

- GoogleDriveConnectStartResponseSchema: Where to send the browser to grant access.
  - `authorize_url` string, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: No Drive client is set up.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
