Inbox comments

Set comment moderation status — estimate

Price the request without executing it. Same body as POST /v1/messaging/inbox/comments/{postId}/{commentId}/moderation.

post/v1/messaging/inbox/comments/{postId}/{commentId}/moderation/estimate

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/messaging/inbox/comments/{postId}/{commentId}/moderation/estimate
  • Auth: HTTP bearer

Path parameters

postIdstring required
commentIdstring required

Request body

platform'youtube' required

Only YouTube supports comment moderation

accountIdstring required

The account ID

banAuthorboolean

Also ban the comment's author, auto-rejecting their future comments. Only valid when moderationStatus is "rejected"; any other pairing is a 400.

moderationStatus'published' | 'rejected' | 'heldForReview' required

published approves the comment, rejected removes it, heldForReview returns it to the queue.

Response

Estimate

operationstring
estimated_creditsnumber
credits_to_reservenumber
estimated_usageobject
notestring nullable
sufficientboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.