Method: contentOwners.list
Stay organized with collections
Save and categorize content based on your preferences.
HTTP request
GET https://youtubepartner.googleapis.com/youtube/partner/v1/contentOwners
The URL uses gRPC Transcoding
syntax.
Query parameters
Parameters |
fetchMine
|
boolean
The fetchMine
parameter restricts the result set to content owners associated with the currently authenticated API user.
|
id
|
string
The id
parameter specifies a comma-separated list of YouTube content owner IDs to retrieve.
|
onBehalfOfContentOwner
|
string
The onBehalfOfContentOwner
parameter identifies the content owner that the user is acting on behalf of. This parameter supports users whose accounts are associated with multiple content owners.
|
Request body
The request body must be empty.
Response body
A list of content owners returned in response to a contentOwners.list
call.
If successful, the response body contains data with the following structure:
Fields |
kind
|
string
The type of the API response. For this operation, the value is youtubePartner#contentOwnerList
.
|
items[]
|
object ( ContentOwner
)
A list of content owners that match the request criteria.
|
Authorization scopes
Requires one of the following OAuth scopes:
-
https://www.googleapis.com/auth/youtubepartner
-
https://www.googleapis.com/auth/youtubepartner-content-owner-readonly
For more information, see the OAuth 2.0 Overview
.
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."],[[["\u003cp\u003eThis API endpoint retrieves a list of YouTube content owners based on specified criteria.\u003c/p\u003e\n"],["\u003cp\u003eThe request URL uses gRPC Transcoding syntax, and the request can be filtered by parameters such as \u003ccode\u003efetchMine\u003c/code\u003e, \u003ccode\u003eid\u003c/code\u003e, and \u003ccode\u003eonBehalfOfContentOwner\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and the HTTP method is \u003ccode\u003eGET\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe response body contains a list of content owners in JSON format, including the \u003ccode\u003ekind\u003c/code\u003e of response and the \u003ccode\u003eitems\u003c/code\u003e which are the content owners.\u003c/p\u003e\n"],["\u003cp\u003eAccessing this endpoint requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/youtubepartner\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/youtubepartner-content-owner-readonly\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["This document details how to retrieve a list of YouTube content owners using the `contentOwners.list` method. The `GET` request is sent to `https://youtubepartner.googleapis.com/youtube/partner/v1/contentOwners`. Optional query parameters include `fetchMine`, `id`, and `onBehalfOfContentOwner`. The request body must be empty. A successful response returns a JSON object containing a list of `contentOwner` resources under `items`, with `kind` as `youtubePartner#contentOwnerList`. Authorization requires either `youtubepartner` or `youtubepartner-content-owner-readonly` OAuth scopes.\n"],null,["# Method: contentOwners.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ContentOwnerListResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nRetrieves a list of [content owners](/youtube/partner/reference/rest/v1/contentOwners#resource) that match the request criteria.\n\n### HTTP request\n\n`GET https://youtubepartner.googleapis.com/youtube/partner/v1/contentOwners`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n| Parameters ||\n|--------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `fetchMine` | `boolean` The `fetchMine` parameter restricts the result set to content owners associated with the currently authenticated API user. |\n| `id` | `string` The `id` parameter specifies a comma-separated list of YouTube content owner IDs to retrieve. |\n| `onBehalfOfContentOwner` | `string` The `onBehalfOfContentOwner` parameter identifies the content owner that the user is acting on behalf of. This parameter supports users whose accounts are associated with multiple content owners. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nA list of content owners returned in response to a `contentOwners.list` call.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"items\": [ { object (/youtube/partner/reference/rest/v1/contentOwners#ContentOwner) } ] } ``` |\n\n| Fields ||\n|-----------|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` The type of the API response. For this operation, the value is `youtubePartner#contentOwnerList`. |\n| `items[]` | `object (`[ContentOwner](/youtube/partner/reference/rest/v1/contentOwners#ContentOwner)`)` A list of content owners that match the request criteria. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/youtubepartner`\n- `\n https://www.googleapis.com/auth/youtubepartner-content-owner-readonly`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]