Post and Moderate a Comment Thread
A 2-step recipe with YouTube. We can help you get access.
Recipe · 2 steps
Post and Moderate a Comment Thread
with YouTube
Create a top-level comment and apply a moderation status to it.
- Create a new top-level comment thread on the video.
- Apply the requested moderation status to the newly created comment.
What you'll need to have ready
- apiKey: The Google API key used to authorize each YouTube Data API request.
- videoId: The id of the video to comment on.
- commentText: The text of the top-level comment to post.
- moderationStatus: The moderation status to apply (heldForReview, published, or rejected).
For your developer
Arazzo workflow youtube:post-and-moderate-comment, 2 operations: youtube.commentThreads.insert → youtube.comments.setModerationStatus. Specs on APIs.io.