---
title: "Google Sheets OAuth redirect URI"
method: GET
path: "/app/yelp/leads/google/oauth/callback"
tags: ["App Yelp"]
---

# Google Sheets OAuth redirect URI

`GET /app/yelp/leads/google/oauth/callback`

## Request

- Base URL: `https://api.optimyzee.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.optimyzee.com/app/yelp/leads/google/oauth/callback`
- Auth: none declared
- TypeScript: <https://skmtc.dev/optimyzee/apis/optimyzee-api/docs/app/yelp/leads/google/oauth/callback/get.ts> (a function with typed inputs; its response is checked against the schema)

Google redirects the user's browser here (top-level, no app session) after
they authorize. The user is identified from the signed `state`; we exchange
the code, then bounce the browser back into the SPA leads page.

## Other responses

- `302`: Redirect back to the app

---

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