Skip to navigation

Get moderation rule by ID

This endpoint retrieves a single moderation rule using its unique identifier, including all of its category conditions.

How it works

  1. Send a GET request to this endpoint, replacing {ruleId} with the id of the moderation rule you want to retrieve. You can get this ID from the Get all moderation rules endpoint.

  2. The response returns the rule and its conditions.

Authentication

AuthorizationBasic

FastPix APIs are secured with Basic Authentication. Use your Access Token ID as the username and Secret Key as the password in the Authorization header of each API request.

  • Username: Access Token ID
  • Password: Secret Key

Activate your FastPix account to generate your API credentials. See the guide here

Path parameters

ruleIdstringRequiredformat: "uuid"
The unique identifier of the moderation rule.

Response

Moderation rule fetched successfully
successbooleanOptional
Shows the request status. Returns true for success and false for failure.
dataobjectOptional
A moderation rule and its category conditions.