Page Summary
-
The
membersendpoint has replaced the deprecatedsponsorsendpoint as of March 31, 2020, with thesponsorsendpoint ceasing support after September 30, 2020, requiring API clients to update their calls. -
A
memberresource represents a YouTube channel member who provides recurring monetary support to a creator and receives exclusive benefits, such as access to members-only chat. -
The API's
members.listmethod allows channel owners to retrieve a list of their channel members, and it is available exclusively to individual creators for their own, channel-memberships-enabled YouTube channels. -
The
memberresource provides details in its snippet section, including the member's profile data, the creator channel ID, the membership's highest accessible level, and the overall duration of the membership, along with the duration at specific membership levels.
A member resource represents a channel member for a YouTube
channel. A member provides recurring monetary support to a creator and receives special
benefits. For example, members are able to chat when the creator turns on members-only mode for
a chat.
The following access restrictions apply:
- Access to the
membersandmembershipsLevelsendpoints is limited to YouTube creators who have a dedicated YouTube Partner Manager. - Access is granted at the channel level. Because of this channel-level allowlisting, the
youtube.channel-memberships.creatorOAuth scope does not go through the standard Google Cloud OAuth verification process.
Methods
The API supports the following methods for member resources:
- list
- Lists members (formerly known as "sponsors") for a channel. The API request must be authorized by the channel owner.
Resource representation
The following JSON structure shows the format of a member resource:
{
"kind": "youtube#member",
"etag": etag,
"snippet": {
"creatorChannelId": string,
"memberDetails": {
"channelId": string,
"channelUrl": string,
"displayName": string,
"profileImageUrl": string
},
"membershipsDetails": {
"highestAccessibleLevel": string,
"highestAccessibleLevelDisplayName": string,
"accessibleLevels": [
string
],
"membershipsDuration": {
"memberSince": datetime,
"memberTotalDurationMonths": integer,
},
"membershipsDurationAtLevel": [
{
"level": string,
"memberSince": datetime,
"memberTotalDurationMonths": integer,
}
]
}
}
}Properties
The following table defines the properties that appear in this resource:
| Properties | |
|---|---|
kind |
stringIdentifies the API resource's type. The value will be youtube#member. |