Method: claims.insert
Stay organized with collections
Save and categorize content based on your preferences.
Creates a claim. The video being claimed must have been uploaded to a channel associated with the same content owner as the API user sending the request. You can set the claim's policy in any of the following ways:
- Use the
claim
resource's policy
property to identify a saved policy by its unique ID.
- Use the
claim
resource's policy
property to specify a custom set of rules.
HTTP request
POST https://youtubepartner.googleapis.com/youtube/partner/v1/claims
The URL uses gRPC Transcoding
syntax.
Query parameters
Parameters |
isManualClaim
|
boolean
restricted
|
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 contains an instance of Claim
.
Response body
If successful, the response body contains a newly created instance of Claim
.
Authorization scopes
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/youtubepartner
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 webpage outlines how to create a claim for a YouTube video via the API, which must be uploaded to a channel associated with the same content owner as the user.\u003c/p\u003e\n"],["\u003cp\u003eClaims can be created by specifying a pre-existing policy ID or by defining a custom set of rules within the \u003ccode\u003eclaim\u003c/code\u003e resource's \u003ccode\u003epolicy\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request to create a claim is a POST request to \u003ccode\u003ehttps://youtubepartner.googleapis.com/youtube/partner/v1/claims\u003c/code\u003e, utilizing gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires parameters such as \u003ccode\u003eisManualClaim\u003c/code\u003e and \u003ccode\u003eonBehalfOfContentOwner\u003c/code\u003e, and the body must include an instance of the \u003ccode\u003eClaim\u003c/code\u003e resource, as detailed in the documentation.\u003c/p\u003e\n"],["\u003cp\u003eSuccessfully creating a claim will result in a response body containing a newly created instance of the \u003ccode\u003eClaim\u003c/code\u003e resource, and it also requires the \u003ccode\u003ehttps://www.googleapis.com/auth/youtubepartner\u003c/code\u003e authorization scope.\u003c/p\u003e\n"]]],["This API documentation details creating a claim for a video uploaded to a channel associated with the API user's content owner. A `POST` request is sent to `https://youtubepartner.googleapis.com/youtube/partner/v1/claims`. The request must include `isManualClaim` and `onBehalfOfContentOwner` query parameters. The request body specifies the `Claim`, and the response body returns the newly created `Claim`. Authorization requires the `https://www.googleapis.com/auth/youtubepartner` OAuth scope. A policy can be specified by referencing a saved policy ID or by defining a custom rule set.\n"],null,["# Method: claims.insert\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- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreates a claim. The video being claimed must have been uploaded to a channel associated with the same content owner as the API user sending the request. You can set the claim's policy in any of the following ways:\n\n- Use the `claim` resource's `policy` property to identify a saved policy by its unique ID.\n- Use the `claim` resource's `policy` property to specify a custom set of rules.\n\n\u003cbr /\u003e\n\n### HTTP request\n\n`POST https://youtubepartner.googleapis.com/youtube/partner/v1/claims`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n| Parameters ||\n|--------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `isManualClaim` | `boolean` restricted |\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 contains an instance of [Claim](/youtube/partner/reference/rest/v1/claims#Claim).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Claim](/youtube/partner/reference/rest/v1/claims#Claim).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/youtubepartner`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]