channels
channels
youtube

Youtube Setup

Start the BYO OAuth flow. Returns {auth_url, state}.

Frontend opens auth_url in a popup. Google redirects back to youtube_redirect_uri() with ?code=...&state=...; that route completes the flow.

post/api/channels/youtube/setup

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/setup
  • Auth: none declared

Request body

client_idstring required

GCP OAuth Client ID (workspace's BYO project)

client_secretstring required

GCP OAuth Client Secret

redirect_afterstring nullable

Optional URL the popup should redirect to after callback handling

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 5 revisions of this API.