Retrieves a list of members that match the request criteria for a channel.
The request must be authorized for a channel-memberships-enabled YouTube channel by the channel owner or by a user who selected that channel during OAuth consent and can view its revenue reports or manage its settings. Access is restricted to allowlisted projects; reach out to your YouTube Partner Manager to request access.
For method-specific error responses, see members.list errors.
HTTP request
GET https://youtube.googleapis.com/youtube/v3/members
The URL uses gRPC Transcoding syntax.
Query parameters
| Parameters | |
|---|---|
mode |
Specifies which channel members to return. The default value is
Valid values of this enum field are:
|
hasAccessToLevel |
Specifies a membership level ID that sets the minimum level members in the result set must have access to. Corresponds to the |
maxResults |
Specifies the maximum number of items returned in the result set. Acceptable values are |
pageToken |
Identifies a specific page in the result set to return. Use the Each token is specific to the |
filterByMemberChannelId |
Specifies a comma-separated list of YouTube channel IDs (for example, |
part[] |
Required. Specifies the |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"kind": string,
"etag": string,
"nextPageToken": string,
"items": [
{
object ( |
| Fields | |
|---|---|
kind |
Identifies what kind of resource this is. Value: the fixed string |
etag |
Etag of this resource. |
nextPageToken |
The token that can be used as the value of the |
items[] |
A list of members that match the request criteria. |
pageInfo |
The |
pageInfo.totalResults |
The total number of results in the result set. |
pageInfo.resultsPerPage |
The number of results included in the API response. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/youtube.channel-memberships.creator
For more information, see the OAuth 2.0 Overview.