JavaScript
Execute moderation action
Execute a moderation action on one or more content items.
JavaScript
Documentation Index
Fetch the complete documentation index at: https://docs.moderationapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Input parameters
ID or key of the action to execute
IDs of the content items to apply the action to. Provide this or authorIds.
IDs of the authors to apply the action to. Provide this or contentIds.
Optional value to provide with the action
Optional queue ID if the action is queue-specific
Optional duration in milliseconds for actions with timeouts
Required range:
x >= 0Response
Action executed successfully
Execution result
Whether the action was executed successfully