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

# Yelp Leads OAuth redirect URI

`GET /app/yelp/leads/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/oauth/callback`
- Auth: none declared
- TypeScript: <https://skmtc.dev/optimyzee/apis/optimyzee-api/docs/app/yelp/leads/oauth/callback/get.ts> (a function with typed inputs; its response is checked against the schema)

Yelp redirects the business owner's browser here (top-level, no app session)
after they authorize. We identify the connection from the signed `state`,
exchange the code, then bounce the browser back into the SPA.

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