POST

Query Rules


Retrieves a list of rules, given the provided paging, filtering, and sorting.

  • createdDate is sorted in ASC order
  • paging.limit is 100
  • paging.offset is 0

Up to 1,000 rules can be returned per request.

For field support for filters and sorting, see Rules: Supported Filters and Sorting. To learn about working with Query endpoints, see API Query Language.

FieldSupported FiltersSort
id$eq, $ne, $inSort: ✗
createdDate$eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gteSort: ASC, DESC
updatedDate$eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gteSort: ASC, DESC
namespace$eq, $ne, $inSort: ✗
enabled$eq, $neSort: ✗
Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Moderation Rules
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/moderation/v1/rules/query

Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?