Method: whitelists.listStay organized with collectionsSave and categorize content based on your preferences.
Page Summary
This endpoint retrieves a list of whitelisted YouTube channels associated with a specific content owner.
The HTTP request is aGETmethod to the provided URL, using gRPC Transcoding syntax.
Requests require parameters such asid(channel IDs),onBehalfOfContentOwner(content owner identification), andpageToken(for pagination) which can be specified as query parameters.
The request body must be empty, while a successful response returns a paginated JSON list of whitelist resources, including metadata likekind,pageInfo,items, andnextPageToken.
Authorization for this request requires thehttps://www.googleapis.com/auth/youtubepartnerOAuth scope.
Theidparameter specifies a comma-separated list of YouTube channel IDs that identify the whitelisted channels you want to retrieve.
onBehalfOfContentOwner
string
TheonBehalfOfContentOwnerparameter identifies the content owner that the user is acting on behalf of. This parameter supports users whose accounts are associated with multiple content owners.
pageToken
string
ThepageTokenparameter specifies a token that identifies a particular page of results to return. Set this parameter to the value of thenextPageTokenvalue from the previous API response to retrieve the next page of results.
Request body
The request body must be empty.
Response body
A paginated listwhitelistresources returned in response to awhitelist.listrequest.
If successful, the response body contains data with the following structure:
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[],["This document details how to retrieve a list of whitelisted YouTube channels for a content owner using a `GET` request to `https://youtubepartner.googleapis.com/youtube/partner/v1/whitelists`. Key actions include: using query parameters like `id` (comma-separated channel IDs), `onBehalfOfContentOwner` (content owner identifier), and `pageToken` (for pagination). The request body must be empty. The response body is a JSON object containing a paginated list of `whitelist` resources, with fields like `kind`, `pageInfo`, `items`, and `nextPageToken`. The request needs `https://www.googleapis.com/auth/youtubepartner` OAuth scope.\n"]]