Skip to main content
POST
Add rules of blocklist V3

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required
Content-Type
string
required

Body

application/json

Rules information to be added.

regexs
string[]
required
Required array length: 1 - 100 elements
Required string length: 1 - 500
isMatchExactWord
boolean
default:false
category
enum<string>
default:content

Which rule set a blacklist word belongs to. content rules are matched against user-generated content, user rules are matched against user profile fields. A word may exist once per category.

Available options:
content,
user

Response

OK

success
boolean