Creates a reply to an existing comment. To add a top-level comment to a video or a post, use commentThreads.insert.
Comments on posts are in a pilot phase with access limited to select launch partners (approved Google Cloud projects). Broader public API access is planned for General Availability in 2027.
Provide a comment resource in the request body that sets snippet.parentId (required) to the ID of the parent comment and snippet.textOriginal (required) to the reply text.
For error details, see comments.insert errors. For code examples, see comments.insert code snippets.
HTTP request
POST https://youtube.googleapis.com/youtube/v3/comments
The URL uses gRPC Transcoding syntax.
Query parameters
| Parameters | |
|---|---|
part[] |
Required. The |
Request body
The request body contains an instance of Comment.
Response body
If successful, the response body contains a newly created instance of Comment.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/youtube.force-ssl
For more information, see the OAuth 2.0 Overview.