Admin API / Types

ConnectYoutubeAccountInput

Input

Input for linking the caller's YouTube channel.

input ConnectYoutubeAccountInput

Input fields

FieldTypeDescription
redirectUriStringThe redirect URI that obtained the code. Send it only for a code from a web redirect sign-in: a code from a native sign-in has none. A value that is not the configured callback gives YoutubeAuthCodeRejectedError.
serverAuthCodeString!The one-time authorization code the client obtained with offline access.