capabilities.work

Moderate Comment Threads

A 2-step recipe with YouTube. We can help you get access.

Recipe · 2 steps

Moderate Comment Threads

with YouTube

Review held comments on a video and moderate the first one.

  1. List comment threads on the video that are currently held for review and capture the id of the first held top-level comment.
  2. Apply the requested moderation status to the first held top-level comment, optionally banning the author.
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 whose held comments should be moderated.
  • moderationStatus: The new moderation status to apply (heldForReview, published, or rejected).
  • banAuthor: Whether to ban the comment author from future comments.
For your developer

Arazzo workflow youtube:moderate-comment-threads, 2 operations: youtube.commentThreads.list → youtube.comments.setModerationStatus. Specs on APIs.io.