---
title: "Youtube Oauth Callback"
method: GET
path: "/api/channels/youtube/oauth/callback"
tags: ["channels", "channels", "youtube"]
---

# Youtube Oauth Callback

`GET /api/channels/youtube/oauth/callback`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/channels/youtube/oauth/callback`
- Auth: none declared

Google redirect target. Closes the popup + posts a message to opener.

Auth here flows through the CSRF state stashed in Redis at
`start_oauth_flow` time — no JWT is sent on Google's redirect.

## Query parameters

- `code` string, nullable
- `state` string, nullable
- `error` string, nullable
- `error_description` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
