Admin API / Mutations

connectYoutubeAccount

Link the caller's YouTube channel by redeeming a one-time Google auth code. Server-side exchange: the client secret never leaves the API, and no long-lived Google credential ever reaches a device.

Requires a client key with one of these scopes: admin:social:writeRequires this member role or higher: SELLER
connectYoutubeAccount(
  input: ConnectYoutubeAccountInput!
): ConnectYoutubeAccountPayload!

Arguments

ArgumentTypeDescription
inputConnectYoutubeAccountInput!The auth code to redeem.

Return type

ConnectYoutubeAccountPayload!