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: SELLERconnectYoutubeAccount(
input: ConnectYoutubeAccountInput!
): ConnectYoutubeAccountPayload!Arguments
| Argument | Type | Description |
|---|---|---|
input | ConnectYoutubeAccountInput! | The auth code to redeem. |