Reply to Comment
youtube_reply_to_commentPost a reply to a YouTube comment thread by providing the parent comment ID and reply text. The reply is added under the authenticated channel.
Instructions
Posts a reply to an existing top-level comment thread on behalf of the authenticated channel.
Args
parentId(string, required) — ID of the top-level comment thread to reply to.text(string, required) — Text of the reply (supports basic HTML entities).
Returns The newly created comment resource:
{
"id": "string",
"parentId": "string",
"authorDisplayName": "string",
"text": "string",
"publishedAt": "ISO-8601"
}Examples
Reply to a comment:
{ "parentId": "UgxABC123", "text": "Thank you for watching!" }
Errors
400 if
textis empty orparentIdis invalid.403 if the video has comments disabled or quota is exceeded.
404 if the parent comment does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parentId | Yes | ID of the top-level comment thread to reply to. | |
| text | Yes | Text content of the reply. |