Lists standard moderators for a live chat.
Requests must be authorized by the owner of the live chat's channel or a user with channel-level comment management permissions (such as a YouTube Studio Manager or Editor). Managing moderators and inactive channels are omitted from results.
For method-specific error responses, see liveChatModerators.list errors. For code examples, see liveChatModerators.list code snippets.
HTTP request
GET https://youtube.googleapis.com/youtube/v3/liveChat/moderators
The URL uses gRPC Transcoding syntax.
Query parameters
| Parameters | |
|---|---|
liveChatId |
Required. Specifies the YouTube live chat for which the API returns moderators. The live chat ID associated with a broadcast is returned in the liveBroadcast resource's |
maxResults |
Specifies the maximum number of items returned in the result set. Acceptable values are |
pageToken |
The |
part[] |
Required. 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,
"pageInfo": {
"totalResults": integer,
"resultsPerPage": integer
},
"nextPageToken": string,
"prevPageToken": string,
"items": [
{
object ( |
| Fields | |
|---|---|
kind |
Identifies what kind of resource this is. Value: the fixed string |
etag |
Etag of this resource. |
pageInfo |
General pagination information. |
pageInfo.totalResults |
The total number of results in the result set. |
pageInfo.resultsPerPage |
The number of results included in the API response. |
nextPageToken |
The token that can be used as the value of the |
prevPageToken |
The token that can be used as the value of the |
items[] |
A list of moderators that match the request criteria. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/youtubehttps://www.googleapis.com/auth/youtube.readonlyhttps://www.googleapis.com/auth/youtube.force-ssl
For more information, see the OAuth 2.0 Overview.